Jump to navigation
Jump to search
(semi-colon fix) |
(templatestyles) |
||
Line 1: | Line 1: | ||
<span class=" | <templatestyles src="Template:Kbd/styles.css" /><span class="t_kbd">{{#switch:{{{1}}}|up= ↑ |down= ↓ |left=←|right=→| {{{1}}} }}</span><noinclude> | ||
{{{1}}}}}</span><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
[[Category:Controller button templates | [[Category:Controller button templates]]</noinclude> |
Latest revision as of 04:09, 1 May 2024
{{{1}}} This page has been transcluded from Template:Kbd/Documentation.
This template uses TemplateStyles: |
A template for making keyboard keys, typically for PCs.
Examples
Here are some examples of usage of this template. Letters must always be in upper-case, and special keys must be as shown:
- {{kbd|A}}: A
- {{kbd|Space}}: Space
- {{kbd|Enter}}: Enter
- {{kbd|Esc}}: Esc
- {{kbd|Ctrl}}: Ctrl
- {{kbd|+}}: +
- {{kbd|up}}: ↑
- {{kbd|down}}: ↓
- {{kbd|left}}: ←
- {{kbd|right}}: →
- {{kbd|{{=}}}} or {{kbd|<nowiki>=</nowiki>}}: =
- {{kbd|{{!}}}} or {{kbd|<nowiki>|</nowiki>}}: |