• 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/FleetAA"

From Kancolle Wiki
Jump to navigation Jump to search
(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...")
 
Line 1: Line 1:
<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>
+
<includeonly>{{#expr: {{calc|!{{{Name}}}|?aa}}*{{#switch: {{calc|!{{{Name}}}|?_icon}}| 16 = 0.35| 30 = 0.35| 11 = 0.4|12 = 0.6| 3 = 0.25| 0.2}}+{{#switch: {{calc|!{{{Name}}}|?_icon}}| 16 = {{#ifexpr:{{calc|!{{{Name}}}|?aa}}>7|3|2}}| 30 = 2| 11 = 1.5| 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/FleetAA
 
{{Calc AdjAA/FleetAA
|AA= AA stat of the equipment
+
|Name= The name of the equipment
|Type= Equipment type only HA Gun, AAFD, Radar, AA Gun works
 
 
|Star= The improvement level of the equipment
 
|Star= The improvement level of the equipment
 
}}
 
}}
Line 12: Line 11:
 
<pre>
 
<pre>
 
{{Calc AdjAA/FleetAA
 
{{Calc AdjAA/FleetAA
|AA= 7
+
|Name=10cm Twin High-angle Gun Mount
|Type= HA Gun
+
|Star=5
 
}}
 
}}
 
</pre>
 
</pre>
 
{{Calc AdjAA/FleetAA
 
{{Calc AdjAA/FleetAA
|AA= 7
+
|Name=10cm Twin High-angle Gun Mount
|Type= HA Gun
+
|Star=5
 
}}
 
}}

Revision as of 19:58, 6 September 2024


This template calculate the Adjusted Anti-Air of the equipment.

{{Calc AdjAA/FleetAA
|Name= The name of the equipment
|Star= The improvement level of the equipment
}}

Example:

{{Calc AdjAA/FleetAA
|Name=10cm Twin High-angle Gun Mount
|Star=5
}}

6.92