Changes

Created page with "<includeonly>{{#expr: {{{AA}}}*{{#switch: {{{Type}}}| HA Gun = 0.35| AAFD = 0.35| Radar = 0.4|T3 = 0.6| 46cm = 0.25| 0.2}}+{{#switch: {{{Type}}}| HA Gun = {{#ifexpr:{{{AA}}}>7..."
<includeonly>{{#expr: {{{AA}}}*{{#switch: {{{Type}}}| HA Gun = 0.35| AAFD = 0.35| Radar = 0.4|T3 = 0.6| 46cm = 0.25| 0.2}}+{{#switch: {{{Type}}}| HA Gun = {{#ifexpr:{{{AA}}}>7|3|2}}| AAFD = 2| Rdar = 1.5| 0}}*sqrt({{{Star|0}}}) round 2}}</includeonly><noinclude>

This template calculate the Adjusted Anti-Air of the equipment.
<pre>
{{Calc AdjAA/FleetAA
|AA= AA stat of the equipment
|Type= Equipment type only HA Gun, AAFD, Radar, AA Gun works
|Star= The improvement level of the equipment
}}
</pre>
Example:
<pre>
{{Calc AdjAA/FleetAA
|AA= 7
|Type= HA Gun
}}
</pre>
{{Calc AdjAA/FleetAA
|AA= 7
|Type= HA Gun
}}
5,561

edits