- 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 Tableline"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | <includeonly>|- | + | <includeonly>{{#vardefine:Icon | {{calc|!{{{Name}}}|?_icon}} }}{{#vardefine:AA | {{calc|!{{{Name}}}|?aa}} }} |
+ | |- | ||
|{{Equipment/Card|{{{Name}}}|small=true}} | |{{Equipment/Card|{{{Name}}}|small=true}} | ||
− | |{{ | + | |{{#var:AA}} |
− | |{{ | + | |{{#expr: {{#var:AA}}*{{#switch: {{#var:Icon}}| 16 = 4| 30 = 4| 11 = 3| 15 = 6| 0}} round 2}} |
− | |{{ | + | |{{#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}} round 2}} |
− | |{{ | + | |{{#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(2) round 2}} |
− | |{{ | + | |{{#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(3) round 2}} |
− | |{{ | + | |{{#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(4) round 2}} |
− | |{{ | + | |{{#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(5) round 2}} |
− | |{{ | + | |{{#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(6) round 2}} |
− | |{{ | + | |{{#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(7) round 2}} |
− | |{{ | + | |{{#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(8) round 2}} |
− | |{{ | + | |{{#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(9) round 2}} |
− | |{{ | + | |{{#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(10) round 2}}</includeonly><noinclude> |
This template create a line for a table which contain the Ship Adjusted AA of an equipment for all improvement level. | This template create a line for a table which contain the Ship Adjusted AA of an equipment for all improvement level. |
Latest revision as of 16:03, 9 September 2024
This template create a line for a table which contain the Ship Adjusted AA of an equipment for all improvement level.
{{Calc AdjAA/ShipAA Tableline |Name= (string) Name of the equipment }}
Example:
{{Calc AdjAA/Header}} {{Calc AdjAA/ShipAA Tableline |Name=10cm Twin High-angle Gun Mount }} |}
Name | Fleet Adjusted Anti-Air | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
0★ | 1★ | 2★ | 3★ | 4★ | 5★ | 6★ | 7★ | 8★ | 9★ | 10★ | ||
7 | 28 | 30 | 30.83 | 31.46 | 32 | 32.47 | 32.9 | 33.29 | 33.66 | 34 | 34.32 |