Difference between revisions of "Template:Tree-Unit-Prem"

From War Thunder Wiki
Jump to: navigation, search
(Created page with "<includeonly><div class="tree-item"><div class="tree-item-background">link={{#unit:{{{1|}}}|article}}</div><div class="tree-item-text"><span class="tree...")
 
m
Line 1: Line 1:
 
<includeonly><div class="tree-item"><div class="tree-item-background">[[File:Item_prem.png|link={{#unit:{{{1|}}}|article}}]]</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">https://encyclopedia.warthunder.com/slots/{{#unit:{{{1|}}}|image}}.png</div></div></includeonly><noinclude>
 
<includeonly><div class="tree-item"><div class="tree-item-background">[[File:Item_prem.png|link={{#unit:{{{1|}}}|article}}]]</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">https://encyclopedia.warthunder.com/slots/{{#unit:{{{1|}}}|image}}.png</div></div></includeonly><noinclude>
 
{{doc}}
 
{{doc}}
[[Категория:Trees]]</noinclude>
+
[[Category:Trees]]</noinclude>

Revision as of 11:49, 12 August 2018

The template inserts a navigating icon for a premium 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 researchable vehicle, use the Tree-Unit template.

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

Example of use:

Code Result

{{Tree-Unit-Prem|us_m4_sherman_calliope}}

Item prem.png
Calliope
us_m4_sherman_calliope.png