Modèle:Children : Différence entre versions
Version du 4 mai 2014 à 21:32 | Version du 5 mai 2014 à 04:28 | |||
Ligne 1 : | Ligne 1 : | |||
<includeonly> | <includeonly> | |||
? | {{#vardefine: list | {{#combatchars:{{{1|}}}|tanksAfter| }} }} | + | {{#ifeq:{{#combatchars:{{{1|}}}|gold}}|0 | |
? | {{#vardefine: i | 0}}{{#while:|{{#if:{{#explode:{{#var:list}}|;|{{#var:i}} }}|true}} | + | |{{#vardefine: list | {{#combatchars:{{{1|}}}|tanksAfter| }} }} | |
? | + | {{#vardefine: i | 0}}{{#while:|{{#if:{{#explode:{{#var:list}}|;|{{#var:i}} }}|true}} | ||
? | + | |{{#vardefine:code|{{#explode:{{#var:list}}|;|{{#var:i}} }} }} | ||
? | + | {{#if:{{#explode:{{#var:list}}|;|{{#expr:{{#var:i}}+1}} }} | ||
? | + | |the [[Tank:{{#wotstr:{{#combatchars:{{#var:code}}|mark}} }}|{{#wotstr:{{#combatchars:{{#var:code}}|mark}} }}]], | ||
? | + | |{{#ifeq:{{#var:i}}|0|the [[Tank:{{#wotstr:{{#combatchars:{{#var:code}}|mark}} }}|{{#wotstr:{{#combatchars:{{#var:code}}|mark}} }}]]. | ||
? | + | |and the [[Tank:{{#wotstr:{{#combatchars:{{#var:code}}|mark}} }}|{{#wotstr:{{#combatchars:{{#var:code}}|mark}} }}]].}}}} | ||
? | }}</includeonly> | + | {{#vardefine:i|{{#expr:{{#var:i}}+1}}}} | |
+ | }} | |||
+ | |}}</includeonly> | |||
<noinclude> | <noinclude> | |||
==Usage== | ==Usage== |
Version du 5 mai 2014 à 04:28
Usage
Used for the end of the description of tank pages. Lists the children of the tank in proper English.
{{Children|tankcode}}
- Tank code should be used to specify the tank. The tank codes are listed here: https://wiki.wargaming.net/ru/WoT:Коды_техники in the Code column (the 3rd column).