Difference between revisions of "Template:Tree-Group-Start/Documentation"

From War Thunder Wiki
Jump to: navigation, search
(Created page with "{{docpage}} This template is used for creating a header for a vehicle group. It is used in combination with the Template:Tree-Begin templates. You can use more than one folde...")
 
(Deprecated in favour of Template:Tree-Group)
 
Line 1: Line 1:
 
{{docpage}}
 
{{docpage}}
  
This template is used for creating a header for a vehicle group. It is used in combination with the Template:Tree-Begin templates. You can use more than one folder on a page.
+
This template is deprecated, please use [[Template:Tree-Group]].
 
Main rules of using the template:
 
{| class="wikitable" width="1000px"
 
!Example
 
!Code
 
!Result
 
|-
 
|width=400px|
 
This is how folders that merge vehicle groups are made:
 
# Insert the <code><nowiki>{{Tree-Group-Start}}</nowiki></code> template at the start.
 
# he vehicles combined into a group should be presented in the same order as in the client. There must be no spaces or <br> tags present. Use either the [[Template:Tree-Arrow]] or [[Template:Tree-Skip]] template for dividers.
 
# After that, insert the <code><nowiki>{{Tree-Group-End}}</nowiki></code> template. The in-game image code for the given group must be set for this template.
 
# Afterwards, the vehicles are presented in the same order as in the client.
 
|
 
<pre>{{Tree-Group-Start}}
 
{{Tree-Unit|f4f-3}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|f4f-4}}
 
{{Tree-Group-End|f4f_group|F4F}}</pre>
 
|style="text-align:center;vertical-align:top;height:170px;width:150px"|
 
{{Tree-Group-Start}}
 
{{Tree-Unit|f4f-3}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|f4f-4}}
 
{{Tree-Group-End|f4f_group|F4F}}
 
|-
 
|
 
The folders can contain any amount of vehicles.
 
|
 
<pre>{{Tree-Group-Start}}
 
{{Tree-Unit|p-63a-5}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|p-63a-10}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|p-63c-5}}
 
{{Tree-Group-End|p-63_group|P-63}}</pre>
 
|style="text-align:center;vertical-align:top;height:320px;"|
 
{{Tree-Group-Start}}
 
{{Tree-Unit|p-63a-5}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|p-63a-10}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|p-63c-5}}
 
{{Tree-Group-End|p-63_group|P-63}}
 
|-
 
|
 
It is possible for the folders to be positioned one under another.
 
|
 
<pre>{{Tree-Group-Start}}
 
{{Tree-Unit|p-47d}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|p-47d-28}}
 
{{Tree-Group-End|p-47_group|P-47}}
 
{{Tree-Arrow}}
 
{{Tree-Group-Start}}
 
{{Tree-Unit|p-63a-5}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|p-63a-10}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|p-63c-5}}
 
{{Tree-Group-End|p-63_group|P-63}}</pre>
 
|style="text-align:center;vertical-align:top;height:220px;"|
 
{{Tree-Group-Start}}
 
{{Tree-Unit|p-47d}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|p-47d-28}}
 
{{Tree-Group-End|p-47_group|P-47}}
 
{{Tree-Arrow}}
 
{{Tree-Group-Start}}
 
{{Tree-Unit|p-63a-5}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|p-63a-10}}
 
{{Tree-Arrow}}
 
{{Tree-Unit|p-63c-5}}
 
{{Tree-Group-End|p-63_group|P-63}}
 
|}
 

Latest revision as of 12:26, 22 November 2020

This template is deprecated, please use Template:Tree-Group.