Difference between revisions of "Template:Shortcut/Keypress"

From Synfig Studio :: Documentation
Jump to: navigation, search
(Another solution for '=' sign, advised by http://www.mediawiki.org/wiki/Help:Extension:ParserFunctions#Raw_equal_signs)
(Additional combination for '=' sign)
Line 1: Line 1:
 
<includeonly><span class="hotkey" style="border: 0.2em outset #cecbc7; background: #f0ece8; padding: 0.1em 0.4em; font-size: 0.8em; white-space: nowrap;">{{#switch:{{lc:{{{1}}}}}
 
<includeonly><span class="hotkey" style="border: 0.2em outset #cecbc7; background: #f0ece8; padding: 0.1em 0.4em; font-size: 0.8em; white-space: nowrap;">{{#switch:{{lc:{{{1}}}}}
 
| {{=}}              = &#61;
 
| {{=}}              = &#61;
 +
| eq                  = &#61;
 
| alt                = Alt
 
| alt                = Alt
 
| backspace          = ← Backspace
 
| backspace          = ← Backspace

Revision as of 10:36, 4 January 2013

Syntax

{{Shortcut/Keypress|<key>}}

where <key> can be any text.

Examples

  • {{Shortcut/Keypress|alt}} gives Alt
  • {{Shortcut/Keypress|s}} gives S

Symbols

These are the symbols you can use:

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
{{Shortcut/Keypress|eq}} =