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
 
No edit summary
Tag: sourceedit
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.

Revision as of 01:54, 13 September 2016

{{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.

This template also exists in other colors:

PS4 X O ☐ △ buttons can be found here: