Template:Psbutton: Difference between revisions
Jump to navigation
Jump to search
MetalManeMc (talk | contribs) No edit summary |
MetalManeMc (talk | contribs) No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#switch:{{lc:{{{1}}}}} | <includeonly>{{#switch:{{lc:{{{2|}}}}} | ||
| up = | |||
| down = | |||
| right = | |||
| left = ← | |||
| | |||
}}{{#switch:{{lc:{{{1}}}}} | |||
| dpad = [[File:PS5 Dpad.png|25px|Directional buttons|link=]] | | dpad = [[File:PS5 Dpad.png|25px|Directional buttons|link=]] | ||
| dpad-up = [[File:PS5 Dpad Up.png|25px|Up button|link=]] | | dpad-up = [[File:PS5 Dpad Up.png|25px|Up button|link=]] | ||
Line 22: | Line 28: | ||
| r1 = [[File:PS5 R1.png|25px|R1 button|link=]] | | r1 = [[File:PS5 R1.png|25px|R1 button|link=]] | ||
| #default = {{{1}}} | | #default = {{{1}}} | ||
}} | }}{{#switch:{{lc:{{{2|}}}}} | ||
| up = ↑ | |||
| down = ↓ | |||
| right = → | |||
| left = | |||
| | |||
{{ | }}</includeonly><noinclude>{{documentation}} | ||
{ | |||
| | |||
| | |||
| | |||
| | |||
| | |||
Latest revision as of 14:29, 3 January 2024
Diplays a PS5 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
{{psbutton|triangle}}
- Result
- Wikitext
{{psbutton|thumb-right|up}}
- Result
↑
- Wikitext
{{psbutton|thumb-left|left}}
- Result
←
Input Name | Code | Result |
---|---|---|
Face Buttons | ||
Cross Button | {{Psbutton|cross}}
|
|
Circle Button | {{Psbutton|circle}}
|
|
Square Button | {{Psbutton|square}}
|
|
Triangle Button | {{Psbutton|triangle}}
|
|
Directional Buttons | ||
Directional Buttons | {{Psbutton|dpad}}
|
|
Up Button | {{Psbutton|dpad-up}}
|
|
Down Button | {{Psbutton|dpad-down}}
|
|
Left Button | {{Psbutton|dpad-left}}
|
|
Right Button | {{Psbutton|dpad-right}}
|
|
Control Sticks | ||
Left Stick | {{Psbutton|thumb-left}}
|
|
Right Stick | {{Psbutton|thumb-right}}
|
|
L3 Button | {{Psbutton|thumb-left-click}}
|
|
R3 Button | {{Psbutton|thumb-right-click}}
|
|
Shoulder Buttons & Triggers | ||
L1 Button | {{Psbutton|l1}}
|
|
R1 Button | {{Psbutton|r1}}
|
|
L2 Button | {{Psbutton|l2}}
|
|
R2 Button | {{Psbutton|r2}}
|
|
System & Other Buttons | ||
Create Button | {{Psbutton|create}}
|
|
Options Button | {{Psbutton|options}}
|
|
Touch Pad | {{Psbutton|touchpad}}
|
|
Touch Pad Button | {{Psbutton|touchpad-button}}
|
Template data
This template displays a PS5 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 |