Template:Key press

From Hydrogenaudio Knowledgebase
Revision as of 18:32, 16 October 2018 by C3POwen (talk | contribs) (Added documentation and additional key options.)

{{{1}}}

Documentation

This is the {{key press}} template, primarily designed to illustrate keys and keystrokes on a computer keyboard.

Example:

{{key press|A}}A

Unlike the Wikipedia version of this template, multiple keys, e.g. {{key press|Ctrl|P}}, have not yet been implemented.

Key symbols

Some key names have a fitting Unicode character. This template automatically adds such "icons" to the following key names:

{{key press|Enter}}↵ Enter
{{key press|Shift}}⇧ Shift
{{key press|Tab}}Tab ↹
{{key press|Up}}
{{key press|Down}}
{{key press|Left}}
{{key press|Right}}