Template:Kbd: Difference between revisions

Template page
w:c:strategywiki>DrBob
m (Expanded)
w:c:strategywiki>DrBob
(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>

Revision as of 14:39, 13 February 2007

Template:Switch

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:

etc.