Template:Tree-Group-Start

From War Thunder Wiki
Jump to: navigation, search

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.

Main rules of using the template:

Example Code Result

This is how folders that merge vehicle groups are made:

  1. Insert the {{Tree-Group-Start}} template at the start.
  2. he vehicles combined into a group should be presented in the same order as in the client. There must be no spaces or
    tags present. Use either the Template:Tree-Arrow or Template:Tree-Skip template for dividers.
  3. After that, insert the {{Tree-Group-End}} template. The in-game image code for the given group must be set for this template.
  4. Afterwards, the vehicles are presented in the same order as in the client.
{{Tree-Group-Start}}
{{Tree-Unit|f4f-3}}
{{Tree-Arrow}}
{{Tree-Unit|f4f-4}}
{{Tree-Group-End|f4f_group|F4F}}
Item own.png
F4F-3
f4f-3.png
Arrow.png
Item own.png
F4F-4
f4f-4.png
F4F
f4f_group.png

The folders can contain any amount of vehicles.

{{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}}
Item own.png
P-63A-5
p-63a-5.png
Arrow.png
Item own.png
P-63A-10
p-63a-10.png
Arrow.png
Item own.png
P-63C-5
p-63c-5.png
P-63
p-63_group.png

It is possible for the folders to be positioned one under another.

{{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}}
Item own.png
P-47D-25
p-47d.png
Arrow.png
Item own.png
P-47D-28
p-47d-28.png
P-47
p-47_group.png
Arrow.png
Item own.png
P-63A-5
p-63a-5.png
Arrow.png
Item own.png
P-63A-10
p-63a-10.png
Arrow.png
Item own.png
P-63C-5
p-63c-5.png
P-63
p-63_group.png