- 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 Tableline"
Jump to navigation
Jump to search
m |
|||
(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}} }} |
+ | |- | ||
|{{Equipment/Card|{{{Name}}}|small=true}} | |{{Equipment/Card|{{{Name}}}|small=true}} | ||
− | |{{ | + | |{{#var:AA}} |
− | |{{ | + | |{{#vardefine:Icon | {{calc|!{{{Name}}}|?_icon}} }}{{#vardefine:AA | {{calc|!{{{Name}}}|?aa}} }}{{#expr: {{#var:AA}}*{{#switch: {{#var:Icon}}| 16 = 0.35| 30 = 0.35| 11 = 0.4|12 = 0.6| 3 = 0.25| 0.2}} round 2}} |
− | |{{ | + | |{{#vardefine:Icon | {{calc|!{{{Name}}}|?_icon}} }}{{#vardefine:AA | {{calc|!{{{Name}}}|?aa}} }}{{#expr: {{#var:AA}}*{{#switch: {{#var:Icon}}| 16 = 0.35| 30 = 0.35| 11 = 0.4|12 = 0.6| 3 = 0.25| 0.2}}+{{#switch: {{#var:Icon}}| 16 = {{#ifexpr:{{#var:AA}}>7|3|2}}| 30 = 2| 11 = 1.5| 0}} round 2}} |
− | |{{ | + | |{{#vardefine:Icon | {{calc|!{{{Name}}}|?_icon}} }}{{#vardefine:AA | {{calc|!{{{Name}}}|?aa}} }}{{#expr: {{#var:AA}}*{{#switch: {{#var:Icon}}| 16 = 0.35| 30 = 0.35| 11 = 0.4|12 = 0.6| 3 = 0.25| 0.2}}+{{#switch: {{#var:Icon}}| 16 = {{#ifexpr:{{#var:AA}}>7|3|2}}| 30 = 2| 11 = 1.5| 0}}*sqrt(2) round 2}} |
− | |{{ | + | |{{#vardefine:Icon | {{calc|!{{{Name}}}|?_icon}} }}{{#vardefine:AA | {{calc|!{{{Name}}}|?aa}} }}{{#expr: {{#var:AA}}*{{#switch: {{#var:Icon}}| 16 = 0.35| 30 = 0.35| 11 = 0.4|12 = 0.6| 3 = 0.25| 0.2}}+{{#switch: {{#var:Icon}}| 16 = {{#ifexpr:{{#var:AA}}>7|3|2}}| 30 = 2| 11 = 1.5| 0}}*sqrt(3) round 2}} |
− | |{{ | + | |{{#vardefine:Icon | {{calc|!{{{Name}}}|?_icon}} }}{{#vardefine:AA | {{calc|!{{{Name}}}|?aa}} }}{{#expr: {{#var:AA}}*{{#switch: {{#var:Icon}}| 16 = 0.35| 30 = 0.35| 11 = 0.4|12 = 0.6| 3 = 0.25| 0.2}}+{{#switch: {{#var:Icon}}| 16 = {{#ifexpr:{{#var:AA}}>7|3|2}}| 30 = 2| 11 = 1.5| 0}}*sqrt(4) round 2}} |
− | |{{ | + | |{{#vardefine:Icon | {{calc|!{{{Name}}}|?_icon}} }}{{#vardefine:AA | {{calc|!{{{Name}}}|?aa}} }}{{#expr: {{#var:AA}}*{{#switch: {{#var:Icon}}| 16 = 0.35| 30 = 0.35| 11 = 0.4|12 = 0.6| 3 = 0.25| 0.2}}+{{#switch: {{#var:Icon}}| 16 = {{#ifexpr:{{#var:AA}}>7|3|2}}| 30 = 2| 11 = 1.5| 0}}*sqrt(5) round 2}} |
− | |{{ | + | |{{#vardefine:Icon | {{calc|!{{{Name}}}|?_icon}} }}{{#vardefine:AA | {{calc|!{{{Name}}}|?aa}} }}{{#expr: {{#var:AA}}*{{#switch: {{#var:Icon}}| 16 = 0.35| 30 = 0.35| 11 = 0.4|12 = 0.6| 3 = 0.25| 0.2}}+{{#switch: {{#var:Icon}}| 16 = {{#ifexpr:{{#var:AA}}>7|3|2}}| 30 = 2| 11 = 1.5| 0}}*sqrt(6) round 2}} |
− | |{{ | + | |{{#vardefine:Icon | {{calc|!{{{Name}}}|?_icon}} }}{{#vardefine:AA | {{calc|!{{{Name}}}|?aa}} }}{{#expr: {{#var:AA}}*{{#switch: {{#var:Icon}}| 16 = 0.35| 30 = 0.35| 11 = 0.4|12 = 0.6| 3 = 0.25| 0.2}}+{{#switch: {{#var:Icon}}| 16 = {{#ifexpr:{{#var:AA}}>7|3|2}}| 30 = 2| 11 = 1.5| 0}}*sqrt(7) round 2}} |
− | |{{ | + | |{{#vardefine:Icon | {{calc|!{{{Name}}}|?_icon}} }}{{#vardefine:AA | {{calc|!{{{Name}}}|?aa}} }}{{#expr: {{#var:AA}}*{{#switch: {{#var:Icon}}| 16 = 0.35| 30 = 0.35| 11 = 0.4|12 = 0.6| 3 = 0.25| 0.2}}+{{#switch: {{#var:Icon}}| 16 = {{#ifexpr:{{#var:AA}}>7|3|2}}| 30 = 2| 11 = 1.5| 0}}*sqrt(8) round 2}} |
− | |{{ | + | |{{#vardefine:Icon | {{calc|!{{{Name}}}|?_icon}} }}{{#vardefine:AA | {{calc|!{{{Name}}}|?aa}} }}{{#expr: {{#var:AA}}*{{#switch: {{#var:Icon}}| 16 = 0.35| 30 = 0.35| 11 = 0.4|12 = 0.6| 3 = 0.25| 0.2}}+{{#switch: {{#var:Icon}}| 16 = {{#ifexpr:{{#var:AA}}>7|3|2}}| 30 = 2| 11 = 1.5| 0}}*sqrt(9) round 2}} |
− | |{{ | + | |{{#vardefine:Icon | {{calc|!{{{Name}}}|?_icon}} }}{{#vardefine:AA | {{calc|!{{{Name}}}|?aa}} }}{{#expr: {{#var:AA}}*{{#switch: {{#var:Icon}}| 16 = 0.35| 30 = 0.35| 11 = 0.4|12 = 0.6| 3 = 0.25| 0.2}}+{{#switch: {{#var:Icon}}| 16 = {{#ifexpr:{{#var:AA}}>7|3|2}}| 30 = 2| 11 = 1.5| 0}}*sqrt(10) round 2}}</includeonly><noinclude> |
This template create a line for a table which contain the Fleet Adjusted AA of an equipment for all improvement level. | This template create a line for a table which contain the Fleet Adjusted AA of an equipment for all improvement level. | ||
Line 18: | Line 19: | ||
{{Calc AdjAA/FleetAA Tableline | {{Calc AdjAA/FleetAA Tableline | ||
|Name= (string) Name of the equipment | |Name= (string) Name of the equipment | ||
− | |||
− | |||
}} | }} | ||
</pre> | </pre> | ||
Example: | Example: | ||
<pre> | <pre> | ||
− | { | + | {{Calc AdjAA/Header}} |
− | |||
− | |||
− | |||
{{Calc AdjAA/FleetAA Tableline | {{Calc AdjAA/FleetAA Tableline | ||
|Name=10cm Twin High-angle Gun Mount | |Name=10cm Twin High-angle Gun Mount | ||
− | |||
− | |||
}} | }} | ||
|} | |} | ||
</pre> | </pre> | ||
− | { | + | {{Calc AdjAA/Header}} |
− | |||
− | |||
− | |||
{{Calc AdjAA/FleetAA Tableline | {{Calc AdjAA/FleetAA Tableline | ||
|Name=10cm Twin High-angle Gun Mount | |Name=10cm Twin High-angle Gun Mount | ||
− | |||
− | |||
}} | }} | ||
|} | |} |
Latest revision as of 16:07, 9 September 2024
This template create a line for a table which contain the Fleet Adjusted AA of an equipment for all improvement level.
{{Calc AdjAA/FleetAA Tableline |Name= (string) Name of the equipment }}
Example:
{{Calc AdjAA/Header}} {{Calc AdjAA/FleetAA 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 | 2.45 | 4.45 | 5.28 | 5.91 | 6.45 | 6.92 | 7.35 | 7.74 | 8.11 | 8.45 | 8.77 |