Template:Key xbox/doc: Difference between revisions

From Subnautica Wiki
(Created page with "==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== {| class...")
Tag: sourceedit
 
No edit summary
Line 74: Line 74:
| rightstick
| rightstick
| [[File:Xbox right stick.png|50px]]
| [[File:Xbox right stick.png|50px]]

| leftstickpress
| [[File:Xbox left stick press.png|50px]]
|-

| rightstick
| [[File:Xbox right stick press.png|50px]]
|}
|}



Revision as of 14:46, 14 August 2020

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 Xbox a.png
b Xbox b.png
x Xbox x.png
y Xbox y.png
start Xbox start.png
back Xbox back.png
dpad Xbox dpad.png
dpadup Xbox dpad up.png
dpaddown Xbox dpad down.png
dpadleft Xbox dpad left.png
dpadright Xbox dpad right.png
lb Xbox left bumper.png
rb Xbox right bumper.png
lt Xbox left trigger.png
rt Xbox right trigger.png
leftstick Xbox left stick.png
rightstick Xbox right stick.png leftstickpress Xbox left stick press.png
rightstick Xbox right stick press.png

Sample Output

{{Key xbox|Start}}

Results in...

XBOX Start