Difference between revisions of "User:U12017485/DPS"
(Created template for calculating naval DPS) |
(hopefully resolving the Expression error: Unexpected * operator.) |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | < | + | <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: Expression error: Unexpected < operator. == Expression error: Unexpected * operator.
Yugumo, 1 gun: Expression error: Unexpected * operator.
Helgoland, default guns: Expression error: Unexpected < operator.
Helgoland, 8 guns (broadside): Expression error: Unexpected * operator.
Helgoland, 1 gun: Expression error: Unexpected * operator.

