Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Psbutton

Template page
Revision as of 14:29, 3 January 2024 by MetalManeMc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation

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

Triangle button

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

Right stick

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

Left stick

Input Name Code Result
Face Buttons
Cross Button {{Psbutton|cross}} Cross button
Circle Button {{Psbutton|circle}} Circle button
Square Button {{Psbutton|square}} Square button
Triangle Button {{Psbutton|triangle}} Triangle button
Directional Buttons
Directional Buttons {{Psbutton|dpad}} Directional buttons
Up Button {{Psbutton|dpad-up}} Up button
Down Button {{Psbutton|dpad-down}} Down button
Left Button {{Psbutton|dpad-left}} Left button
Right Button {{Psbutton|dpad-right}} Right button
Control Sticks
Left Stick {{Psbutton|thumb-left}} Left stick
Right Stick {{Psbutton|thumb-right}} Right stick
L3 Button {{Psbutton|thumb-left-click}} L3 button
R3 Button {{Psbutton|thumb-right-click}} R3 button
Shoulder Buttons & Triggers
L1 Button {{Psbutton|l1}} L1 button
R1 Button {{Psbutton|r1}} R1 button
L2 Button {{Psbutton|l2}} L2 button
R2 Button {{Psbutton|r2}} R2 button
System & Other Buttons
Create Button {{Psbutton|create}} Create button
Options Button {{Psbutton|options}} Options button
Touch Pad {{Psbutton|touchpad}} Touch pad
Touch Pad Button {{Psbutton|touchpad-button}} Touch pad button

Template data

This template displays a PS5 controller button.

Template parameters

ParameterDescriptionTypeStatus
Button1

Which button to be displayed.

Stringrequired
Direction2

The direction in which the joystick must be pushed.

Stringoptional