Template:Key/Switch: Difference between revisions

From Subnautica Wiki
(Updated.)
m (Updated.)
Line 1: Line 1:
{{#switch:{{lc:{{{1}}}}}
{{#switch:{{{1|X}}}
| A = [[File:SwitchA.png|50px|link=]]
| A = [[File:SwitchA.png|50px|link=]]
| B = [[File:SwitchB.png|50px|link=]]
| B = [[File:SwitchB.png|50px|link=]]

Revision as of 07:54, 19 September 2021

SwitchX.png

Description

This template is used to display a graphic of a control button. If an incorrect value is given, the template will return an error message.

Syntax

Parameter Function
A SwitchA.png
B SwitchB.png
X SwitchX.png
Y SwitchY.png
L SwitchL.png
R SwitchR.png
ZL SwitchZl.png
ZR SwitchZr.png
SL SwitchSl.png
SR SwitchSr.png
Dpadup SwitchUpbutton.png
Dpadleft SwitchLeftbutton.png
Dpadright SwitchRightbutton.png
Dpaddown SwitchDownbutton.png
Minus SwitchMinus.png
Plus SwitchPlus.png
Leftstick Lstickclick.png
Rightstick Stickclick.png

Sample Output

{{Key/Switch|Dpaddown}}

Results in...

Error: Invalid Button Specified