Template:Keys
Appearance
Template documentation
Note: parts of or the entire template might not be visible without values provided.
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
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 source]{{Keys|key sequence}}
Examples
[edit source]{{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 source]Displays keystrokes.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| First Key | 1 | no description | String | required |
| Second Key | 2 | no description | String | optional |
| Third Key | 3 | no description | String | optional |
| Forth Key | 4 | no description | String | optional |
| Fifth Key | 5 | no description | String | optional |