{{Keys}} template is designed to illustrate keys and keystrokes on a keyboard. It can be used to show single keystrokes, combination keystrokes and a keystroke sequence.
Installation
See also: w:c:templates:module:Keys
Usage
To show combination keystrokes, place pluses between each key.
{{keys|Alt+P}}produces ⎇ Alt + P{{keys|Ctrl+Alt+Del}}produces Ctrl + ⎇ Alt + Del
To show a keystroke sequence, use separate parameters. This can be combined with combination keystrokes.
{{keys|A|B|C|D}}produces ABCD{{keys|Alt+0|1|7|7}}produces ⎇ Alt + 0177{{keys|Alt+|0|1|7|7}}produces ⎇ Alt + 0177
Pluses on their own will be displayed as a key.
{{keys|1|+|2}}produces 1+2{{keys|1+|+|+2}}produces 1 + + + 2
Supported Named/Symbol shortcuts
Arrow keys
- {{key|up}}
- ↑
- {{key|down}}
- ↓
- {{key|left}}
- ←
- {{key|right}}
- →
Other common keys
- {{key|shift}}
- ⇧ Shift
- {{key|lshift}}
- ⇧ Left Shift
- {{key|rshift}}
- ⇧ Right Shift
- {{key|enter}}
- ↵ Enter
- {{key|tab}}
- ↹ Tab
- {{key|backspace}}
- ← Backspace
- {{key|equals}}
- =
- {{key|pipe}}
- |
Mac-only keys
- {{key|cmd}}
- ⌘ Cmd
- {{key|command}}
- ⌘ Command
- {{key|opt}}
- ⌥ Opt
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}}
- ╼ (Left Bumper)
- {{key|xb-rb}}
- ╾ (Right Bumper)
- {{key|xb-lt}}
- ⟅ (Left Trigger)
- {{key|xb-rt}}
- ⟆ (Right Trigger)
- {{key|xb-back}}
- ◀
- {{key|xb-start}}
- ▶
All other text used in this template will be used verbatim.
Text above can be found here (edit)