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}} |
⚒ Use / Attack |
{{key|interact}} |
interact |
{{key|open}} —partially deprecated |
⚷ Open / Activate |
{{key|throw}} |
Throw |
{{key|inventory}} |
Inventory |
{{key|up}} |
▲ Up |
{{key|down}} |
▼ Down |
{{key|left}} |
◀ Left |
{{key|right}} |
▶ Right |
{{key|jump}} |
↷ Jump |
{{key|hotbar}} |
0-9 |
{{key|grapple}} |
⛲ Grapple |
{{key|debug}} |
F7 |
{{key|txrx}} |
F8 |
{{key|lighting}} |
F9 |
{{key|fps}} |
F10 |
{{key|hud}} |
F11 |
{{key|chat}} |
↵ Enter |
{{key|heal}} |
H |
{{key|mheal}} |
J |
{{key|map}} |
M |
{{key|buff}} |
B |
{{key|as}} |
⇧ Shift |
{{key|minimap}} |
Tab ↹ |
{{key|sc}} |
Ctrl |
{{key|mount}} |
R |
Other common keys | |
{{key|shift}} |
⇧ Shift |
{{key|lshift}} |
⇧ Left Shift |
{{key|rshift}} |
⇧ Right Shift |
{{key|enter}} |
↵ Enter |
{{key|tab}} |
Tab ↹ |
{{key|backspace}} |
← Backspace |
Mac-only keys | |
{{key|cmd}} |
⌘ Cmd |
{{key|command}} |
⌘ Command |
{{key|opt}} |
⌥ Option |
Non-Mac keys | |
{{key|super}} |
⊞ Super (also called "Windows" key) |
{{key|menu}} |
≣ Menu |
Xbox Controller buttons | |
{{key|xb-a}} |
Ⓐ |
{{key|xb-b}} |
Ⓑ |
{{key|xb-x}} |
Ⓧ |
{{key|xb-y}} |
Ⓨ |
{{key|xb-lb}} |
LB (Left Bumper) |
{{key|xb-rb}} |
RB (Right Bumper) |
{{key|xb-lt}} |
Left Trigger |
{{key|xb-rt}} |
Right Trigger |
{{key|xb-back}} |
◀ Back |
{{key|xb-start}} |
▶ Start |
Examples for other undefined keys | |
{{key|B}} |
B |
{{key|z}} |
z |
Credit
The symbol list used by this template was derived from this list uploaded by Minecraft Wiki user Majr.