Difference between revisions of "Template:KeyCombo"

From Second Life Wiki
Jump to navigation Jump to search
(Old Knowledge Base)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>For the [[Old Knowledge Base]], this has been succeeded by [[Template:K]].


For the [[Knowledge Base]], this has been succeeded by [[Template:K]].</noinclude>
</noinclude><includeonly><onlyinclude>{{#if:{{{ctrl|}}}|{{Keypress|{{#switch:{{#var:lang}}|/de=Strg|Ctrl}}|{{{2|}}}}}-}}{{#if:


<includeonly><onlyinclude>{{{{#if:{{{ctrl|}}}|K|dev/null}}|{{#switch:{{#var:lang}}|/de=Strg|Ctrl}}|{{{2|}}}}}{{#if:
}}{{#if:{{{cmd|}}}|{{Keypress|⌘ Cmd|{{{2|}}}}}-}}{{#if:
}}{{#if:{{{ctrl|}}}|-}}{{#if:


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


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


}}{{{{#if:{{{opt|}}}|K|dev/null}}|⌥ Alt|{{{2|}}}|title=Option}}{{#if:
}}{{#if:{{{shift|}}}|{{Keypress|{{#switch:{{#var:lang}}|/fr=Maj|Shift}}|{{{2|}}}}}-}}{{#if:
}}{{#if:{{{opt|}}}|-}}{{#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 26: Line 20:
!output
!output
|-
|-
|<nowiki>{{KC|ctrl=*|H}}</nowiki>
|<nowiki>{{KeyCombo|ctrl=*|H}}</nowiki>
|{{KC|ctrl=*|H}}
|{{KeyCombo|ctrl=*|H}}
|-
|-
|<nowiki>{{KC|ctrl=*|alt=*|V}}</nowiki>
|<nowiki>{{KeyCombo|ctrl=*|alt=*|V}}</nowiki>
|{{KC|ctrl=*|alt=*|V}}
|{{KeyCombo|ctrl=*|alt=*|V}}
|-
|-
|<nowiki>{{KC|ctrl=*|alt=*|shift=*|H}}</nowiki>
|<nowiki>{{KeyCombo|ctrl=*|alt=*|shift=*|H}}</nowiki>
|{{KC|ctrl=*|alt=*|shift=*|H}}
|{{KeyCombo|ctrl=*|alt=*|shift=*|H}}
|-
|-
|<nowiki>{{KC|cmd=*|opt=*|H}}</nowiki>
|<nowiki>{{KeyCombo|cmd=*|opt=*|H}}</nowiki>
|{{KC|cmd=*|opt=*|H}}
|{{KeyCombo|cmd=*|opt=*|H}}
|-
|-
|<nowiki>{{KC|tab=*|return=*}}</nowiki>
|<nowiki>{{KeyCombo|tab=*|return=*}}</nowiki>
|{{KC|tab=*}}
|{{KeyCombo|tab=*}}
|}
|}

Latest revision as of 03:44, 28 July 2012

For the Old Knowledge Base, this has been succeeded by Template:K.


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