Template:Key/doc: Difference between revisions

From Subnautica Wiki
(Created page with "Keyboard keys. Default is E for Melee. <code><nowiki>{{Key}}</nowiki></code> prints as {{Key}} and <code><nowiki>{{Key|W}}</nowiki></code> prints as {{Key|W}}. The templa...")
Tag: sourceedit
 
(Added Xbox/Switch buttons link.)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Keyboard keys. Default is E for [[Melee]].

<code><nowiki>{{Key}}</nowiki></code> prints as {{Key}} and <code><nowiki>{{Key|W}}</nowiki></code> prints as {{Key|W}}. The template allows any letter as a parameter.
<code><nowiki>{{Key}}</nowiki></code> prints as {{Key}} and <code><nowiki>{{Key|W}}</nowiki></code> prints as {{Key|W}}. The template allows any letter as a parameter.
<br><code><nowiki>{{Key|Up}}</nowiki></code> and <code><nowiki>{{Key|Down}}</nowiki></code> prints as {{Key|Up}} and {{Key|Down}} respectively.<br><code><nowiki>{{Key|E|200%|2X}}</nowiki></code> prints as {{Key|E|200%|2X}}. The superscript and subscript refers to the damage dealt and the amount of hits respectively.
<br><code><nowiki>{{Key|Up}}</nowiki></code> and <code><nowiki>{{Key|Down}}</nowiki></code> prints as {{Key|Up}} and {{Key|Down}} respectively.<br><code><nowiki>{{Key|E|200%|2X}}</nowiki></code> prints as {{Key|E|200%|2X}}. The superscript and subscript refers to the damage dealt and the amount of hits respectively.

This template also exists in other colors:
*{{t|Key/Blue}}
*{{t|Key/Red}}
*{{t|Key/Purple}}


PS4 X O ☐ △ buttons can be found here:
PS4 X O ☐ △ buttons can be found here:
*{{t|Key/PS4}}
* {{T|Key/PS4}}

Xbox A B X Y buttons can be found here:
* {{T|Key/Xbox}}

Switch A B X Y buttons can be found here:
* {{T|Key/Switch}}


<includeonly>[[Category:Icons]]</includeonly>
<noinclude>[[Category:Template documentation]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 00:41, 4 February 2022

{{Key}} prints as E and {{Key|W}} prints as W. The template allows any letter as a parameter.
{{Key|Up}} and {{Key|Down}} prints as Uparrow.png and Downarrow.png respectively.
{{Key|E|200%|2X}} prints as E200%2X. The superscript and subscript refers to the damage dealt and the amount of hits respectively.

PS4 X O ☐ △ buttons can be found here:

Xbox A B X Y buttons can be found here:

Switch A B X Y buttons can be found here: