Добро пожаловать на Леста Игры Wiki!

Шаблон:BattleBalanceLine — различия между версиями

Перейти к: навигация, поиск
Версия 08:16, 27 августа 2013
Добавлена Е-25
Текущая версия на 05:44, 1 января 2018
Костыль для 3 уровня :(
 
не показаны 34 промежуточные версии 5 участников
Строка 1:Строка 1:
?<includeonly>{{#vardefine:tankCode|{{{code|{{{1|null}}}}}}}}{{#combatchars:{{#var:tankCode}}}}+<includeonly>{{#combatchars:{{{code|{{{1|null}}}}}}}}{{#gw_levels_bar:total=11|from={{#combatattr:minBattleLevel}}|to={{#ifexpr: {{#combatattr:maxBattleLevel}} = 5 and {{#combatattr:Level}} = 3 | 4 | {{#combatattr:maxBattleLevel}} }} }}</includeonly><noinclude>{{doc}}</noinclude>
?{{#ifeq:{{#combatattr:level}}| |{{#vardefine:arabLevel|0}}|{{#vardefine:arabLevel|{{#combatattr:level}}}}}}<!-- решительное нет авто BR+
?-->{{#vardefine:class|0}}{{#vardefine:min|0}}{{#vardefine:max|0}}<!--+
?-->{{#switch:{{#combatattr:class}}|lightTank={{#vardefine:class|1}}|mediumTank={{#vardefine:class|2}}|heavyTank={{#vardefine:class|3}}|AT-SPG={{#vardefine:class|5}}|SPG={{#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}}=2 and {{#var:class}}=4 |{{#vardefine:min|2}}{{#vardefine:max|3}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=2 and {{#var:class}}=5 |{{#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|5}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=3 and {{#var:class}}=4 |{{#vardefine:min|3}}{{#vardefine:max|5}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=3 and {{#var:class}}=5 |{{#vardefine:min|3}}{{#vardefine:max|5}}}}<!--+
? +
?-->{{#ifexpr:{{#var:arabLevel}}=4 and {{#var:class}}=1 |{{#vardefine:min|4}}{{#vardefine:max|8}}}}<!--+
?-->{{#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|6}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=4 and {{#var:class}}=5 |{{#vardefine:min|4}}{{#vardefine:max|6}}}}<!--+
? +
?-->{{#ifexpr:{{#var:arabLevel}}=5 and {{#var:class}}=1 |{{#vardefine:min|7}}{{#vardefine:max|12}}}}<!--+
?-->{{#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|7}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=5 and {{#var:class}}=5 |{{#vardefine:min|5}}{{#vardefine:max|7}}}}<!--+
? +
?-->{{#ifexpr:{{#var:arabLevel}}=6 and {{#var:class}}=1 |{{#vardefine:min|7}}{{#vardefine:max|11}}}}<!--+
?-->{{#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}}=6 and {{#var:class}}=5 |{{#vardefine:min|6}}{{#vardefine:max|8}}}}<!--+
? +
?-->{{#ifexpr:{{#var:arabLevel}}=7 and {{#var:class}}=1 |{{#vardefine:min|8}}{{#vardefine:max|11}}}}<!--+
?-->{{#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}}=7 and {{#var:class}}=5 |{{#vardefine:min|7}}{{#vardefine:max|9}}}}<!--+
? +
?-->{{#ifexpr:{{#var:arabLevel}}=8 and {{#var:class}}=1 |{{#vardefine:min|9}}{{#vardefine:max|12}}}}<!--+
?-->{{#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}}=8 and {{#var:class}}=5 |{{#vardefine:min|8}}{{#vardefine:max|10}}}}<!--+
? +
?-->{{#ifexpr:{{#var:arabLevel}}=9 and {{#var:class}}=2 |{{#vardefine:min|9}}{{#vardefine:max|11}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=9 and {{#var:class}}=3 |{{#vardefine:min|9}}{{#vardefine:max|11}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=9 and {{#var:class}}=4 |{{#vardefine:min|9}}{{#vardefine:max|11}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=9 and {{#var:class}}=5 |{{#vardefine:min|9}}{{#vardefine:max|11}}}}<!--+
? +
?-->{{#ifexpr:{{#var:arabLevel}}=10 and {{#var:class}}=2 |{{#vardefine:min|10}}{{#vardefine:max|12}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=10 and {{#var:class}}=3 |{{#vardefine:min|10}}{{#vardefine:max|12}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=10 and {{#var:class}}=4 |{{#vardefine:min|10}}{{#vardefine:max|12}}}}<!--+
?-->{{#ifexpr:{{#var:arabLevel}}=10 and {{#var:class}}=5 |{{#vardefine:min|10}}{{#vardefine:max|12}}}}<!--+
? +
?-->{{#ifeq:{{#var:tankCode}}|Bison_I|{{#vardefine:min|3}}{{#vardefine:max|5}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|T2_lt|{{#vardefine:min|2}}{{#vardefine:max|4}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|LTP|{{#vardefine:min|3}}{{#vardefine:max|4}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|M3_Stuart_LL|{{#vardefine:min|3}}{{#vardefine:max|4}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|BT-SV|{{#vardefine:min|3}}{{#vardefine:max|4}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|PzII_J|{{#vardefine:min|3}}{{#vardefine:max|4}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|T-50|{{#vardefine:min|5}}{{#vardefine:max|9}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|VK1602|{{#vardefine:min|5}}{{#vardefine:max|9}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|Valentine_LL|{{#vardefine:min|4}}{{#vardefine:max|4}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|B-1bis_captured|{{#vardefine:min|4}}{{#vardefine:max|4}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|AMX40|{{#vardefine:min|4}}{{#vardefine:max|6}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|ELC_AMX|{{#vardefine:min|6}}{{#vardefine:max|9}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|SU_85I|{{#vardefine:min|5}}{{#vardefine:max|7}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|PzIV_Hydro|{{#vardefine:min|5}}{{#vardefine:max|6}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|Churchill_LL|{{#vardefine:min|5}}{{#vardefine:max|6}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|Matilda_II_LL|{{#vardefine:min|5}}{{#vardefine:max|6}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|T14|{{#vardefine:min|5}}{{#vardefine:max|6}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|GB51_Excelsior|{{#vardefine:min|5}}{{#vardefine:max|6}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|KV-220|{{#vardefine:min|5}}{{#vardefine:max|6}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|KV-220_action|{{#vardefine:min|5}}{{#vardefine:max|6}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|M4A2E4|{{#vardefine:min|5}}{{#vardefine:max|6}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|Ch01_Type59|{{#vardefine:min|8}}{{#vardefine:max|9}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|M6A2E1|{{#vardefine:min|8}}{{#vardefine:max|10}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|Ch02_Type62|{{#vardefine:min|7}}{{#vardefine:max|10}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|KV-5|{{#vardefine:min|8}}{{#vardefine:max|9}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|Lowe|{{#vardefine:min|8}}{{#vardefine:max|10}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|Object252|{{#vardefine:min|8}}{{#vardefine:max|9}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|JagdTiger_SdKfz_185|{{#vardefine:min|8}}{{#vardefine:max|9}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|DickerMax|{{#vardefine:min|6}}{{#vardefine:max|8}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|T26_E4_SuperPershing|{{#vardefine:min|8}}{{#vardefine:max|9}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|Panther_M10|{{#vardefine:min|7}}{{#vardefine:max|8}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|GB68_Matilda_Black_Prince|{{#vardefine:min|5}}{{#vardefine:max|6}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|T-127|{{#vardefine:min|3}}{{#vardefine:max|4}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|GB04_Valentine|{{#vardefine:min|4}}{{#vardefine:max|6}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|GB60_Covenanter|{{#vardefine:min|4}}{{#vardefine:max|6}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|GB20_Crusader|{{#vardefine:min|5}}{{#vardefine:max|7}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|FCM_50t|{{#vardefine:min|8}}{{#vardefine:max|9}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|GB63_TOG_II|{{#vardefine:min|6}}{{#vardefine:max|7}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|PzI|{{#vardefine:min|2}}{{#vardefine:max|2}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|A-32|{{#vardefine:min|4}}{{#vardefine:max|5}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|PzV_PzIV|{{#vardefine:min|6}}{{#vardefine:max|7}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|PzV_PzIV_ausf_Alfa|{{#vardefine:min|6}}{{#vardefine:max|7}}}}<!--+
?-->{{#ifeq:{{#var:tankCode}}|E-25|{{#vardefine:min|7}}{{#vardefine:max|8}}}}<!--+
? +
?-->{{#ifexpr:{{#var:min}}>0 and {{#var:max}}>0|<table class="battleBalanceLine"><tr>+
?{{#vardefine:i|1}}+
?{{#while:+
?|{{#ifexpr:{{#var:i}}<13|true}}+
?|<td class="{{#ifexpr:{{#var:min}}<={{#var:i}} and {{#var:max}}>={{#var:i}}|active}}">{{#var:i}}</td>+
?{{#vardefine:i|{{#expr:{{#var:i}}+1}}}}+
?}}+
?</tr></table>|Данных нет}}</includeonly><noinclude>{{doc}}</noinclude>+

Текущая версия на 05:44, 1 января 2018

Документация

Использование

{{BattleBalanceLine|T-54}}
Результат
12345678910

Данные отсюда