Template:Psbutton/doc

From bg3.wiki
< Template:Psbutton
Revision as of 14:30, 3 January 2024 by MetalManeMc (talk | contribs) (documentation for second parameter)
Jump to navigation Jump to search

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

List of buttons

Input Name Code Result
Face Buttons
Cross Button Cross button Cross button
Circle Button Circle button Circle button
Square Button Square button Square button
Triangle Button Triangle button Triangle button
Directional Buttons
Directional Buttons Directional buttons Directional buttons
Up Button Up button Up button
Down Button Down button Down button
Left Button Left button Left button
Right Button Right button Right button
Control Sticks
Left Stick Left stick Left stick
Right Stick Right stick Right stick
L3 Button L3 button L3 button
R3 Button R3 button R3 button
Shoulder Buttons & Triggers
L1 Button L1 button L1 button
R1 Button R1 button R1 button
L2 Button L2 button L2 button
R2 Button R2 button R2 button
System & Other Buttons
Create Button Create button Create button
Options Button Options button Options button
Touch Pad Touch pad Touch pad
Touch Pad Button Touch pad 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