Template:Key: Difference between revisions

From The DarkMod Wiki
Jump to navigationJump to search
Tels (talk | contribs)
use the first parameter as the default for the name
Tels (talk | contribs)
fix up text
Line 1: Line 1:
<noinclude>
<noinclude>
This template can be used to "draw" keys that the user must press. The text can be anything, but special keys should be written in UPPERCASE:
This template can be used to "draw" keys that the user must press. The text can be anything, but should be written in UPPERCASE, even for single letters:


  <nowiki>{{key|TAB}}</nowiki>
  <nowiki>{{key|TAB}}</nowiki>

Revision as of 22:58, 11 November 2007

This template can be used to "draw" keys that the user must press. The text can be anything, but should be written in UPPERCASE, even for single letters:

{{key|TAB}}

Examples:

TAB SPACE

Key combinations should use two templates, like so:

SHIFT+X

For special, often-used keys a few special templates exist:

Template Look
{{key-enter}} ENTER
{{key-space}} SPACE
{{key-esc}} ESC
{{key-ctrl}} CTRL
{{key-alt}} ALT
{{key-shift}} SHIFT