Template:Kbd: Difference between revisions
From StrategyWiki, the video game walkthrough and strategy guide wiki
734 bytes removed
, 28 February 2008
m
|
|
Line 1: |
Line 1: |
| <span class="keyboard_button">{{#switch:{{{1}}}|up=↑|down=↓|left=←|right=→|{{{1}}}}}</span><noinclude> | | <span class="keyboard_button">{{#switch:{{{1}}}|up=↑|down=↓|left=←|right=→|{{{1}}}}}</span><noinclude> |
| | | {{Documentation}} |
| A template for making keyboard keys, typically for PCs.
| |
| | |
| == Usage ==
| |
| | |
| Here are some examples of usage of this template. Letters must always be in upper-case, and special keys must be as shown:
| |
| * <nowiki>{{kbd|A}}</nowiki>: {{kbd|A}}
| |
| * <nowiki>{{kbd|Space}}</nowiki>: {{kbd|Space}}
| |
| * <nowiki>{{kbd|Enter}}</nowiki>: {{kbd|Enter}}
| |
| * <nowiki>{{kbd|Esc}}</nowiki>: {{kbd|Esc}}
| |
| * <nowiki>{{kbd|Ctrl}}</nowiki>: {{kbd|Ctrl}}
| |
| * <nowiki>{{kbd|+}}</nowiki>: {{kbd|+}}
| |
| * <nowiki>{{kbd|up}}</nowiki>: {{kbd|up}}
| |
| * <nowiki>{{kbd|down}}</nowiki>: {{kbd|down}}
| |
| * <nowiki>{{kbd|left}}</nowiki>: {{kbd|left}}
| |
| * <nowiki>{{kbd|right}}</nowiki>: {{kbd|right}}
| |
| etc.
| |
| | |
| When using "=" you must put <nowiki><nowiki></nowiki> tags around it.
| |
| ==See Also==
| |
| * [[Template:Mouse]]
| |
|
| |
|
| [[Category:Controller button templates|K]]</noinclude> | | [[Category:Controller button templates|K]]</noinclude> |