Template:Xboxbutton: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
Line 4: Line 4:
| right =
| right =
| left  = ←
| left  = ←
|{{{2|}}}
|
}}{{#switch:{{lc:{{{1}}}}}
}}{{#switch:{{lc:{{{1}}}}}
| dpad              = [[File:XboxSeriesX Dpad.png|25px|D-pad|link=]]
| dpad              = [[File:XboxSeriesX Dpad.png|25px|D-pad|link=]]
Line 32: Line 32:
| right = →
| right = →
| left =
| left =
|{{{2|}}}
|
}}</includeonly><noinclude>{{documentation|content=Displays an Xbox Series X controller button.
}}</includeonly><noinclude>{{documentation|content=Displays an Xbox Series X controller button.
The buttons used in this template come from [https://thoseawesomeguys.com/prompts/ Xelu's FREE Controllers & Keyboard Prompts Pack], licensed under [https://creativecommons.org/publicdomain/zero/1.0/ Creative Commons 0 (CC0)].
The buttons used in this template come from [https://thoseawesomeguys.com/prompts/ Xelu's FREE Controllers & Keyboard Prompts Pack], licensed under [https://creativecommons.org/publicdomain/zero/1.0/ Creative Commons 0 (CC0)].

Latest revision as of 14:24, 3 January 2024

Template documentation

Displays an Xbox Series X controller button. The buttons used in this template come from Xelu's FREE Controllers & Keyboard Prompts Pack, licensed under Creative Commons 0 (CC0).

Examples

Wikitext
{{xboxbutton|x}}
Result

X button

Wikitext
{{xboxbutton|thumb-right|up}}
Result

Right stick

Wikitext
{{xboxbutton|thumb-left|left}}
Result

Left stick

List of buttons

Template data

This template displays a Xbox Series X controller button.

Template parameters

ParameterDescriptionTypeStatus
Button1

Which button to be displayed.

Stringrequired
Direction2

The direction in which the joystick must be pushed.

Stringoptional