Template:Arrow: Difference between revisions
-u ndefined- (talk | contribs) m (Add to category) |
-u ndefined- (talk | contribs) m (Migrate to Template:Documentation) |
||
Line 102: | Line 102: | ||
-->{{#if:{{{100|}}}|{{#switch:{{{100|}}}|1=↙|2=↓|3=↘|4=←|5=X|6=→|7=↖|8=↑|9=↗}} }}<!-- | -->{{#if:{{{100|}}}|{{#switch:{{{100|}}}|1=↙|2=↓|3=↘|4=←|5=X|6=→|7=↖|8=↑|9=↗}} }}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
--></includeonly><noinclude | --></includeonly><noinclude>{{documentation}}</noinclude> | ||
</noinclude> |
Latest revision as of 05:40, 23 August 2025
Template documentation
|
---|
Note: portions of the template sample may not be visible without values provided. |
View or edit this documentation. (About template documentation) |
Editors can experiment in this template's sandbox and test case pages. |
Description
Arrow is a template designed for solutions in puzzle games that involve swiping and other types of motion such as dragging.
Syntax
- {{Arrow|<number1>|<number2>|<...>|<number100>}}
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.
Example
{{Arrow|1|2|3|4|5|6|7|8|9|1|2|3|4|5|6|7|8|9}}
- ↙ ↓ ↘ ← X → ↖ ↑ ↗ ↙ ↓ ↘ ← X → ↖ ↑ ↗