Difference between revisions of "Template:Key"
From PCGamingWiki, the wiki about fixing PC games
(based on Wikipedia:Template:Key press) |
(fixed category name) |
||
Line 9: | Line 9: | ||
-->{{#if:{{{9|}}}|+{{key/core|{{{9}}}}}}}<!-- | -->{{#if:{{{9|}}}|+{{key/core|{{{9}}}}}}}<!-- | ||
-->{{#if:{{{10|}}}|+{{key/core|{{{10}}}}}}}<!-- | -->{{#if:{{{10|}}}|+{{key/core|{{{10}}}}}}}<!-- | ||
− | -->{{#if:{{{11|}}}|[[Category: | + | -->{{#if:{{{11|}}}|[[Category:Invalid template usage {{#if:{{#var:section}}|({{#var:section}})}}]]}}<noinclude>{{documentation}}</noinclude> |
Latest revision as of 05:06, 6 May 2019
Documentation for the above template (sometimes hidden from view).
- Description
This template generate key stroke combinations with brackets between each key name as needed, up to a total of 10 keys. Some special keys show the standard symbol of the key as well as the name to aid recognition.
- Examples
- {{Key|~}} becomes ~
- {{Key|Alt|Tab}} becomes Alt+Tab ↹
- {{Key|WinKey|Ctrl|Shift|B}} becomes ⊞ Win+Ctrl+⇧ Shift+B
- {{Key|Super|C}} becomes Super+C
- {{Key|Cmd|Opt|Space}} becomes ⌘ Command+⌥ Option+Space ␣
- Arguments
1
2
3
- And so on up to argument 10...
- Syntax
{{Code| 1 | 2-10 (optional) }}
Visit Template:Key/Documentation to edit this text. (How does this work?)