Ad placeholder

Template:Xboxbutton: Difference between revisions

Jump to navigation Jump to search
no edit summary
(created page, wikitables are broken still)
 
No edit summary
Line 1: Line 1:
<includeonly>{{#switch:{{lc:{{{1}}}}}
<includeonly>{{#switch:{{lc:{{{2|}}}}}
| up    =
| down  =
| right =
| left  = ←
|{{{2|}}}
}}{{#switch:{{lc:{{{1}}}}}
| dpad              = [[File:XboxSeriesX Dpad.png|25px|D-pad|link=]]
| dpad              = [[File:XboxSeriesX Dpad.png|25px|D-pad|link=]]
| dpad-up          = [[File:XboxSeriesX Dpad Up.png|25px|D-pad up|link=]]
| dpad-up          = [[File:XboxSeriesX Dpad Up.png|25px|D-pad up|link=]]
Line 21: Line 27:
| rt                = [[File:XboxSeriesX RT.png|25px|Right trigger|link=]]
| rt                = [[File:XboxSeriesX RT.png|25px|Right trigger|link=]]
| #default    = {{{1}}}
| #default    = {{{1}}}
}}{{#switch:{{lc:{{{2|}}}}}
| up    = ↑
| down  = ↓
| right = →
| 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)].
Line 32: Line 44:
; Result
; Result
{{xboxbutton|x}}
{{xboxbutton|x}}
; Wikitext
<pre>
{{xboxbutton|thumb-right|up}}
</pre>
; Result
{{xboxbutton|thumb-right|up}}
; Wikitext
<pre>
{{xboxbutton|thumb-left|left}}
</pre>
; Result
{{xboxbutton|thumb-left|left}}


== List of buttons ==
== List of buttons ==
{| class='wikitable'
|}


[[Category: Templates]]
[[Category: Templates]]
Line 48: Line 73:
"type": "string",
"type": "string",
"required": true
"required": true
},
"2": {
"label": "Direction",
"description": "The direction in which the joystick must be pushed.",
"type": "string"
}
}
},
},

Navigation menu