Template:Tree-Unit

From War Thunder Wiki
Revision as of 16:23, 9 June 2019 by blastedryan (talk | contribs) (this should remove the need for template:tree-unit-prem with the #unit:|gift automatically choosing the right background)

Jump to: navigation, search

The template inserts a navigating icon for a vehicle into a table by placing a corresponding miniature copy and a link to a matching article in accordance with the parser data.

The template must be defined by the following parameter: the in-game vehicle code.

Example of use:

Code Result
{{Tree-Unit|us_m4a2_sherman}}
Item own.png
M4A2
us_m4a2_sherman.png
{{Tree-Unit|us_m4_sherman_calliope}}
Item prem.png
Calliope
us_m4_sherman_calliope.png
{{Tree-Unit|b_48_firecrest}}
Item squad.png
Firecrest
b_48_firecrest.png