Difference between revisions of "Template:Tree-Skip/Documentation"

From War Thunder Wiki
Jump to: navigation, search
(Added example of gap set manually)
(Updated)
 
Line 1: Line 1:
 
{{docpage}}
 
{{docpage}}
 +
 
The template creates a gap between the vehicles on the navigating pages that do not require the [[Template:Tree-Arrow]], i.e. between the premium and gift vehicles. By default, the height of the gap is set as 30px.
 
The template creates a gap between the vehicles on the navigating pages that do not require the [[Template:Tree-Arrow]], i.e. between the premium and gift vehicles. By default, the height of the gap is set as 30px.
 
   
 
   
Line 8: Line 9:
 
|-
 
|-
 
|
 
|
<code><nowiki>{{Tree-Unit-Prem|xp-55}}</nowiki></code><br>
+
<code><nowiki>{{Tree-Unit|xp-55}}</nowiki></code><br>
 
<code><nowiki>{{Tree-Skip}}</nowiki></code><br>
 
<code><nowiki>{{Tree-Skip}}</nowiki></code><br>
<code><nowiki>{{Tree-Unit-Prem|p-51a_tl}}</nowiki></code>
+
<code><nowiki>{{Tree-Unit|p-51a_tl}}</nowiki></code>
 
|
 
|
{{Tree-Unit-Prem|xp-55}}
+
{{Tree-Unit|xp-55}}
 
{{Tree-Skip}}
 
{{Tree-Skip}}
{{Tree-Unit-Prem|p-51a_tl}}
+
{{Tree-Unit|p-51a_tl}}
 
|}
 
|}
  
Line 23: Line 24:
 
|-
 
|-
 
|
 
|
<code><nowiki>{{Tree-Unit-Prem|xp-55}}</nowiki></code><br>
+
<code><nowiki>{{Tree-Unit|xp-55}}</nowiki></code><br>
 
<code><nowiki>{{Tree-Skip|5px}}</nowiki></code><br>
 
<code><nowiki>{{Tree-Skip|5px}}</nowiki></code><br>
<code><nowiki>{{Tree-Unit-Prem|p-51a_tl}}</nowiki></code>
+
<code><nowiki>{{Tree-Unit|p-51a_tl}}</nowiki></code>
 
|
 
|
{{Tree-Unit-Prem|xp-55}}
+
{{Tree-Unit|xp-55}}
 
{{Tree-Skip|5px}}
 
{{Tree-Skip|5px}}
{{Tree-Unit-Prem|p-51a_tl}}
+
{{Tree-Unit|p-51a_tl}}
 
|}
 
|}

Latest revision as of 12:15, 22 November 2020

The template creates a gap between the vehicles on the navigating pages that do not require the Template:Tree-Arrow, i.e. between the premium and gift vehicles. By default, the height of the gap is set as 30px.

Example of template use:

Code Result

{{Tree-Unit|xp-55}}
{{Tree-Skip}}
{{Tree-Unit|p-51a_tl}}

Item prem.png
XP-55
xp-55.png
Item prem.png
P-51A
p-51a_tl.png

If necessary, it is possible to set the gap height manually:

Code Result

{{Tree-Unit|xp-55}}
{{Tree-Skip|5px}}
{{Tree-Unit|p-51a_tl}}

Item prem.png
XP-55
xp-55.png
Item prem.png
P-51A
p-51a_tl.png