From WikiChip
Difference between revisions of "Template:arrow"

 
Line 1: Line 1:
[[File:arrow {{{1|right}}} {{{2|1}}}.svg|{{{3|{{#switch: {{{1|right}}} | left = 50px | right = 50px | up = 15px | down = 15px }}}}}]]
+
<includeonly>[[File:arrow {{{1|right}}} {{{3|1}}}.svg|{{{2|{{#switch: {{{1|right}}} | left = 50px | right = 50px | up = 15px | down = 15px }}}}}]]</includeonly><noinclude>
 +
Template adds a simple arrow:
 +
<pre>
 +
{{arrow}}                    - right arrow
 +
{{arrow|type}}                - type = right/left/up/down
 +
{{arrow|type|size}}          - type + size
 +
{{arrow|type|size|version}}  - type + size + version
 +
</pre>
 +
 
 +
Example: <code><nowiki>{{arrow|left|100px}}</nowiki></code> {{arrow|left|100px}}
 +
</noinclude>

Latest revision as of 20:40, 25 June 2017

Template adds a simple arrow:

{{arrow}}                     - right arrow
{{arrow|type}}                - type = right/left/up/down
{{arrow|type|size}}           - type + size
{{arrow|type|size|version}}   - type + size + version

Example: {{arrow|left|100px}} arrow left 1.svg