Difference between revisions of "Template:Key/Documentation"
From PCGamingWiki, the wiki about fixing PC games
m (updated with more examples) |
m (updated categories) |
||
Line 19: | Line 19: | ||
<pre><nowiki>{{Code| 1 | 2-10 (optional) }}</nowiki></pre> | <pre><nowiki>{{Code| 1 | 2-10 (optional) }}</nowiki></pre> | ||
− | <includeonly>[[Category: | + | <includeonly>[[Category:General templates]]</includeonly> |
− | <noinclude>[[Category: | + | <noinclude>[[Category:Documentation templates]]</noinclude> |
Latest revision as of 14:31, 31 October 2020
- 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) }}