Template:Arrow: Difference between revisions

(Created page with "<includeonly><!-- -->{{#if:{{{101|}}}|<span style="color: red;"><em>ERROR! Array template supports only up to 100 arrows!</em></span>|<!-- -->{{#if:{{{1|}}}|{{#switch:{{{1|}}}|1=↙|2=↓|3=↘|4=←|5=X|6=→|7=↖|8=↑|9=↗}} <!-- -->{{#if:{{{2|}}}|{{#switch:{{{2|}}}|1=↙|2=↓|3=↘|4=←|5=X|6=→|7=↖|8=↑|9...")
 
m (Add to category)
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
-->{{#if:{{{101|}}}|<span style="color: red;"><em>ERROR! Array template supports only up to 100 arrows!</em></span>|<!--
-->{{#if:{{{101|}}}|<span style="color: red;"><em>ERROR! Array template supports only up to 100 arrows!</em></span>|<!--
-->{{#if:{{{1|}}}|{{#switch:{{{1|}}}|1=&LowerLeftArrow;|2=&DownArrow;|3=&LowerRightArrow;|4=&LeftArrow;|5=X|6=&RightArrow;|7=&UpperLeftArrow;|8=&UpArrow;|9=&UpperRightArrow;}} <!--
-->{{#if:{{{1|}}}|{{#switch:{{{1|}}}|1=&LowerLeftArrow;|2=&DownArrow;|3=&LowerRightArrow;|4=&LeftArrow;|5=X|6=&RightArrow;|7=&UpperLeftArrow;|8=&UpArrow;|9=&UpperRightArrow;}}&ensp;}}<!--
-->{{#if:{{{2|}}}|{{#switch:{{{2|}}}|1=&LowerLeftArrow;|2=&DownArrow;|3=&LowerRightArrow;|4=&LeftArrow;|5=X|6=&RightArrow;|7=&UpperLeftArrow;|8=&UpArrow;|9=&UpperRightArrow;}} <!--
-->{{#
-->{{#if:{{{3|}}}|{{#switch:
-->}}<!--
-->}}<!--
--></includeonly><noinclude>
--></includeonly><noinclude>
'''Arrow''' is a template designed for solutions in puzzle games that involve swiping and other types of motion such as dragging.
== Example ==
<code><nowiki>{{Arrow|1|2|3|4|5|6|7|8|9|1|2|3|4|5|6|7|8|9}}</nowiki></code><br>
{{Arrow|1|2|3|4|5|6|7|8|9|1|2|3|4|5|6|7|8|9}}
{{Arrow|1|2|3|4|5|6|7|8|9|1|2|3|4|5|6|7|8|9}}
== Parameters ==
Positional:
* '''Number''':  Takes n parameters, up to 100. An arrow corresponding to the direction relative to the center (5) in the numpad keyboard. 0 is unsupported.
If more than 100 arrows are needed, two or more Arrow templates can be used.
[[Category:Convenience templates]]
</noinclude>
</noinclude>

Latest revision as of 12:59, 16 July 2025

Arrow is a template designed for solutions in puzzle games that involve swiping and other types of motion such as dragging.

Example

{{Arrow|1|2|3|4|5|6|7|8|9|1|2|3|4|5|6|7|8|9}}
↙ ↓ ↘ ← X → ↖ ↑ ↗ ↙ ↓ ↘ ← X → ↖ ↑ ↗ 

Parameters

Positional:

  • Number: Takes n parameters, up to 100. An arrow corresponding to the direction relative to the center (5) in the numpad keyboard. 0 is unsupported.

If more than 100 arrows are needed, two or more Arrow templates can be used.