w:c:strategywiki>Najzere m (padding up and down arrows) |
m (18 revisions imported: Imported from https://strategywiki.org/) |
||
(One intermediate revision by one other user not shown) | |||
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=→|;=<nowiki>;</nowiki>| | ||
{{{1}}}}}</span><noinclude> | |||
{{Documentation}} | {{Documentation}} | ||
[[Category:Controller button templates|K]]</noinclude> | [[Category:Controller button templates|K]]</noinclude> |
Latest revision as of 18:28, 28 October 2023
This page has been transcluded from
A template for making keyboard keys, typically for PCs.
Usage[edit source]
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}}:
- {{kbd|Space}}:
- {{kbd|Enter}}:
- {{kbd|Esc}}:
- {{kbd|Ctrl}}:
- {{kbd|+}}:
- {{kbd|up}}:
- {{kbd|down}}:
- {{kbd|left}}:
- {{kbd|right}}:
etc.
When using "=" you must put <nowiki> tags around it.