Difference between revisions of "Template:Tree-Unit/Documentation"
(Added description of the new parameter - name) |
|||
| Line 4: | Line 4: | ||
The template must be defined by the following parameter: the in-game vehicle code. | The template must be defined by the following parameter: the in-game vehicle code. | ||
| − | |||
| − | |||
Example of use: | Example of use: | ||
| Line 21: | Line 19: | ||
|<code><nowiki>{{Tree-Unit|b_48_firecrest}}</nowiki></code><br> | |<code><nowiki>{{Tree-Unit|b_48_firecrest}}</nowiki></code><br> | ||
|{{Tree-Unit|b_48_firecrest}} | |{{Tree-Unit|b_48_firecrest}} | ||
| − | |||
| − | |||
| − | |||
|} | |} | ||
Latest revision as of 17:55, 18 July 2024
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}} |
|
{{Tree-Unit|us_m4_sherman_calliope}} |
|
{{Tree-Unit|b_48_firecrest}} |




