Template:Keys

Revision as of 18:06, 2 September 2026 by ReisuDesign (talk | contribs) (Created page with "<includeonly>{{#invoke:Keys|keys}}</includeonly><noinclude>{{Documentation|type=Data}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation
Note: parts of or the entire template might not be visible without values provided.
This template uses Module:Keys, a script written in Lua.
This template uses CSS found at MediaWiki:Keys.css.

This template can be used to display keystrokes.

Name to file mapping for buttons done in Module:Keys/Symbols.

Syntax

edit

{{Keys|key sequence}}

Examples

edit

{{Keys|Alt|F4}} yields: Alt + F4
{{Keys|2}} yields: 2
{{Keys|LShift}} yields: LShift
{{Keys|ps-r2}} yields: PlayStation R2
{{Keys|ps-r1}} yields: PlayStation R1
{{Keys|ps-c}} yields: PlayStation Circle
{{Keys|xb-a}} yields: Xbox A
{{Keys|xb-x}} yields: Xbox X
{{Keys|xb-y}} yields: Xbox Y

Template Data

edit

Displays keystrokes.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
First Key1

no description

Stringrequired
Second Key2

no description

Stringoptional
Third Key3

no description

Stringoptional
Forth Key4

no description

Stringoptional
Fifth Key5

no description

Stringoptional