Difference between revisions of "Template:Tree-Arrow"
(Added support for up to 8 skips. Previously it only supported 6, so the US tech tree broke (it needs 7) added 8 for future proofing.) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{#switch:{{{1|}}}|1=<div class="tree-arrow">https://wiki.warthunder. | + | <includeonly>{{#switch:{{{1|}}}|1=<div class="tree-arrow">https://wiki.warthunder.com/images/a/a1/Arrow_tail.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/0/03/Arrow_head.png</div>|2=<div class="tree-arrow">https://wiki.warthunder.com/images/a/a1/Arrow_tail.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/0/03/Arrow_head.png</div>| 3 =<div class="tree-arrow">https://wiki.warthunder.com/images/a/a1/Arrow_tail.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/0/03/Arrow_head.png</div>| 4 =<div class="tree-arrow">https://wiki.warthunder.com/images/a/a1/Arrow_tail.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/0/03/Arrow_head.png</div>| 5 =<div class="tree-arrow">https://wiki.warthunder.com/images/a/a1/Arrow_tail.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/0/03/Arrow_head.png</div>| 6 =<div class="tree-arrow">https://wiki.warthunder.com/images/a/a1/Arrow_tail.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/0/03/Arrow_head.png</div>| 7 =<div class="tree-arrow">https://wiki.warthunder.com/images/a/a1/Arrow_tail.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/0/03/Arrow_head.png</div>| 8 =<div class="tree-arrow">https://wiki.warthunder.com/images/a/a1/Arrow_tail.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/c/c2/Arrow_center_small.png<br>https://wiki.warthunder.com/images/e/e8/Arrow_center.png<br>https://wiki.warthunder.com/images/0/03/Arrow_head.png</div>| #default =<div class="tree-arrow">https://wiki.warthunder.com/images/4/41/Arrow.png</div>}}</includeonly><noinclude> |
{{doc}} | {{doc}} | ||
[[Category:Trees]]</noinclude> | [[Category:Trees]]</noinclude> |
Latest revision as of 07:44, 23 January 2023
This template is used to create arrows indicating the order of vehicle research on the navigating pages.
The template can be defined by one optional parameter, which sets arrow length (length cannot exceed 8 skipped cells).
If no arrow is required to be placed in between the vehicles (like in between premium and gift vehicles, for example), use the Tree-Skip.
Example of template use:
Setting no parameter will result in a simple transition to the next vehicle | Setting parameter 1 will result in one vehicle cell skipped | Setting parameter 2 will result in two vehicle cells skipped | Setting parameter 3 will result in three vehicle cells skipped | Setting parameter 4 will result in four vehicle cells skipped |
---|---|---|---|---|
{{Tree-Arrow}}
|
{{Tree-Arrow|1}}
|
{{Tree-Arrow|2}}
|
{{Tree-Arrow|3}}
|
{{Tree-Arrow|4}}
|
|
|
|
|