Template:Keypress/doc

From MidrangeWiki
< Template:Keypress
Revision as of 19:38, 24 February 2008 by MrDolomite (talk | contribs) (add example for optional 2nd parameter)
Jump to: navigation, search
48px This is the template documentation page for {{Keypress}}.
It is not intended to be viewed directly. If it uses variables, some links may appear broken. Do not replace these variables with hardcoded page names or URLs.

Usage

A template for illustrating keystrokes.

Examples

  • {{keypress|Ctrl|Alt}} produces Ctrl+Alt
  • {{keypress|Alt]}}+{{keypress|P}} produces Alt+P
  • {{keypress|Ctrl}}+{{keypress|Alt}}+{{keypress|Del}} produces Ctrl+Alt+Del

Unicode icons can be used alongside the text:

  • ⇧ Shift
  • ↵ Enter
  • ⌘ Cmd
  • ⌥ Opt
  • Tab ⇆