「テンプレート:Shortcut」の版間の差分

提供: wiki
移動先: 案内検索
 
(1版 をインポートしました)
 
(相違点なし)

2018年6月29日 (金) 03:43時点における最新版

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 Template-MMB.png
  • 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:


wikitext you get
{{Shortcut/Mouse|lmb}} LMB Template-LMB.png
{{Shortcut/Mouse|mmb}} MMB Template-MMB.png
{{Shortcut/Mouse|rmb}} RMB Template-RMB.png
{{Shortcut/Mouse|wheelup}} WheelUp Template-MWUP.png
{{Shortcut/Mouse|wheeldown}} WheelDown Template-MWD.png
{{Shortcut/Mouse|wheel}} Wheel Template-MW.png

(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