Willkommen bei der Wargaming.net-Wiki!
Varianten

Vorlage:WoWs GD: Unterschied zwischen den Versionen

Wechseln zu: Navigation, Suche
Version vom 27. April 2021, 18:41 UhrAktuelle Version vom 27. April 2021, 19:20 Uhr
Fix wrong underscore
 
Zeile 1:Zeile 1:
 <includeonly>{{#vardefine:l_code|{{#if:{{{2|}}}|{{{2}}}|{{#var:code}}}}}}{{#vardefine:l_ts|{{#if:{{{3|}}}|{{{3}}}|{{#var:ts}}}}}}{{#vardefine:tsb|{{#ifeq:{{#var:l_ts}}|top|1|0}}}}{{#switch:{{{1}}}<!-- <includeonly>{{#vardefine:l_code|{{#if:{{{2|}}}|{{{2}}}|{{#var:code}}}}}}{{#vardefine:l_ts|{{#if:{{{3|}}}|{{{3}}}|{{#var:ts}}}}}}{{#vardefine:tsb|{{#ifeq:{{#var:l_ts}}|top|1|0}}}}{{#switch:{{{1}}}<!--
 Get the premium status of a ship Get the premium status of a ship
?-->|Прем={{#vardefine:tags|{{#shipchars:{{#var:1_code}}|tags}}}}{{#if:{{#pos:{{#var:tags}}|uiPremium}}|1|{{#if:{{#pos:{{#var:tags}}|uiSpecial}}|2|0}}}}+-->|Прем={{#vardefine:tags|{{#shipchars:{{#var:l_code}}|tags}}}}{{#if:{{#pos:{{#var:tags}}|uiPremium}}|1|{{#if:{{#pos:{{#var:tags}}|uiSpecial}}|2|0}}}}
 |Описание={{WoWs_str|IDS_{{#explode:{{#var:l_code}}|_|0}}_descr}} |Описание={{WoWs_str|IDS_{{#explode:{{#var:l_code}}|_|0}}_descr}}
 |Категория={{#vardefine:ctg|{{#shipchars:{{#var:l_code}}|tags}}}}{{#ifeq:{{#explode:{{#var:ctg}}|;|1}}|canRent|{{#explode:{{#var:ctg}}|;|2}}|{{#explode:{{#var:ctg}}|;|1}}}} |Категория={{#vardefine:ctg|{{#shipchars:{{#var:l_code}}|tags}}}}{{#ifeq:{{#explode:{{#var:ctg}}|;|1}}|canRent|{{#explode:{{#var:ctg}}|;|2}}|{{#explode:{{#var:ctg}}|;|1}}}}

Aktuelle Version vom 27. April 2021, 19:20 Uhr

Kategorie: