- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
Difference between revisions of "Template:Calc AdjAA/ShipAA"
Jump to navigation
Jump to search
(Created page with "<includeonly>{{#expr: {{{AA}}}*{{#switch: {{{Type}}}| HA Gun = 4| AAFD = 4| Radar = 3| AA Gun = 6| 0}}+{{#switch: {{{Type}}}| HA Gun = {{#ifexpr:{{{AA}}}>7|3|2}}| AAFD = 2| AA...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{# | + | <includeonly>{{#vardefine:Icon | {{calc|!{{{Name}}}|?_icon}} }}{{#vardefine:AA | {{calc|!{{{Name}}}|?aa}} }}{{#expr: {{#var:AA}}*{{#switch: {{#var:Icon}}| 16 = 4| 30 = 4| 11 = 3| 15 = 6| 0}}+{{#switch: {{#var:Icon}}| 16 = {{#ifexpr:{{#var:AA}}>7|3|2}}| 30 = 2| 15 = {{#ifexpr:{{#var:AA}}>7|6|4}}| 0}}*sqrt({{{Star|0}}}) round 2}}</includeonly><noinclude> |
This template calculate the Adjusted Anti-Air of the equipment. | This template calculate the Adjusted Anti-Air of the equipment. | ||
<pre> | <pre> | ||
{{Calc AdjAA/ShipAA | {{Calc AdjAA/ShipAA | ||
− | | | + | |Name= the name of the equipment |
− | |||
|Star= The improvement level of the equipment | |Star= The improvement level of the equipment | ||
}} | }} | ||
Line 12: | Line 11: | ||
<pre> | <pre> | ||
{{Calc AdjAA/ShipAA | {{Calc AdjAA/ShipAA | ||
− | | | + | |Name=10cm Twin High-angle Gun Mount |
− | | | + | |Star=5 |
}} | }} | ||
</pre> | </pre> | ||
{{Calc AdjAA/ShipAA | {{Calc AdjAA/ShipAA | ||
− | | | + | |Name= 10cm Twin High-angle Gun Mount |
− | | | + | |Star=5 |
}} | }} |
Latest revision as of 16:01, 9 September 2024
This template calculate the Adjusted Anti-Air of the equipment.
{{Calc AdjAA/ShipAA |Name= the name of the equipment |Star= The improvement level of the equipment }}
Example:
{{Calc AdjAA/ShipAA |Name=10cm Twin High-angle Gun Mount |Star=5 }}
32.47