Difference between revisions of "Template:Tree-Unit-Squad"
(Created page with "<includeonly><div class="tree-item"><div class="tree-item-background">link={{#unit:{{{1|}}}|article}}|class=tree-item-js</div><div class="tree-item-tex...") |
|||
Line 1: | Line 1: | ||
− | <includeonly><div class="tree-item"><div class="tree-item-background">[[File:Item_squad.png|link={{#unit:{{{1|}}}|article}}|class=tree-item-js]]</div><div class="tree-item-text"><span class="tree-item-text-scroll">{{#if:{{#unit:{{{1|}}}|pseudonym}}|{{#unit:{{{1|}}}|pseudonym}}|{{{1|}}}}}</span></div><div class="tree-item-img"> | + | <includeonly><div class="tree-item"><div class="tree-item-background">[[File:Item_squad.png|link={{#unit:{{{1|}}}|article}}|class=tree-item-js]]</div><div class="tree-item-text"><span class="tree-item-text-scroll">{{#if:{{#unit:{{{1|}}}|pseudonym}}|{{#unit:{{{1|}}}|pseudonym}}|{{{1|}}}}}</span></div><div class="tree-item-img">{{#unit:{{{1|}}}|icon}}</div></div></includeonly><noinclude> |
{{doc}} | {{doc}} | ||
[[Category:Trees]]</noinclude> | [[Category:Trees]]</noinclude> |
Latest revision as of 14:42, 11 November 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 |
---|---|
|