Template:Kbd: Difference between revisions

From StrategyWiki, the video game walkthrough and strategy guide wiki
Updated
m (Expanded)
(Updated)
Line 1: Line 1:
<span class="keyboard_button">{{{1}}}</span><noinclude>
<span class="keyboard_button">{{Switch|{{{1}}}|case: up=↑|case: down=↓|case: left=←|case: right=→|default: {{{1}}}}}</span><noinclude>


A template for making keyboard keys, typically for PCs.
A template for making keyboard keys, typically for PCs.
Line 12: Line 12:
* <nowiki>{{kbd|Ctrl}}</nowiki>: {{kbd|Ctrl}}
* <nowiki>{{kbd|Ctrl}}</nowiki>: {{kbd|Ctrl}}
* <nowiki>{{kbd|+}}</nowiki>: {{kbd|+}}
* <nowiki>{{kbd|+}}</nowiki>: {{kbd|+}}
* <nowiki>{{kbd|}}</nowiki>: {{kbd|}}
* <nowiki>{{kbd|up}}</nowiki>: {{kbd|up}}
* <nowiki>{{kbd|}}</nowiki>: {{kbd|}}
* <nowiki>{{kbd|down}}</nowiki>: {{kbd|down}}
* <nowiki>{{kbd|}}</nowiki>: {{kbd|}}
* <nowiki>{{kbd|left}}</nowiki>: {{kbd|left}}
* <nowiki>{{kbd|}}</nowiki>: {{kbd|}}
* <nowiki>{{kbd|right}}</nowiki>: {{kbd|right}}
etc.
etc.


[[Category:Templates|K]]</noinclude>
[[Category:Templates|K]]</noinclude>