Difference between revisions of "Template:Tree-Arrow-Right"

From War Thunder Wiki
Jump to: navigation, search
(Created page with "<includeonly><div class="tree-arrow-right">https://wiki.warthunder.ru/images/b/b2/Arrow-left.png</div></includeonly><noinclude> {{doc}} Category:Trees</noinclude>")
 
(Added length 1 arrow-right)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly><div class="tree-arrow-right">https://wiki.warthunder.ru/images/b/b2/Arrow-left.png</div></includeonly><noinclude>
+
<includeonly>{{#switch:{{{1|}}}| 1 =<div class="tree-arrow-right">https://wiki.warthunder.ru/images/c/cb/Arrow-left-1.png</div>| #default =<div class="tree-arrow-right">https://wiki.warthunder.ru/images/b/b2/Arrow-left.png</div>}}</includeonly><noinclude>
 
{{doc}}
 
{{doc}}
 
[[Category:Trees]]</noinclude>
 
[[Category:Trees]]</noinclude>

Latest revision as of 21:21, 12 May 2020

This template is used to create arrows indicating the order of horizontal vehicle research on the navigating pages for helicopters and ships.

The template can be defined by one optional parameter, which sets arrow length (length cannot exceed 1 skipped cell).

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
{{Tree-Arrow-Right}} {{Tree-Arrow-Right|1}}
Arrow-left.png
Arrow-left-1.png