Template:Arrow: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Made consistent with the base arrows from Wikipedia, this page has been dormant for a long time and isn't in use so hopefully I'm okay overwriting the old arrows.)
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch:{{lc:{{{color}}}}}
{{#switch:{{lc:{{{type|{{{1|right}}}}}}}}
| Red        = span style="color:{{red}}"
|r|right=
| #default   =  
|l|left=←
|u|up=↑
|d|down=↓
|right-left|right/left|r/l|r-l=↔
|h|horizontal=<span class="error">Please specify right (→) or left (←)</span>
|v|vertical=<span class="error">Please specify up (↑) or down (↓)</span>
|#default=
}}
}}
{{#switch:{{lc:{{{type}}}}}
| 1          = &larr;
| 2          = &#9654;
| #default    =
}}<noinclude>
== Documentation ==
type=1 - &larr;
type=2 - &#9654;
</noinclude>

Latest revision as of 16:02, 9 July 2024