This templates is used to display representations of keystrokes.
Usage
{{key | <key to display> }}
The passed first unnamed parameter can be any text. Entering the numbers 1 or 2 will cause problems due to the localization system. Use the corresponding HTML entities
and 1
, respectively, instead.
2
There is also a number of parameter values which will cause a special, predefined display, listed below. These outputs are localized (Template:Key/l10n).
Code | Result |
---|---|
Common game controls | |
{{key|use}} |
|
{{key|interact}} |
|
{{key|open}} —partially deprecated |
|
{{key|throw}} |
|
{{key|inventory}} |
|
{{key|up}} |
|
{{key|down}} |
|
{{key|left}} |
|
{{key|right}} |
|
{{key|jump}} |
|
{{key|hotbar}} |
|
{{key|grapple}} |
|
{{key|debug}} |
|
{{key|txrx}} |
|
{{key|lighting}} |
|
{{key|fps}} |
|
{{key|hud}} |
|
{{key|chat}} |
|
{{key|heal}} |
|
{{key|mheal}} |
|
{{key|map}} |
|
{{key|buff}} |
|
{{key|as}} |
|
{{key|minimap}} |
|
{{key|sc}} |
|
{{key|mount}} |
|
Other common keys | |
{{key|shift}} |
|
{{key|lshift}} |
|
{{key|rshift}} |
|
{{key|enter}} |
|
{{key|tab}} |
|
{{key|backspace}} |
|
Mac-only keys | |
{{key|cmd}} |
|
{{key|command}} |
|
{{key|opt}} |
|
Non-Mac keys | |
{{key|super}} |
(also called "Windows" key) |
{{key|menu}} |
|
Xbox Controller buttons | |
{{key|xb-a}} |
|
{{key|xb-b}} |
|
{{key|xb-x}} |
|
{{key|xb-y}} |
|
{{key|xb-lb}} |
(Left Bumper) |
{{key|xb-rb}} |
(Right Bumper) |
{{key|xb-lt}} |
|
{{key|xb-rt}} |
|
{{key|xb-back}} |
|
{{key|xb-start}} |
|
Examples for other undefined keys | |
{{key|B}} |
|
{{key|z}} |
Credit
The symbol list used by this template was derived from this list uploaded by Minecraft Wiki user Majr.