Welcome to Wargaming.net Wiki!
Variants

Difference between revisions of "Template:Children"

Jump to: navigation, search
Revision as of 04:32, 5 May 2014
Protected "Template:Children" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
Latest revision as of 20:02, 11 May 2014
changed to code naming scheme. Can change back if we don't like it (I'm not a fan).
 
Line 4:Line 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}} }}
? |the [[Tank:{{#wotstr:{{#combatchars:{{#var:code}}|mark}} }}|{{#wotstr:{{#combatchars:{{#var:code}}|mark}} }}]], + |the [[Tank:{{#var:code}}|{{#wotstr:{{#combatchars:{{#var:code}}|mark}} }}]], 
? |{{#ifeq:{{#var:i}}|0|the [[Tank:{{#wotstr:{{#combatchars:{{#var:code}}|mark}} }}|{{#wotstr:{{#combatchars:{{#var:code}}|mark}} }}]].+ |{{#ifeq:{{#var:i}}|0|the [[Tank:{{#var:code}}|{{#wotstr:{{#combatchars:{{#var:code}}|mark}} }}]].
? |and the [[Tank:{{#wotstr:{{#combatchars:{{#var:code}}|mark}} }}|{{#wotstr:{{#combatchars:{{#var:code}}|mark}} }}]].}}}}+ |and the [[Tank:{{#var:code}}|{{#wotstr:{{#combatchars:{{#var:code}}|mark}} }}]].}}}}
  {{#vardefine:i|{{#expr:{{#var:i}}+1}}}}   {{#vardefine:i|{{#expr:{{#var:i}}+1}}}}
 }}</includeonly> }}</includeonly>

Latest revision as of 20:02, 11 May 2014


Usage

Used for the end of the description of tank pages. Lists the children of the tank in proper English.

{{Children|tankcode}}