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

From War Thunder Wiki
Jump to: navigation, search
(Created page with "{{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...")
 
(Added example of gap set manually)
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.
+
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:
 
Example of template use:
Line 17: Line 17:
 
|}
 
|}
  
If necessary, it is possible to set the gap height manually. Example: {{Tree-Skip|10px}}. By default, the height of the gap is set as 30px.
+
If necessary, it is possible to set the gap height manually:  
 +
{| class="wikitable"
 +
! Code
 +
! Result
 +
|-
 +
|
 +
<code><nowiki>{{Tree-Unit-Prem|xp-55}}</nowiki></code><br>
 +
<code><nowiki>{{Tree-Skip|5px}}</nowiki></code><br>
 +
<code><nowiki>{{Tree-Unit-Prem|p-51a_tl}}</nowiki></code>
 +
|
 +
{{Tree-Unit-Prem|xp-55}}
 +
{{Tree-Skip|5px}}
 +
{{Tree-Unit-Prem|p-51a_tl}}
 +
|}

Revision as of 11:23, 17 April 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-Prem|xp-55}}
{{Tree-Skip}}
{{Tree-Unit-Prem|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-Prem|xp-55}}
{{Tree-Skip|5px}}
{{Tree-Unit-Prem|p-51a_tl}}

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