Template:Xboxbutton: Difference between revisions
Jump to navigation
Jump to search
MetalManeMc (talk | contribs) No edit summary |
MetalManeMc (talk | contribs) mNo edit summary |
||
Line 4: | Line 4: | ||
| right = | | right = | ||
| left = ← | | left = ← | ||
| | | | ||
}}{{#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 = | ||
| | | | ||
}}</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
- Wikitext
{{xboxbutton|thumb-right|up}}
- Result
↑
- Wikitext
{{xboxbutton|thumb-left|left}}
- Result
←
List of buttons
Template data
This template displays a Xbox Series X controller button.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Button | 1 | Which button to be displayed. | String | required |
Direction | 2 | The direction in which the joystick must be pushed. | String | optional |