Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

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:Template general]]</includeonly>
+
<includeonly>[[Category:General templates]]</includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>
+
<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) }}