Template:Tree-Unit/Documentation

From War Thunder Wiki
< Template:Tree-Unit
Revision as of 15:44, 18 July 2024 by Jareel_Skaj (talk | contribs) (Added description of the new parameter - name)

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.

The optional argument name can be used to denote the specific name of the vessel, for example when creating a historic version of the tech tree.

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
{{Tree-Unit|us_pt6|name=Higgins 81 ft PT-6}}
Item own.png
PT-6
us_pt6.png