Template:Key: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
 esc -> Escape  | 
				 Added now used keys to the template so they can be easily translated  | 
				||
| Line 7: | Line 7: | ||
  | mwu = {{Translation|Mouse wheel up}}  |   | mwu = {{Translation|Mouse wheel up}}  | ||
  | mwd = {{Translation|Mouse wheel down}}  |   | mwd = {{Translation|Mouse wheel down}}  | ||
 | mb4 = {{Translation|Mouse button 4}}  | |||
 | mb5 = {{Translation|Mouse button 5}}  | |||
  | tab = {{Translation|TAB}}  |   | tab = {{Translation|TAB}}  | ||
  | numplus = {{Translation|Numpad +}}  |   | numplus = {{Translation|Numpad +}}  | ||
  | numminus = {{Translation|Numpad -}}  |   | numminus = {{Translation|Numpad -}}  | ||
 | numzero = {{Translation|Numpad 0}}  | |||
 | numperiod = {{Translation|Numpad .}}  | |||
 | nummulti = {{Translation|Numpad *}}  | |||
  | esc = {{Translation|Escape}}  |   | esc = {{Translation|Escape}}  | ||
  | ctrl = {{Translation|CTRL}}  |   | ctrl = {{Translation|CTRL}}  | ||
| Line 16: | Line 21: | ||
  | grave = {{Translation|GRAVE}}  |   | grave = {{Translation|GRAVE}}  | ||
  | cmd = {{Translation|Command}}  |   | cmd = {{Translation|Command}}  | ||
 | backspace = {{Translation|BACKSPACE}}  | |||
  | {{{1}}}  |   | {{{1}}}  | ||
}}</kbd></includeonly><noinclude>  | }}</kbd></includeonly><noinclude>  | ||
Latest revision as of 18:55, 26 June 2025
[View] [Edit] [Page history]
DocumentationUsage
This template can be used to format key binds. For example {{key|ctrl}} results in CTRL.
Keybindings should be formatted with Template:Keybinding, not this template directly.
Translations
This template supports translations for the following keys:
alt = {{Translation|ALT}}
shift = {{Translation|SHIFT}}
rmb = {{Translation|Right mouse button}}
lmb = {{Translation|Left mouse button}}
mmb = {{Translation|Middle mouse button}}
mwu = {{Translation|Mouse wheel up}}
mwd = {{Translation|Mouse wheel down}}
tab = {{Translation|TAB}}
numplus = {{Translation|Numpad +}}
numminus = {{Translation|Numpad -}}
esc = {{Translation|ESC}}
ctrl = {{Translation|CTRL}}
space = {{Translation|SPACE}}
enter = {{Translation|ENTER}}
grave = {{Translation|GRAVE}}
cmd = {{Translation|Command}}
For example {{key|ctrl}} on a German page would result in STRG.
List of all templates