Welcome to Wargaming.net Wiki!
Variants

Difference between revisions of "Template:WoWs BattleLevels"

Jump to: navigation, search
Revision as of 11:42, 23 May 2016
Protected "Template:WoWs BattleLevels": Global template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
Latest revision as of 08:27, 11 July 2016
Replaced content with "<includeonly>{{#gw_levels_bar:total=10|from={{WoWs_GD|УровеньБоевМин|{{{1}}}}}|to={{WoWs_GD|УровеньБоевМакс|{{{1}}}}}}} </includeonly><noinclu..."
 
Line 1:Line 1:
?<includeonly>{{#vardefine:shipCode|{{{1|}}}}}{{#shipchars:{{#var:shipCode}}}}+<includeonly>{{#gw_levels_bar:total=10|from={{WoWs_GD|УровеньБоевМин|{{{1}}}}}|to={{WoWs_GD|УровеньБоевМакс|{{{1}}}}}}}
?{{#ifeq:{{#shipattr:level}}| |{{#vardefine:arabLevel|0}}|{{#vardefine:arabLevel|{{#shipattr:level}}}}}}<!--+
?-->{{#vardefine:class|0}}{{#vardefine:min|0}}{{#vardefine:max|0}}<!--+
?-->{{#switch:{{#shipattr:class}}|Cruiser={{#vardefine:class|1}}|Destroyer={{#vardefine:class|2}}|Battleship={{#vardefine:class|3}}|AirCarrier={{#vardefine:class|4}}}}<!--+
? +
?-->{{#ifexpr:{{#var:arabLevel}}=1 and {{#var:class}}=1 |{{#vardefine:min|1}}{{#vardefine:max|2}}}}<!--+
? +
?-->{{#ifexpr:{{#var:arabLevel}}=2 and {{#var:class}}=1 |{{#vardefine:min|2}}{{#vardefine:max|3}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=2 and {{#var:class}}=2 |{{#vardefine:min|2}}{{#vardefine:max|3}}}}<!--+
? +
?-->{{#ifexpr:{{#var:arabLevel}}=3 and {{#var:class}}=1 |{{#vardefine:min|3}}{{#vardefine:max|5}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=3 and {{#var:class}}=2 |{{#vardefine:min|3}}{{#vardefine:max|4}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=3 and {{#var:class}}=3 |{{#vardefine:min|3}}{{#vardefine:max|4}}}}<!--+
? +
?-->{{#ifexpr:{{#var:arabLevel}}=4 and {{#var:class}}=1 |{{#vardefine:min|4}}{{#vardefine:max|6}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=4 and {{#var:class}}=2 |{{#vardefine:min|4}}{{#vardefine:max|6}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=4 and {{#var:class}}=3 |{{#vardefine:min|4}}{{#vardefine:max|5}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=4 and {{#var:class}}=4 |{{#vardefine:min|4}}{{#vardefine:max|5}}}}<!--+
? +
?-->{{#ifexpr:{{#var:arabLevel}}=5 and {{#var:class}}=1 |{{#vardefine:min|5}}{{#vardefine:max|7}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=5 and {{#var:class}}=2 |{{#vardefine:min|5}}{{#vardefine:max|7}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=5 and {{#var:class}}=3 |{{#vardefine:min|5}}{{#vardefine:max|7}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=5 and {{#var:class}}=4 |{{#vardefine:min|5}}{{#vardefine:max|6}}}}<!--+
? +
?-->{{#ifexpr:{{#var:arabLevel}}=6 and {{#var:class}}=1 |{{#vardefine:min|6}}{{#vardefine:max|8}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=6 and {{#var:class}}=2 |{{#vardefine:min|6}}{{#vardefine:max|8}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=6 and {{#var:class}}=3 |{{#vardefine:min|6}}{{#vardefine:max|8}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=6 and {{#var:class}}=4 |{{#vardefine:min|6}}{{#vardefine:max|8}}}}<!--+
? +
?-->{{#ifexpr:{{#var:arabLevel}}=7 and {{#var:class}}=1 |{{#vardefine:min|7}}{{#vardefine:max|9}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=7 and {{#var:class}}=2 |{{#vardefine:min|7}}{{#vardefine:max|9}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=7 and {{#var:class}}=3 |{{#vardefine:min|7}}{{#vardefine:max|9}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=7 and {{#var:class}}=4 |{{#vardefine:min|7}}{{#vardefine:max|9}}}}<!--+
? +
?-->{{#ifexpr:{{#var:arabLevel}}=8 and {{#var:class}}=1 |{{#vardefine:min|8}}{{#vardefine:max|10}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=8 and {{#var:class}}=2 |{{#vardefine:min|8}}{{#vardefine:max|10}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=8 and {{#var:class}}=3 |{{#vardefine:min|8}}{{#vardefine:max|10}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=8 and {{#var:class}}=4 |{{#vardefine:min|8}}{{#vardefine:max|10}}}}<!--+
? +
?-->{{#ifexpr:{{#var:arabLevel}}=9 and {{#var:class}}=1 |{{#vardefine:min|9}}{{#vardefine:max|10}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=9 and {{#var:class}}=2 |{{#vardefine:min|9}}{{#vardefine:max|10}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=9 and {{#var:class}}=3 |{{#vardefine:min|9}}{{#vardefine:max|10}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=9 and {{#var:class}}=4 |{{#vardefine:min|9}}{{#vardefine:max|10}}}}<!--+
? +
?-->{{#ifexpr:{{#var:arabLevel}}=10 and {{#var:class}}=1 |{{#vardefine:min|10}}{{#vardefine:max|10}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=10 and {{#var:class}}=2 |{{#vardefine:min|10}}{{#vardefine:max|10}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=10 and {{#var:class}}=3 |{{#vardefine:min|10}}{{#vardefine:max|10}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=10 and {{#var:class}}=4 |{{#vardefine:min|10}}{{#vardefine:max|10}}}}<!--+
? +
?-->{{#ifeq:{{#var:shipCode}}|PJSB011_Mikasa_1905|{{#vardefine:min|2}}{{#vardefine:max|3}}}}<!--+
?-->{{#ifeq:{{#var:shipCode}}|PRSC001_Avrora_1917|{{#vardefine:min|3}}{{#vardefine:max|4}}}}<!--+
?-->{{#ifeq:{{#var:shipCode}}|PJSC026_Iwaki_1944|{{#vardefine:min|4}}{{#vardefine:max|5}}}}<!--+
?-->{{#ifeq:{{#var:shipCode}}|PJSC004_Yubari_1944|{{#vardefine:min|4}}{{#vardefine:max|5}}}}<!--+
?-->{{#ifeq:{{#var:shipCode}}|PJSB008_Ishizuchi_1921|{{#vardefine:min|4}}{{#vardefine:max|5}}}}<!--+
?-->{{#ifeq:{{#var:shipCode}}|PASB013_Arkansas_1912|{{#vardefine:min|4}}{{#vardefine:max|5}}}}<!--+
?-->{{#ifeq:{{#var:shipCode}}|PRSB001_Nikolay_I|{{#vardefine:min|4}}{{#vardefine:max|6}}}}<!--+
?-->{{#ifeq:{{#var:shipCode}}|PBSB002_Warspite_1941|{{#vardefine:min|6}}{{#vardefine:max|8}}}}<!--+
?-->{{#ifeq:{{#var:shipCode}}|PASD029_Sims_1941|{{#vardefine:min|7}}{{#vardefine:max|9}}}}<!--+
?-->{{#ifeq:{{#var:shipCode}}|PASC006_Atlanta_1942|{{#vardefine:min|7}}{{#vardefine:max|9}}}}<!--+
?-->{{#ifeq:{{#var:shipCode}}|PJSC014_Kitakami_1945|{{#vardefine:min|8}}{{#vardefine:max|9}}}}<!--+
?-->{{#ifeq:{{#var:shipCode}}|PGSB002_Tirpiz_1942|{{#vardefine:min|8}}{{#vardefine:max|10}}}}<!--+
?-->{{#gw_levels_bar:total=10|from={{#var:min}}|to={{#var:max}}}}+
 </includeonly><noinclude>{{Doc}}[[Category:WoWs templates]]</noinclude> </includeonly><noinclude>{{Doc}}[[Category:WoWs templates]]</noinclude>

Latest revision as of 08:27, 11 July 2016

Documentation‎
Category: