Template:Movement: Difference between revisions

Jump to navigation Jump to search
629 bytes added ,  21:13, 20 December 2023
no edit summary
(Matching in-game hex codes)
No edit summary
Line 1: Line 1:
<includeonly>{{#arraydefine:a-movement-type|{{#switch:{{lc:{{{1|}}}}}
<includeonly>{{#arraydefine:a-movement-type|{{#switch:{{lc:{{{1|}}}}}
           |straight=
           |straight=<span id="nametemplate">[[File:Orthogonal Movement Icon.png|16px|link=]]</span>
           |diagonal=
           |diagonal=<span id="nametemplate">[[File:Diagonal Movement Icon.png|16px|link=]]</span>
           |all=
           |all=<span id="nametemplate">[[File:Anywhere Movement Icon.png|16px|link=]]</span>
           |borders=
           |borders=<span id="nametemplate">[[File:Border Entry Icon.png|14px|link=]]</span> Borders
           |corners=
           |corners=<span id="nametemplate">[[File:Corner Entry Icon.png|14px|link=]]</span> Corners
           |anywhere=
           |anywhere=<span id="nametemplate">[[File:Anywhere Entry Icon.png|14px|link=]]</span> Anywhere
           |none=
           |none=None
           |turn=
           |turn=Turn
           |#default=}}}}<div class="tag-box" style="background:{{#switch:{{lc:{{{1|}}}}}
           |#default=}}}}<div class="tag-box" style="font-size:15px; background:{{#switch:{{lc:{{{1|}}}}}
           |straight=#6ea7d1
           |straight=#6ea7d1
           |diagonal=#b490d4
           |diagonal=#b490d4
Line 14: Line 14:
           |none=#93a0bb
           |none=#93a0bb
           |turn=#dba788
           |turn=#dba788
           |#default=#7882ca}}">{{{1|}}} {{{2|}}}</div></includeonly><noinclude>[[Category:Formatting templates]]
           |#default=#7882ca}}">{{#arrayprint:a-movement-type}} {{{2|}}}</div></includeonly><noinclude>[[Category:Formatting templates]]
{{movement|straight|2}}{{movement|corners}}{{movement|none}}{{movement|turn|3}}</noinclude>
{{movement|straight|2}}{{movement|diagonal|2}}{{movement|all|2}}{{movement|straight|-}}{{movement|corners}}{{movement|borders}}{{movement|anywhere}}{{movement|none}}{{movement|turn|3}}</noinclude>

Navigation menu