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...")
 
(Updated)
 
(One intermediate revision by one other user not shown)
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 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}}
 
|}
 
|}
  
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|xp-55}}</nowiki></code><br>
 +
<code><nowiki>{{Tree-Skip|5px}}</nowiki></code><br>
 +
<code><nowiki>{{Tree-Unit|p-51a_tl}}</nowiki></code>
 +
|
 +
{{Tree-Unit|xp-55}}
 +
{{Tree-Skip|5px}}
 +
{{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