Template:Keypress

From CUETools
Jump to navigation Jump to search

{{{1}}}

Documentation

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

Example:

{{keypress|A}}A

{{keypress|Ctrl|A}}Crtl+A

{{keypress|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:

{{keypress|Enter}}↵ Enter
{{keypress|Shift}}⇧ Shift
{{keypress|Tab}}Tab ↹
{{keypress|Win}}⊞ Win
{{keypress|Up}}
{{keypress|Down}}
{{keypress|Left}}
{{keypress|Right}}