VOOZH about

URL: https://minecraft.wiki/w/Template:Keys

⇱ Template:Keys – Minecraft Wiki


Template:Keys

From Minecraft Wiki
Jump to navigation Jump to search
Documentation[view] [edit] [history] [purge]
This template uses Module:Keys, with data stored in Module:Keys/Symbols.
These scripts are written in Lua.
Shortcut

This 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.

Usage

To show combination keystrokes, place pluses between each key.

{{keys|Alt+P}} produces  + 
{{keys|Ctrl+Alt+Del}} produces  +  + 

To show a keystroke sequence, use separate parameters. This can be combined with combination keystrokes.

{{keys|A|B|C|D}} produces
{{keys|Alt+0|1|7|7}} produces  + 
{{keys|Alt+|0|1|7|7}} produces  + 

Pluses on their own will be displayed as a key.

{{keys|1|+|2}} produces
{{keys|1+|+|+2}} produces  +  + 

Supported Named/Symbol shortcuts

Arrow keys

{{|up}}
{{|down}}
{{|left}}
{{|right}}

Other common keys

{{|shift}}
{{|lshift}}
{{|rshift}}
{{|enter}}
{{|tab}}
{{|backspace}}
{{|control}}
{{|left control}}
{{|right control}}

Mac-only keys

{{|cmd}}
{{|command}}
{{|opt}}

Non-Mac keys

{{|super}}
(also called "windows" Key)
{{|menu}}

Xbox Controller buttons

See also: Template:Xbutton
{{|xb-a}}
{{|xb-b}}
{{|xb-x}}
{{|xb-y}}
{{|xb-lb}}
(Left Bumper)
{{|xb-rb}}
(Right Bumper)
{{|xb-lt}}
(Left Trigger)
{{|xb-rt}}
(Right Trigger)
{{|xb-back}}
{{|xb-start}}

All other text used in this template will be used verbatim.

[view] [edit] [history] [purge]The above documentation is transcluded from Template:Keys/doc.
Retrieved from "https://minecraft.wiki/w/Template:Keys?oldid=2928957"

Navigation menu