Difference between revisions of "Template:Tree-Unit-Squad/Documentation"

From War Thunder Wiki
Jump to: navigation, search
(Created page with "{{docpage}} The template inserts a navigating icon for a squadron vehicle into a table by placing a corresponding miniature copy and a link to a matching article in accordanc...")
 
m (Fixed typo)
 
Line 12: Line 12:
 
|-
 
|-
 
|
 
|
<code><nowiki>{{Tree-Uni-Squad|b_48_firecrest}}</nowiki></code><br>
+
<code><nowiki>{{Tree-Unit-Squad|b_48_firecrest}}</nowiki></code><br>
 
|
 
|
 
{{Tree-Unit-Squad|b_48_firecrest}}
 
{{Tree-Unit-Squad|b_48_firecrest}}
 
|}
 
|}

Latest revision as of 19:38, 9 July 2019

The template inserts a navigating icon for a squadron vehicle into a table by placing a corresponding miniature copy and a link to a matching article in accordance with the parser data. To create an icon for a premium vehicle, use the Tree-Unit-Prem template.

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

Example of use:

Code Result

{{Tree-Unit-Squad|b_48_firecrest}}

Item squad.png
Firecrest
b_48_firecrest.png