Шаблон:WoWs SC test — различия между версиями
Версия 09:43, 19 августа 2018 | Версия 09:46, 19 августа 2018 | |||
Строка 1: | Строка 1: | |||
<includeonly>{{#vardefine:ts|{{{1|}}}}}{{#vardefine:ship_name|{{#shipstr:{{#shipchars:{{#var:code}}|mark}}}}}}<div class="b-performance" id="{{#var:ts}}TTH" style="{{#ifeq:{{#var:ts}}|top|display:none;}} width: 300px"><div class="b-performance_border" style="padding: 0px"><div style="position: relative"> | <includeonly>{{#vardefine:ts|{{{1|}}}}}{{#vardefine:ship_name|{{#shipstr:{{#shipchars:{{#var:code}}|mark}}}}}}<div class="b-performance" id="{{#var:ts}}TTH" style="{{#ifeq:{{#var:ts}}|top|display:none;}} width: 300px"><div class="b-performance_border" style="padding: 0px"><div style="position: relative"> | |||
? | <div class="wows_ver"><span title="Актуальная версия данных">[[Ship:Обновление {{WoWs_CurrentVersion}}|{{WoWs_CurrentVersion}}]]</span></div><div class="b-performance_title b-performance_title__header">{{#var:ship_name}}{{{2|}}}</div></div><div style="position: relative; border-bottom: 1px solid #cfcfcf"">[[Файл:{{#var:ship_name}}_wows_main.jpg|298px]]</div><div class="b-performance_position" style="font-weight: bold; border-bottom: 1px solid #cfcfcf">[[Ship:{{WoWs_Class|{{#var:s_class}}|bm}}|{{WoWs_Class|{{#var:s_class}}|bs}}]] | [[Ship:Корабли {{WoWs_Nation|{{#var:nation}}|bv}}|{{WoWs_Nation|{{#var:nation}}|bi}}]] | {{Уровень|{{#var:level}}}} ур.</div><!-- | + | <div class="wows_ver"><span title="Актуальная версия данных">[[Ship:Обновление {{WoWs_CurrentVersion}}|{{WoWs_CurrentVersion}}]]</span></div><div class="b-performance_title b-performance_title__header">{{#var:ship_name}}<br /> | |
+ | {{{2|}}}</div></div><div style="position: relative; border-bottom: 1px solid #cfcfcf"">[[Файл:{{#var:ship_name}}_wows_main.jpg|298px]]</div><div class="b-performance_position" style="font-weight: bold; border-bottom: 1px solid #cfcfcf">[[Ship:{{WoWs_Class|{{#var:s_class}}|bm}}|{{WoWs_Class|{{#var:s_class}}|bs}}]] | [[Ship:Корабли {{WoWs_Nation|{{#var:nation}}|bv}}|{{WoWs_Nation|{{#var:nation}}|bi}}]] | {{Уровень|{{#var:level}}}} ур.</div><!-- | |||
Ветка | Ветка | |||
-->{{#ifeq:{{#rpos:{{#var:children}}|;}}|-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><td>[[Ship:{{#var:sc_name}}|{{#var:sc_name}}]]</td></tr><tr><td colspan="2">[[Файл:Arrow_down.png|link=]]</td></tr><tr span class="b-battles-levels_interval">}}<td>[[Файл:{{#var:ship_name}}_icon_small.png|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>|<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 span class="b-battles-levels_interval">}}<td>[[Файл:{{#var:ship_name}}_icon_small.png|link=]]</td><td>{{#var:ship_name}}</td>{{#if:{{#var:children}}|</tr><tr><td colspan="2">[[Файл:Arrow_down.png|link=]]</td></tr><tr><td colspan="2">{{#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>}}<!-- | -->{{#ifeq:{{#rpos:{{#var:children}}|;}}|-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><td>[[Ship:{{#var:sc_name}}|{{#var:sc_name}}]]</td></tr><tr><td colspan="2">[[Файл:Arrow_down.png|link=]]</td></tr><tr span class="b-battles-levels_interval">}}<td>[[Файл:{{#var:ship_name}}_icon_small.png|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>|<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 span class="b-battles-levels_interval">}}<td>[[Файл:{{#var:ship_name}}_icon_small.png|link=]]</td><td>{{#var:ship_name}}</td>{{#if:{{#var:children}}|</tr><tr><td colspan="2">[[Файл:Arrow_down.png|link=]]</td></tr><tr><td colspan="2">{{#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>}}<!-- |
Версия 09:46, 19 августа 2018
Категория: