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

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

Перейти к: навигация, поиск
Версия 01:51, 18 июля 2018Версия 01:52, 18 июля 2018
Строка 5:Строка 5:
 -->{{#ifeq:{{#var:ship_name}}|Omaha|{{#vardefine:modes_icons| {{#expr:{{#var:modes_icons|0}}+1}} }} }}<!--  -->{{#ifeq:{{#var:ship_name}}|Omaha|{{#vardefine:modes_icons| {{#expr:{{#var:modes_icons|0}}+1}} }} }}<!--
 -->{{#switch: {{#var:modes_icons|0}} -->{{#switch: {{#var:modes_icons|0}}
 + | 0 = <div style="padding: 7px; text-align: center"><table cellspacing="0" style="width: 100%; text-align: center"><tr>{{#if:{{#var:ancestors}}|<td>{{#vardefine:sc_i|0}}{{#while:|{{#if:{{#explode:{{#var:ancestors}}|;|{{#var:sc_i}}}}|true}}|{{#vardefine:sc_name|{{#shipstr:{{#shipchars:{{#explode:{{#var:ancestors}}|;|{{#var:sc_i}}}}|mark}}}}}}[[Файл:{{#var:sc_name}}_icon_small.png|{{#var:sc_name}}|link=Ship:{{#var:sc_name}}]]{{#vardefine:sc_i|{{#expr:{{#var:sc_i}}+1}}}}}}</td><td>[[Ship:{{#var:sc_name}}|{{#var:sc_name}}]]</td></tr><tr><td colspan="2">[[Файл:Arrow_down.png|link=]]</td></tr><tr>}}<td>[[Файл:{{#var:ship_name}}_icon_small.png|{{#var:ship_name}}|link=]]</td><td>'''{{#var:ship_name}}'''</td>{{#if:{{#var:children}}|</tr><tr><td colspan="2">[[Файл:Arrow_down.png|link=]]</td></tr><tr><td>{{#vardefine:sc_i|0}}{{#while:|{{#if:{{#explode:{{#var:children}}|;|{{#var:sc_i}}}}|true}}|{{#vardefine:sc_name|{{#shipstr:{{#shipchars:{{#explode:{{#var:children}}|;|{{#var:sc_i}}}}|mark}}}}}}[[Файл:{{#var:sc_name}}_icon_small.png|{{#var:sc_name}}|link=Ship:{{#var:sc_name}}]]{{#vardefine:sc_i|{{#expr:{{#var:sc_i}}+1}}}}}}</td><td>[[Ship:{{#var:sc_name}}|{{#var:sc_name}}]]</td>}}</tr></table></div>
  | 1 = <div style="padding: 7px; text-align: center"><table cellspacing="0" style="width: 100%; text-align: center"><tr>{{#if:{{#var:ancestors}}|<td>{{#vardefine:sc_i|0}}{{#while:|{{#if:{{#explode:{{#var:ancestors}}|;|{{#var:sc_i}}}}|true}}|{{#vardefine:sc_name|{{#shipstr:{{#shipchars:{{#explode:{{#var:ancestors}}|;|{{#var:sc_i}}}}|mark}}}}}}[[Файл:{{#var:sc_name}}_icon_small.png|{{#var:sc_name}}|link=Ship:{{#var:sc_name}}]]{{#vardefine:sc_i|{{#expr:{{#var:sc_i}}+1}}}}}}</td></tr><tr><td>[[Файл:Arrow_down.png|link=]]</td></tr><tr>}}<td>[[Файл:{{#var:ship_name}}_icon_small.png|{{#var:ship_name}}|link=]]</td>{{#if:{{#var:children}}|</tr><tr><td>[[Файл:Arrow_down.png|link=]]</td></tr><tr><td>{{#vardefine:sc_i|0}}{{#while:|{{#if:{{#explode:{{#var:children}}|;|{{#var:sc_i}}}}|true}}|{{#vardefine:sc_name|{{#shipstr:{{#shipchars:{{#explode:{{#var:children}}|;|{{#var:sc_i}}}}|mark}}}}}}[[Файл:{{#var:sc_name}}_icon_small.png|{{#var:sc_name}}|link=Ship:{{#var:sc_name}}]]{{#vardefine:sc_i|{{#expr:{{#var:sc_i}}+1}}}}}}</td>}}</tr></table></div>}}<!--  | 1 = <div style="padding: 7px; text-align: center"><table cellspacing="0" style="width: 100%; text-align: center"><tr>{{#if:{{#var:ancestors}}|<td>{{#vardefine:sc_i|0}}{{#while:|{{#if:{{#explode:{{#var:ancestors}}|;|{{#var:sc_i}}}}|true}}|{{#vardefine:sc_name|{{#shipstr:{{#shipchars:{{#explode:{{#var:ancestors}}|;|{{#var:sc_i}}}}|mark}}}}}}[[Файл:{{#var:sc_name}}_icon_small.png|{{#var:sc_name}}|link=Ship:{{#var:sc_name}}]]{{#vardefine:sc_i|{{#expr:{{#var:sc_i}}+1}}}}}}</td></tr><tr><td>[[Файл:Arrow_down.png|link=]]</td></tr><tr>}}<td>[[Файл:{{#var:ship_name}}_icon_small.png|{{#var:ship_name}}|link=]]</td>{{#if:{{#var:children}}|</tr><tr><td>[[Файл:Arrow_down.png|link=]]</td></tr><tr><td>{{#vardefine:sc_i|0}}{{#while:|{{#if:{{#explode:{{#var:children}}|;|{{#var:sc_i}}}}|true}}|{{#vardefine:sc_name|{{#shipstr:{{#shipchars:{{#explode:{{#var:children}}|;|{{#var:sc_i}}}}|mark}}}}}}[[Файл:{{#var:sc_name}}_icon_small.png|{{#var:sc_name}}|link=Ship:{{#var:sc_name}}]]{{#vardefine:sc_i|{{#expr:{{#var:sc_i}}+1}}}}}}</td>}}</tr></table></div>}}<!--
  Переключатель  Переключатель

Версия 01:52, 18 июля 2018

en:Template:WoWs_SC
Категория: