Template:Key xbox/doc: Difference between revisions
No edit summary |
(Updated.) |
||
Line 1: | Line 1: | ||
==Description== |
== 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. |
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== |
== Syntax == |
||
{| class="wikitable" style="width: |
{| class="wikitable" style="width:75%" |
||
! style="width: |
! style="width:150px" | Parameter |
||
! Function |
! Function |
||
|- |
|- |
||
| a |
| a |
||
| [[File:Xbox a.png|50px]] |
| [[File:Xbox a.png|50px|link=|alt=XBOX A]] |
||
|- |
|- |
||
| b |
| b |
||
| [[File:Xbox b.png|50px]] |
| [[File:Xbox b.png|50px|link=|alt=XBOX B]] |
||
|- |
|- |
||
| x |
| x |
||
| [[File:Xbox x.png|50px]] |
| [[File:Xbox x.png|50px|link=|alt=XBOX X]] |
||
|- |
|- |
||
| y |
| y |
||
| [[File:Xbox y.png|50px]] |
| [[File:Xbox y.png|50px|link=|alt=XBOX Y]] |
||
⚫ | |||
⚫ | |||
⚫ | |||
|- |
|- |
||
| start |
| start |
||
| [[File:Xbox start.png|50px]] |
| [[File:Xbox start.png|50px|link=|alt=XBOX Start]] |
||
|- |
|- |
||
⚫ | |||
⚫ | |||
⚫ | |||
| dpad |
| dpad |
||
| [[File:Xbox dpad.png|50px]] |
| [[File:Xbox dpad.png|50px|link=|alt=XBOX Directional Pad]] |
||
|- |
|- |
||
| dpadup |
| dpadup |
||
| [[File:Xbox dpad up.png|50px]] |
| [[File:Xbox dpad up.png|50px|link=|alt=XBOX D-Pad Up]] |
||
|- |
|- |
||
| dpaddown |
| dpaddown |
||
| [[File:Xbox dpad down.png|50px]] |
| [[File:Xbox dpad down.png|50px|link=|alt=XBOX D-Pad Down]] |
||
|- |
|- |
||
| dpadleft |
| dpadleft |
||
| [[File:Xbox dpad left.png|50px]] |
| [[File:Xbox dpad left.png|50px|link=|alt=XBOX D-Pad Left]] |
||
|- |
|- |
||
| dpadright |
| dpadright |
||
| [[File:Xbox dpad right.png|50px]] |
| [[File:Xbox dpad right.png|50px|link=|alt=XBOX D-Pad Right]] |
||
|- |
|- |
||
| lb |
| lb |
||
| [[File:Xbox left bumper.png|50px]] |
| [[File:Xbox left bumper.png|50px|link=|alt=XBOX Left Bumper]] |
||
|- |
|- |
||
| rb |
| rb |
||
| [[File:Xbox right bumper.png|50px]] |
| [[File:Xbox right bumper.png|50px|link=|alt=XBOX Right Bumper]] |
||
|- |
|- |
||
| lt |
| lt |
||
| [[File:Xbox left trigger.png|50px]] |
| [[File:Xbox left trigger.png|50px|link=|alt=XBOX Left Trigger]] |
||
|- |
|- |
||
| rt |
| rt |
||
| [[File:Xbox right trigger.png|50px]] |
| [[File:Xbox right trigger.png|50px|link=|alt=XBOX Right Trigger]] |
||
|- |
|- |
||
| leftstick |
| leftstick |
||
| [[File:Xbox left stick.png|50px]] |
| [[File:Xbox left stick.png|50px|link=|alt=XBOX Left Joystick]] |
||
|- |
|- |
||
| rightstick |
| rightstick |
||
| [[File:Xbox right stick.png|50px]] |
| [[File:Xbox right stick.png|50px|link=|alt=XBOX Right Joystick]] |
||
⚫ | |||
⚫ | |||
⚫ | |||
|- |
|- |
||
| leftstickpress |
| leftstickpress |
||
| [[File:Xbox left stick press.png|50px]] |
| [[File:Xbox left stick press.png|50px|link=|alt=XBOX Press Left Joystick]] |
||
⚫ | |||
⚫ | |||
⚫ | |||
|} |
|} |
||
==Sample Output== |
== Sample Output == |
||
<pre>{{Key xbox| |
<pre>{{Key xbox|leftstickpress}}</pre> |
||
'''Results in...''' |
'''Results in...''' |
||
{{Key xbox| |
{{Key xbox|leftstickpress}} |
||
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Revision as of 07:27, 19 September 2021
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 | ![]() |
b | ![]() |
x | ![]() |
y | ![]() |
back | ![]() |
start | ![]() |
dpad | ![]() |
dpadup | ![]() |
dpaddown | ![]() |
dpadleft | ![]() |
dpadright | ![]() |
lb | ![]() |
rb | ![]() |
lt | ![]() |
rt | ![]() |
leftstick | ![]() |
rightstick | ![]() |
rightstickpress | ![]() |
leftstickpress | ![]() |
Sample Output
{{Key xbox|leftstickpress}}
Results in...
Error: Invalid Button Specified