Controls – Template
Jump to navigation
Jump to search
m (Str moved page Template:Keyboard to Template:KeyboardShortcut without leaving a redirect) |
Lou Montana (talk | contribs) (Fix description) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{1|}}}|<span class="keyboard">{{{1}}}</span>{{#if:{{{2|}}}| + <span class="keyboard">{{{2}}}</span>{{#if:{{{3|}}}| + <span class="keyboard">{{{3}}}</span>{{#if:{{{4|}}}| + <span class="keyboard">{{{4}}}</span>|}}|}}|}}|}}</includeonly><noinclude> | <includeonly>{{#if:{{{1|}}}|<span class="keyboard">{{{1}}}</span>{{#if:{{{2|}}}| + <span class="keyboard">{{{2}}}</span>{{#if:{{{3|}}}| + <span class="keyboard">{{{3}}}</span>{{#if:{{{4|}}}| + <span class="keyboard">{{{4}}}</span>|}}|}}|}}|-no keys defined-}}</includeonly><noinclude> | ||
==Usage== | == Usage == | ||
{{<nowiki/>KeyboardShortcut|'''''key1'''''|'''''key2'''''|'''''key3'''''|'''''key4'''''}} | |||
{| class="wikitable" | |||
|+ Examples | |||
! Code | |||
! Result | |||
|- | |||
| <nowiki>{{KeyboardShortcut}}</nowiki> | |||
| {{KeyboardShortcut}} | |||
|- | |||
| <nowiki>{{KeyboardShortcut|Ctrl}}</nowiki> | |||
| {{KeyboardShortcut|Ctrl}} | |||
|- | |||
| <nowiki>{{KeyboardShortcut|Ctrl|Shift}}</nowiki> | |||
| {{KeyboardShortcut|Ctrl|Shift}} | |||
|- | |||
| <nowiki>{{KeyboardShortcut|Ctrl|Shift|T}}</nowiki> | |||
| {{KeyboardShortcut|Ctrl|Shift|T}} | |||
|- | |||
| <nowiki>{{KeyboardShortcut|Ctrl|Alt|Shift|T}}</nowiki> | |||
| {{KeyboardShortcut|Ctrl|Alt|Shift|T}} | |||
|- | |||
| <nowiki>{{KeyboardShortcut|Ctrl|Alt|SHIFT|T|U}}</nowiki> | |||
| {{KeyboardShortcut|Ctrl|Alt|SHIFT|T|U}} | |||
|} | |||
[[Category:Templates|{{uc:{{PAGENAME}}}}]] | [[Category:Templates|{{uc:{{PAGENAME}}}}]] | ||
</noinclude> | </noinclude> |
Revision as of 02:53, 26 December 2020
Usage
{{KeyboardShortcut|key1|key2|key3|key4}}
Code | Result |
---|---|
{{KeyboardShortcut}} | -no keys defined- |
{{KeyboardShortcut|Ctrl}} | Ctrl |
{{KeyboardShortcut|Ctrl|Shift}} | Ctrl + Shift |
{{KeyboardShortcut|Ctrl|Shift|T}} | Ctrl + Shift + T |
{{KeyboardShortcut|Ctrl|Alt|Shift|T}} | Ctrl + Alt + Shift + T |
{{KeyboardShortcut|Ctrl|Alt|SHIFT|T|U}} | Ctrl + Alt + SHIFT + T |