Skip to content

Template:Key

From Whitecoast City Railway Wiki

Shows a key on the keyboard, or keys pressed together, for the controls in a guide.

Examples

You type You get
{{Key|W}} W
{{Key|Shift|W}} Shift + W
{{Key|Ctrl|Shift|P}} Ctrl + Shift + P

For keys pressed one after another, use the template once for each: {{Key|Q}} then {{Key|E}} gives Q then E.

A key on the keyboard, or up to four keys pressed together.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Key1

The key, as printed on it: W, Space, Shift.

Stringrequired
Second key2

Pressed with the first.

Stringoptional
Third key3

no description

Stringoptional
Fourth key4

no description

Stringoptional