Difference between revisions of "Template:KeyCombo"

From Second Life Wiki
Jump to navigation Jump to search
m (Should not use K template as the second parameter is for coloring. I doubt anyone is Using the second parameter at all.)
m (crap)
Line 1: Line 1:
<noinclude>For the [[Knowledge Base]], this has been succeeded by [[Template:K]].
<noinclude>For the [[Knowledge Base]], this has been succeeded by [[Template:K]].


</noinclude><includeonly><onlyinclude>{{#if:{{{ctrl|}}}|{{Keypress|{{#switch:{{#var:lang}}|*de=Strg|Ctrl}}|{{{2|}}}}}-}}{{#if:
</noinclude><includeonly><onlyinclude>{{#if:{{{ctrl|}}}|{{Keypress|{{#switch:{{#var:lang}}|/de=Strg|Ctrl}}|{{{2|}}}}}-}}{{#if:


}}{{#if:{{{cmd|}}}|{{Keypress|⌘ Cmd|{{{2|}}}}}-}}{{#if:
}}{{#if:{{{cmd|}}}|{{Keypress|⌘ Cmd|{{{2|}}}}}-}}{{#if:
Line 9: Line 9:
}}{{#if:{{{opt|}}}|{{Keypress|⌥ Alt|{{{2|}}}|title=Option}}-}}{{#if:
}}{{#if:{{{opt|}}}|{{Keypress|⌥ Alt|{{{2|}}}|title=Option}}-}}{{#if:


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


}}{{#if:{{{tab|}}}|{{Keypress|↹ Tab|{{{2|}}}|title=Tabulator}}|{{#if:{{{return|}}}|{{Keypress|↵ Return|{{{2|}}}|title=Return}}|{{Keypress|{{{1}}}|{{{2|}}}|title={{{title|}}}}}}}}}</onlyinclude></includeonly>
}}{{#if:{{{tab|}}}|{{Keypress|↹ Tab|{{{2|}}}|title=Tabulator}}|{{#if:{{{return|}}}|{{Keypress|↵ Return|{{{2|}}}|title=Return}}|{{Keypress|{{{1}}}|{{{2|}}}|title={{{title|}}}}}}}}}</onlyinclude></includeonly>

Revision as of 12:53, 1 June 2012

For the 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