Template:Tree-Unit/Documentation

From War Thunder Wiki
< Template:Tree-Unit
Revision as of 01:26, 5 September 2020 by blastedryan (talk | contribs) (update doc)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
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