Difference between revisions of "Template:Shortcut"

From Synfig Studio :: Documentation
Jump to: navigation, search
(Import template from http://wiki.blender.org/index.php/Template:Shortcut)
 
m (Keyboard hotkeys, intra link correction)
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
 
-->{{#if:{{{4|}}}|{{Shortcut/Hotkey| {{{4}}} |lower={{{lower4|}}}}} }}<!--
 
-->{{#if:{{{4|}}}|{{Shortcut/Hotkey| {{{4}}} |lower={{{lower4|}}}}} }}<!--
 
-->{{#if:{{{5|}}}|{{Shortcut/Hotkey| {{{5}}} |lower={{{lower5|}}}}} }}<!--
 
-->{{#if:{{{5|}}}|{{Shortcut/Hotkey| {{{5}}} |lower={{{lower5|}}}}} }}<!--
-->{{#if:{{{6|}}}|[[Category:Fixme/Shortcut template]] }}</span></includeonly>
+
-->{{#if:{{{6|}}}|[[Category:Fixme/Shortcut template]] }}</span></includeonly><noinclude>Put a sequence of up to 5 keys to show a shortcut:<br>
 +
<nowiki>{{Shortcut|<key1>|<key2>|...|...}}</nowiki>
 +
 
 +
== Examples ==
 +
 
 +
* <nowiki>{{Shortcut|cmd|shift|S}}</nowiki> returns {{Shortcut|cmd|shift|S}}
 +
* <nowiki>{{Shortcut|ctrl|alt|X}}</nowiki> returns {{Shortcut|ctrl|alt|X}}
 +
* <nowiki>{{Shortcut|ctrl|alt|shift|pad3}}</nowiki> returns {{Shortcut|ctrl|alt|shift|pad3}}
 +
* <nowiki>{{Shortcut|shift|mmb}}</nowiki> returns {{Shortcut|shift|mmb}}
 +
* to join a shortcut and a menu (see [[Template:Menu]]):
 +
: <nowiki>{{Shortcut|shift|a}}{{Menu|type=popup|Add|Mesh|Cube}}</nowiki> returns {{Shortcut|shift|a}}{{Menu|type=popup|Add|Mesh|Cube}}
 +
 
 +
== Mouse hotkeys ==
 +
 
 +
You can use the symbols below:<br>
 +
 
 +
{{Shortcut/doc/mouse-options}}
 +
 
 +
(icons from the [http://tango-project.org Tango Desktop Project])
 +
 
 +
== Keyboard hotkeys ==
 +
 
 +
Apart from using normal letters and words, you can use the symbols below:<br>
 +
 
 +
{{l|Template:Shortcut/Keypress}}
 +
</noinclude>

Latest revision as of 09:29, 9 April 2014

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 ⇧ ShiftTemplate:Shortcut/Mouse
  • to join a shortcut and a menu (see Template:Menu):
{{Shortcut|shift|a}}{{Menu|type=popup|Add|Mesh|Cube}} returns ⇧ ShiftATemplate:Menu

Mouse hotkeys

You can use the symbols below:

Template:Shortcut/doc/mouse-options

(icons from the Tango Desktop Project)

Keyboard hotkeys

Apart from using normal letters and words, you can use the symbols below:

Template:Shortcut/Keypress