Template:Key/Switch: Difference between revisions

From Subnautica Wiki
(Updated.)
m (Updated.)
 
(2 intermediate revisions by the same user not shown)
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=]]
Line 10: Line 10:
| SL = [[File:SwitchSl.png|50px|link=]]
| SL = [[File:SwitchSl.png|50px|link=]]
| SR = [[File:SwitchSr.png|50px|link=]]
| SR = [[File:SwitchSr.png|50px|link=]]
| dpadup = [[File:SwitchUpbutton.png|50px|link=]]
| Dpadup = [[File:SwitchUpbutton.png|50px|link=]]
| dpadleft = [[File:SwitchLeftbutton.png|50px|link=]]
| Dpadleft = [[File:SwitchLeftbutton.png|50px|link=]]
| dpadright = [[File:SwitchRightbutton.png|50px|link=]]
| Dpadright = [[File:SwitchRightbutton.png|50px|link=]]
| dpaddown = [[File:SwitchDownbutton.png|50px|link=]]
| Dpaddown = [[File:SwitchDownbutton.png|50px|link=]]
| minus = [[File:SwitchMinus.png|50px|link=]]
| Minus = [[File:SwitchMinus.png|50px|link=]]
| plus = [[File:SwitchPlus.png|50px|link=]]
| Plus = [[File:SwitchPlus.png|50px|link=]]
| leftstick = [[File:Lstickclick.png|50px|link=]]
| Leftstick = [[File:Lstickclick.png|50px|link=]]
| rightstick = [[File:Stickclick.png|50px|link=]]
| Rightstick = [[File:Stickclick.png|50px|link=]]
| #default = <span style="color:red; font-size:14px">'''Error: Invalid Button Specified'''</span>
| #default = <span style="color:red; font-size:14px">'''Error: Invalid Button Specified'''</span>
}}<noinclude>{{Documentation}}[[Category:Templates]][[Category:Key Template]]</noinclude>
}}<noinclude>{{Documentation}}[[Category:Templates]][[Category:Key Template]]</noinclude>

Latest revision as of 08:45, 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...

SwitchDownbutton.png