Difference between revisions of "Template:Keypress/doc"
From MidrangeWiki
MrDolomite (talk | contribs) m (gah, fix own edit typo, add closing cat bracket) |
MrDolomite (talk | contribs) m (add example for optional 2nd parameter) |
||
Line 4: | Line 4: | ||
A template for illustrating keystrokes. | A template for illustrating keystrokes. | ||
==Examples== | ==Examples== | ||
+ | * <code><nowiki>{{keypress|Ctrl|Alt}}</nowiki></code> produces {{keypress|Ctrl|Alt}} | ||
* <code><nowiki>{{keypress|Alt]}}+{{keypress|P}}</nowiki></code> produces {{keypress|Alt}}+{{keypress|P}} | * <code><nowiki>{{keypress|Alt]}}+{{keypress|P}}</nowiki></code> produces {{keypress|Alt}}+{{keypress|P}} | ||
* <code><nowiki>{{keypress|Ctrl}}+{{keypress|Alt}}+{{keypress|Del}}</nowiki></code> produces {{keypress|Ctrl}}+{{keypress|Alt}}+{{keypress|Del}} | * <code><nowiki>{{keypress|Ctrl}}+{{keypress|Alt}}+{{keypress|Del}}</nowiki></code> produces {{keypress|Ctrl}}+{{keypress|Alt}}+{{keypress|Del}} |
Revision as of 19:38, 24 February 2008
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 ⇆