テンプレート:Shortcut/doc
< テンプレート:Shortcut
2013年3月8日 (金) 20:12時点におけるwiki>Shjohnson.piによる版 (Removed Examples from Hierarchy to match other template descriptions)
Put a sequence of up to 5 keys to show a shortcut:
{{Shortcut|<key1>|<key2>|...|...}}
Examples
- {{Shortcut|cmd|shift|S}} returns ⌘ Cmd⇧ ShiftS
- {{Shortcut|ctrl|alt|X}} returns CtrlAltX
- {{Shortcut|ctrl|alt|shift|pad3}} returns CtrlAlt⇧ Shift3 NumPad
- {{Shortcut|shift|mmb}} returns ⇧ ShiftMMB
- to join a shortcut and a menu (see Template:Menu):
- {{Shortcut|shift|a}}{{Menu|type=popup|Add|Mesh|Cube}} returns ⇧ ShiftA » Add » Mesh » Cube
Mouse hotkeys
You can use the symbols below:
(icons from the Tango Desktop Project)
Keyboard hotkeys
Apart from using normal letters and words, you can use the symbols below:
wikitext | you get |
---|---|
{{Shortcut/Keypress|alt}} | Alt |
{{Shortcut/Keypress|backspace}} | ← Backspace |
{{Shortcut/Keypress|cmd}} | ⌘ Cmd |
{{Shortcut/Keypress|ctrl}} | Ctrl |
{{Shortcut/Keypress|enter}} | ↵ Enter |
{{Shortcut/Keypress|end}} | ⇥ End |
{{Shortcut/Keypress|esc}} | Esc |
{{Shortcut/Keypress|home}} | ↖ Home |
{{Shortcut/Keypress|opt}} | ⌥ Opt |
{{Shortcut/Keypress|shift}} | ⇧ Shift |
{{Shortcut/Keypress|tab}} | ⇆ Tab |
{{Shortcut/Keypress|space}} | Space |
{{Shortcut/Keypress|left}} | ← |
{{Shortcut/Keypress|right}} | → |
{{Shortcut/Keypress|up}} | ↑ |
{{Shortcut/Keypress|down}} | ↓ |
{{Shortcut/Keypress|pgup}} | PageUp |
{{Shortcut/Keypress|pgdown}} | PageDown |
{{Shortcut/Keypress|pad.}} | . NumPad |
{{Shortcut/Keypress|pad0}} | 0 NumPad |
{{Shortcut/Keypress|pad1}} | 1 NumPad |
{{Shortcut/Keypress|pad2}} | 2 NumPad |
{{Shortcut/Keypress|pad3}} | 3 NumPad |
{{Shortcut/Keypress|pad4}} | 4 NumPad |
{{Shortcut/Keypress|pad5}} | 5 NumPad |
{{Shortcut/Keypress|pad6}} | 6 NumPad |
{{Shortcut/Keypress|pad7}} | 7 NumPad |
{{Shortcut/Keypress|pad8}} | 8 NumPad |
{{Shortcut/Keypress|pad9}} | 9 NumPad |
{{Shortcut/Keypress|pad+}} | + NumPad |
{{Shortcut/Keypress|pad-}} | - NumPad |
{{Shortcut/Keypress|pad*}} | * NumPad |
{{Shortcut/Keypress|pad/}} | / NumPad |
{{Shortcut/Keypress|pad-enter}} | ↵ NumPad |
See also: Template:Button and Template:Menu