Template:Xbutton/doc

From Minecraft Wiki
Jump to: navigation, search
This is the documentation page, it should be transcluded into the main template page. See Template:Documentation for more information
Shortcut
xbtn

Allows for easy adding of Xbox 360 and Xbox One controller buttons to articles. Handy for tutorials and such.

Usage[edit]

Xbox 360[edit]

{{Xbutton|360a}}
A button
{{Xbutton|360b}}
B button
{{Xbutton|360x}}
X button
{{Xbutton|360y}}
Y button
{{Xbutton|360guide}}
Guide button
{{Xbutton|360back}}
Back button
{{Xbutton|360start}}
Start button
{{Xbutton|360thumb-left}}
Left analog stick
{{Xbutton|360thumb-right}}
Right analog stick
{{Xbutton|360dpad}}
D-Pad
{{Xbutton|360dpad-left}}
D-Pad left
{{Xbutton|360dpad-up}}
D-Pad up
{{Xbutton|360dpad-down}}
D-Pad down
{{Xbutton|360dpad-right}}
D-Pad right
{{Xbutton|360lb}}
Left bumper
{{Xbutton|360rb}}
Right bumper
{{Xbutton|360lt}}
Left trigger
{{Xbutton|360rt}}
Right trigger

Xbox One[edit]

{{Xbutton|onea}}
A button
{{Xbutton|oneb}}
B button
{{Xbutton|onex}}
X button
{{Xbutton|oney}}
Y button
{{Xbutton|oneview}}
Back button
{{Xbutton|onemenu}}
Start button
{{Xbutton|onethumb-left}}
Left analog stick
{{Xbutton|onethumb-right}}
Right analog stick
{{Xbutton|onedpad}}
D-Pad
{{Xbutton|onedpad-left}}
D-Pad left
{{Xbutton|onedpad-up}}
D-Pad up
{{Xbutton|onedpad-down}}
D-Pad down
{{Xbutton|onedpad-right}}
D-Pad right
{{Xbutton|onelb}}
Left bumper
{{Xbutton|onerb}}
Right bumper
{{Xbutton|onelt}}
Left trigger
{{Xbutton|onert}}
Right trigger

As an alternative, {{Xbtn}} may also be used.

License[edit]

The buttons used in this template come from Xelu's Controller Buttons Prompt Pack (http://opengameart.org/content/free-keyboard-and-controllers-prompts-pack), except from the Xbox 360 guide button, which is from the XNA Button Pack 3 by Jeff Jenkins and is licensed under the Creative Commons Attribution 3.0 Unported License. For full license details of the guide button, visit http://sinnix.net

See also[edit]