Difference between revisions of "Template:Tree-Group"
(Created page with "<includeonly><div style="position:relative;"><div class="tree-group-collapse">{{{3|}}}</div> <div class="tree-group"><div class="tree-group-text"><span class="tree-item-text-s...") |
|||
Line 1: | Line 1: | ||
<includeonly><div style="position:relative;"><div class="tree-group-collapse">{{{3|}}}</div> | <includeonly><div style="position:relative;"><div class="tree-group-collapse">{{{3|}}}</div> | ||
− | <div class="tree-group"><div class="tree-group-text"><span class="tree-item-text-scroll">{{{2|}}}</span></div><div class="tree-group-img">{{#if:{{{1|}}}|https://encyclopedia.warthunder.com/slots/{{{1|}}}.png}}</div></div></div></includeonly><noinclude> | + | <div class="tree-group"><div class="tree-group-text"><span class="tree-item-text-scroll">{{{2|}}}</span></div><div class="tree-group-img">{{#if:{{{1|}}}|https://encyclopedia.warthunder.com/i/slots/{{{1|}}}.png}}</div></div></div></includeonly><noinclude> |
{{doc}} | {{doc}} | ||
[[Category:Trees]]</noinclude> | [[Category:Trees]]</noinclude> |
Latest revision as of 18:24, 5 February 2024
This template is used for creating a vehicle group. You can use more than one folder on a page.
Main rules of using the template:
Example | Code | Result |
---|---|---|
Three parameters are required:
|
{{Tree-Group|f4f_group|F4F| {{Tree-Unit|f4f-3}} {{Tree-Arrow}} {{Tree-Unit|f4f-4}} }} |
|
The folders can contain any amount of vehicles. |
{{Tree-Group|p-63_group|P-63| {{Tree-Unit|p-63a-5}} {{Tree-Arrow}} {{Tree-Unit|p-63a-10}} {{Tree-Arrow}} {{Tree-Unit|p-63c-5}} }} |
|
It is possible for the folders to be positioned one under another. |
{{Tree-Group|p-47_group|P-47| {{Tree-Unit|p-47d}} {{Tree-Arrow}} {{Tree-Unit|p-47d-28}} }} {{Tree-Arrow}} {{Tree-Group|p-63_group|P-63| {{Tree-Unit|p-63a-5}} {{Tree-Arrow}} {{Tree-Unit|p-63a-10}} {{Tree-Arrow}} {{Tree-Unit|p-63c-5}} }} |