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}} |
− | |{{calc|!{{{Name}}}|?aa}} | + | |{{#var:AA}} |
− | |{{Calc AdjAA/FleetAA|Name={{{Name}}}|Star=0}} | + | |{{#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}} |
− | |{{Calc AdjAA/FleetAA|Name={{{Name}}}|Star=1}} | + | |{{#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}} |
− | |{{Calc AdjAA/FleetAA|Name={{{Name}}}|Star=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}} |
− | |{{Calc AdjAA/FleetAA|Name={{{Name}}}|Star=3}} | + | |{{#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}} |
− | |{{Calc AdjAA/FleetAA|Name={{{Name}}}|Star=4}} | + | |{{#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}} |
− | |{{Calc AdjAA/FleetAA|Name={{{Name}}}|Star=5}} | + | |{{#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}} |
− | |{{Calc AdjAA/FleetAA|Name={{{Name}}}|Star=6}} | + | |{{#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}} |
− | |{{Calc AdjAA/FleetAA|Name={{{Name}}}|Star=7}}
| + | |{{#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}} |
− | |{{Calc AdjAA/FleetAA|Name={{{Name}}}|Star=8}} | + | |{{#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}} |
− | |{{Calc AdjAA/FleetAA|Name={{{Name}}}|Star=9}} | + | |{{#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}} |
− | |{{Calc AdjAA/FleetAA|Name={{{Name}}}|Star=10}}</includeonly><noinclude> | + | |{{#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. |