Difference between revisions of "Template:Keypress/doc"

From MidrangeWiki
Jump to: navigation, search
m (creating /doc sub-page)
 
m (gah, fix own edit typo, add closing cat bracket)
Line 14: Line 14:
 
<includeonly>
 
<includeonly>
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:Internal formatting templates|{{PAGENAME}}]
+
[[Category:Internal formatting templates|{{PAGENAME}}]]
 
</includeonly>
 
</includeonly>

Revision as of 19:36, 24 February 2008

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|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 ⇆