Template:Tree-Unit

From War Thunder Wiki
Revision as of 16:37, 9 June 2019 by Inceptor57 (talk | contribs) (Edit turns every premium into a gold background, ex. the LVTA4 ZIS2, M24 TL, and E-100 which do not have gold backgrounds (are not premiums))

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