Controls – Template
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Add Template:Doc/Template usage) |
Lou Montana (talk | contribs) m (Fix parameters) |
||
Line 9: | Line 9: | ||
|param4= key4 | |param4= key4 | ||
|descr4= (Optional) fourth key | |descr4= (Optional) fourth key | ||
|example1= <nowiki>{{KeyboardShortcut}}</nowiki> | |example1= <nowiki>{{KeyboardShortcut}}</nowiki> | ||
|result1= {{KeyboardShortcut}} | |result1= {{KeyboardShortcut}} |
Revision as of 17:57, 24 January 2021
Shows a key-styled keyboard shortcut.
This template is used on these pages.
Usage
{{Controls|key1|key2|key3|key4}}
- key1: first key
- key2: (Optional) second key
- key3: (Optional) third key
- key4: (Optional) fourth key
Code | Result |
---|---|
{{KeyboardShortcut}} | -no keys defined- |
{{KeyboardShortcut|Ctrl}} | Ctrl |
{{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 |