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"

From PCGamingWiki, the wiki about fixing PC games
 
(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:Deprecated template usage]]}}<noinclude>{{documentation}}</noinclude>
+
-->{{#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) }}