Difference between revisions of "Template:KeyCombo"

From Second Life Wiki
Jump to navigation Jump to search
m (moved Template:KeyCombo to Template:KC over redirect)
(Shortcuts save you time! In more ways than one!)
Line 1: Line 1:
<includeonly><onlyinclude>{{{{#if:{{{ctrl|}}}|Keypress|dev/null}}|{{#switch:{{#var:lang}}|/de=Strg|Ctrl}}|{{{2|}}}}}{{#if:
<includeonly><onlyinclude>{{{{#if:{{{ctrl|}}}|K|dev/null}}|{{#switch:{{#var:lang}}|/de=Strg|Ctrl}}|{{{2|}}}}}{{#if:
}}{{#if:{{{ctrl|}}}|-}}{{#if:
}}{{#if:{{{ctrl|}}}|-}}{{#if:


}}{{{{#if:{{{cmd|}}}|Keypress|dev/null}}|⌘ Cmd|{{{2|}}}}}{{#if:
}}{{{{#if:{{{cmd|}}}|K|dev/null}}|⌘ Cmd|{{{2|}}}}}{{#if:
}}{{#if:{{{cmd|}}}|-}}{{#if:
}}{{#if:{{{cmd|}}}|-}}{{#if:


}}{{{{#if:{{{alt|}}}|Keypress|dev/null}}|Alt|{{{2|}}}}}{{#if:
}}{{{{#if:{{{alt|}}}|K|dev/null}}|Alt|{{{2|}}}}}{{#if:
}}{{#if:{{{alt|}}}|-}}{{#if:
}}{{#if:{{{alt|}}}|-}}{{#if:


}}{{{{#if:{{{opt|}}}|Keypress|dev/null}}|⌥ Alt|{{{2|}}}|title=Option}}{{#if:
}}{{{{#if:{{{opt|}}}|K|dev/null}}|⌥ Alt|{{{2|}}}|title=Option}}{{#if:
}}{{#if:{{{opt|}}}|-}}{{#if:
}}{{#if:{{{opt|}}}|-}}{{#if:


}}{{{{#if:{{{shift|}}}|Keypress|dev/null}}|⇧ {{#switch:{{#var:lang}}|/fr=Maj|Shift}}|{{{2|}}}}}{{#if:{{{shift|}}}|-}}{{#if:
}}{{{{#if:{{{shift|}}}|K|dev/null}}|⇧ {{#switch:{{#var:lang}}|/fr=Maj|Shift}}|{{{2|}}}}}{{#if:{{{shift|}}}|-}}{{#if:


}}{{#if:{{{tab|}}}|{{Keypress|↹ Tab|{{{2|}}}|title=Tabulator}}|{{#if:{{{return|}}}|{{Keypress|↵ Return|{{{2|}}}|title=Return}}|{{Keypress|{{{1}}}|{{{2|}}}|title={{{title|}}}}}}}}}</onlyinclude></includeonly>
}}{{#if:{{{tab|}}}|{{K|↹ Tab|{{{2|}}}|title=Tabulator}}|{{#if:{{{return|}}}|{{K|↵ Return|{{{2|}}}|title=Return}}|{{K|{{{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.


Line 23: Line 23:
|-
|-
|<nowiki>{{KeyCombo|ctrl=*|H}}</nowiki>
|<nowiki>{{KeyCombo|ctrl=*|H}}</nowiki>
|{{KeyCombo|ctrl=*|H}}
|{{KC|ctrl=*|H}}
|-
|-
|<nowiki>{{KeyCombo|ctrl=*|alt=*|V}}</nowiki>
|<nowiki>{{KeyCombo|ctrl=*|alt=*|V}}</nowiki>
|{{KeyCombo|ctrl=*|alt=*|V}}
|{{KC|ctrl=*|alt=*|V}}
|-
|-
|<nowiki>{{KeyCombo|ctrl=*|alt=*|shift=*|H}}</nowiki>
|<nowiki>{{KeyCombo|ctrl=*|alt=*|shift=*|H}}</nowiki>
|{{KeyCombo|ctrl=*|alt=*|shift=*|H}}
|{{KC|ctrl=*|alt=*|shift=*|H}}
|-
|-
|<nowiki>{{KeyCombo|cmd=*|opt=*|H}}</nowiki>
|<nowiki>{{KeyCombo|cmd=*|opt=*|H}}</nowiki>
|{{KeyCombo|cmd=*|opt=*|H}}
|{{KC|cmd=*|opt=*|H}}
|-
|-
|<nowiki>{{KeyCombo|tab=*|return=*}}</nowiki>
|<nowiki>{{KeyCombo|tab=*|return=*}}</nowiki>
|{{KeyCombo|tab=*}}
|{{KC|tab=*}}
|}
|}

Revision as of 11:45, 16 November 2009

Use this template to mark key combination needed for shortcuts in the viewer.

Example

input output
{{KeyCombo|ctrl=*|H}} Ctrl-H
{{KeyCombo|ctrl=*|alt=*|V}} Ctrl-Alt-V
{{KeyCombo|ctrl=*|alt=*|shift=*|H}} Ctrl-Alt-⇧ Shift-H
{{KeyCombo|cmd=*|opt=*|H}} ⌘ Cmd-⌥ Alt-H
{{KeyCombo|tab=*|return=*}} ↹ Tab