Difference between revisions of "User:Jareel_Skaj/DPS"

From War Thunder Wiki
Jump to: navigation, search
(Added option to define a custom number of guns)
(hopefully resolving the Expression error: Unexpected * operator.)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#expr: {{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|amount}} * {{{3|{{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|guns}}}}} * {{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|firerate}} * {{{2}}} round 2}}<includeonly><noinclude>{{User:U12017485/DPS|jp_destroyer_yugumo|2.31}}</noinclude>
+
<noinclude>How to use: <kbd><nowiki>{{</nowiki>User:U12017485/DPS|<explosive filler>|<(optional) number of guns in all relevant turrets>}}</kbd>
 +
 
 +
[[Yugumo]]: {{User:U12017485/DPS|jp_destroyer_yugumo|2.31}} == {{User:U12017485/DPS|jp_destroyer_yugumo|2.31|6}}<br />
 +
Yugumo, 1 gun: {{User:U12017485/DPS|jp_destroyer_yugumo|2.31|1}}
 +
 
 +
[[SMS Helgoland|Helgoland]], default guns: {{User:U12017485/DPS|germ_battleship_helgoland|13.6}}<br />
 +
Helgoland, 8 guns (broadside): {{User:U12017485/DPS|germ_battleship_helgoland|13.6|8}}<br />
 +
Helgoland, 1 gun: {{User:U12017485/DPS|germ_battleship_helgoland|13.6|1}}
 +
 
 +
<!-- Code for debugging: Guns: {{{3|{{#expr: {{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|amount}} * {{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|guns}} }}}}} in slot {{{group|main}}} {{{slot|1}}} RoF {{{rof|{{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|firerate}}}}} -->
 +
</noinclude><includeonly>{{#expr:
 +
    {{#if:{{{3|}}}|{{{3}}}|{{#expr:
 +
      {{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|amount}}*{{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|guns}}
 +
    }}}}
 +
    *
 +
    {{#expr:
 +
        {{{rof|
 +
            {{#unit:{{{1}}}|weapon|{{{group|main}}}|{{{slot|1}}}|firerate}}
 +
        }}}
 +
    }}
 +
    *
 +
    {{#expr:{{{2}}}}}
 +
    round 2
 +
}}<includeonly>

Latest revision as of 14:02, 23 February 2023

How to use: {{User:U12017485/DPS|<explosive filler>|<(optional) number of guns in all relevant turrets>}}

Yugumo: 138.6 == 138.6
Yugumo, 1 gun: 23.1

Helgoland, default guns: 652.8
Helgoland, 8 guns (broadside): 435.2
Helgoland, 1 gun: 54.4