Difference between revisions of "Template:KeyCombo"
Jump to navigation
Jump to search
m |
m (*ponders*) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{{{#if:{{{ctrl|}}}|Keypress/Ctrl{{#switch:{{#var:lang}}|/de = /de|}}|}}}}{{#if:{{{ctrl|}}}|+}}{{{{#if:{{{cmd|}}}|Keypress|Template:/dev/null}}|⌘ Cmd|{{{2|}}}}}{{#if:{{{cmd|}}}|+}}{{{{#if:{{{alt|}}}|Keypress|Template:/dev/null}}|Alt|{{{2|}}}}}{{#if:{{{alt|}}}|+}}{{{{#if:{{{opt|}}}|Keypress|Template:/dev/null}}|⌥ Alt|{{{2|}}}|title=Option}}{{#if:{{{opt|}}}|+}}{{{{#if:{{{shift|}}}|Keypress|Template:/dev/null}}|⇧ Shift|{{{2|}}}}}{{#if:{{{shift|}}}|+}}{{#if:{{{tab|}}}|{{Keypress|↹ Tab|{{{2|}}}|title=Tabulator}}|{{#if:{{{return|}}}|{{Keypress|↵ Return|{{{2|}}}|title=Return}}|{{Keypress|{{{1}}}|{{{2|}}}|title={{{title|}}}}}}}}}</onlyinclude></includeonly> | <includeonly><onlyinclude>{{{{#if:{{{ctrl|}}}|Keypress/Ctrl{{#switch:{{#var:lang}}|/de=/de|dev/null}}|}}}}{{#if:{{{ctrl|}}}|+}}{{{{#if:{{{cmd|}}}|Keypress|Template:/dev/null}}|⌘ Cmd|{{{2|}}}}}{{#if:{{{cmd|}}}|+}}{{{{#if:{{{alt|}}}|Keypress|Template:/dev/null}}|Alt|{{{2|}}}}}{{#if:{{{alt|}}}|+}}{{{{#if:{{{opt|}}}|Keypress|Template:/dev/null}}|⌥ Alt|{{{2|}}}|title=Option}}{{#if:{{{opt|}}}|+}}{{{{#if:{{{shift|}}}|Keypress|Template:/dev/null}}|⇧ Shift|{{{2|}}}}}{{#if:{{{shift|}}}|+}}{{#if:{{{tab|}}}|{{Keypress|↹ Tab|{{{2|}}}|title=Tabulator}}|{{#if:{{{return|}}}|{{Keypress|↵ Return|{{{2|}}}|title=Return}}|{{Keypress|{{{1}}}|{{{2|}}}|title={{{title|}}}}}}}}}</onlyinclude></includeonly> | ||
Use this template to mark key combination needed for shortcuts in the viewer. | Use this template to mark key combination needed for shortcuts in the viewer. | ||
Revision as of 13:32, 26 March 2009
Use this template to mark key combination needed for shortcuts in the viewer.
Example
input | output |
---|---|
{{KeyCombo|ctrl=*|H}} | {Keypress/Ctrldev/null}+H |
{{KeyCombo|ctrl=*|alt=*|V}} | {Keypress/Ctrldev/null}+Alt+V |
{{KeyCombo|ctrl=*|alt=*|shift=*|H}} | {Keypress/Ctrldev/null}+Alt+⇧ Shift+H |
{{KeyCombo|cmd=*|opt=*|H}} | {Keypress/Ctrldev/null}⌘ Cmd+⌥ Alt+H |
{{KeyCombo|tab=*|return=*}} | {Keypress/Ctrldev/null}↹ Tab |