Modèle:KeyCombo
De DigiWiki.
(Différences entre les versions)
(Page créée avec « <noinclude>For the Knowledge Base, this has been succeeded by Template:K. </noinclude><includeonly><onlyinclude>{{{{#if:{{{ctrl|}}}|K|dev/null}}|{{#switch:{{#var:lan… ») |
|||
Ligne 1 : | Ligne 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|}}}|K|dev/null}}|{{#switch:{{#var:lang}}|/ | + | </noinclude><includeonly><onlyinclude>{{{{#if:{{{ctrl|}}}|K|dev/null}}|{{#switch:{{#var:lang}}|/en=Strg|Ctrl}}|{{{2|}}}}}{{#if: |
}}{{#if:{{{ctrl|}}}|-}}{{#if: | }}{{#if:{{{ctrl|}}}|-}}{{#if: | ||
Ligne 17 : | Ligne 17 : | ||
}}{{#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> | ||
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. | ||
- | |||
== Example == | == Example == | ||
- | |||
{|style={{prettytable}} | {|style={{prettytable}} | ||
!input | !input |
Version du 23 janvier 2012 à 22:57
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 |