Template:Key press

From Hydrogenaudio Knowledgebase
Revision as of 17:03, 22 October 2018 by C3POwen (talk | contribs) (Added third variable.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{{1}}}

Documentation

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

Example:

{{key press|A}}A

{{key press|Ctrl|A}}Crtl+A

{{key press|Ctrl|Alt|Delete}}Crtl+Alt+Delete

Key symbols

Some key names have a fitting Unicode character (or a close approximation thereof). 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|Win}}⊞ Win
{{key press|Up}}
{{key press|Down}}
{{key press|Left}}
{{key press|Right}}