Modèle:Children : Différence entre versions
Version du 2 mai 2014 à 23:10 For CC children descriptions | Version actuelle en date du 7 octobre 2019 à 21:17 | |||
10 révisions intermédiaires par 2 utilisateurs non affichées | ||||
Ligne 4 : | Ligne 4 : | |||
|{{#vardefine:code|{{#explode:{{#var:list}}|;|{{#var:i}} }} }} | |{{#vardefine:code|{{#explode:{{#var:list}}|;|{{#var:i}} }} }} | |||
{{#if:{{#explode:{{#var:list}}|;|{{#expr:{{#var:i}}+1}} }} | {{#if:{{#explode:{{#var:list}}|;|{{#expr:{{#var:i}}+1}} }} | |||
? | | | + | |au [[Tank:{{#var:code}}|{{#wotstr:{{#combatchars:{{#var:code}}|mark}} }}]], | |
? | + | |{{#ifeq:{{#var:i}}|0|au [[Tank:{{#var:code}}|{{#wotstr:{{#combatchars:{{#var:code}}|mark}} }}]]. | ||
+ | |et au [[Tank:{{#var:code}}|{{#wotstr:{{#combatchars:{{#var:code}}|mark}} }}]].}}}} | |||
{{#vardefine:i|{{#expr:{{#var:i}}+1}}}} | {{#vardefine:i|{{#expr:{{#var:i}}+1}}}} | |||
}}</includeonly> | }}</includeonly> | |||
+ | <noinclude> | |||
+ | ==Usage== | |||
+ | Used for the end of the description of tank pages. Lists the children of the tank in proper English. | |||
+ | <pre> | |||
+ | {{Children|tankcode}} | |||
+ | </pre> | |||
+ | *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). | |||
+ | </noinclude> |
Version actuelle en date du 7 octobre 2019 à 21:17
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).