Template:Button
Jump to navigation
Jump to search
If you want to display a fancy button icon instead of a boring written version, use this template. The button vector graphics can be found here.
Usage
The table below lists all of the currently supported codes, and what icon will be displayed when used.
| Code | Result |
|---|---|
| Universal buttons | |
{{button|cross}}{{button|x}} |
|
{{button|circle}}{{button|o}} |
|
{{button|square}}
|
|
{{button|triangle}}
|
|
{{button|dpad}}
|
|
{{button|dpadup}}
|
|
{{button|dpaddown}}
|
|
{{button|dpadleft}}
|
|
{{button|dpadright}}
|
|
{{button|dpadud}}
|
|
{{button|dpadlr}}
|
|
{{button|lstick}}
|
|
{{button|l1}}
|
|
{{button|l2}}
|
|
{{button|l3}}
|
|
{{button|rstick}}
|
|
{{button|r1}}
|
|
{{button|r2}}
|
|
{{button|r3}}
|
|
{{button|home}}{{button|ps}} |
|
| DualShock 3 buttons | |
{{button|ps3|start}}
|
|
{{button|ps3|select}}
|
|
| PlayStation Move buttons | |
{{button|psmove|move}}
|
|
{{button|psmove|t}}
|
|
{{button|psmove|start}}
|
|
{{button|psmove|select}}
|
|
| PlayStation Portable buttons | |
{{button|psp|stick}}
|
|
{{button|psp|l}}
|
|
{{button|psp|r}}
|
|
{{button|psp|start}}
|
|
{{button|psp|select}}
|
|
{{button|psp|home}}
|
|
{{button|psp|display}}
|
|
{{button|psp|sound}}
|
|
| PlayStation Vita buttons | |
{{button|vita|l}}
|
|
{{button|vita|r}}
|
|
{{button|vita|start}}
|
|
{{button|vita|select}}
|
|
{{button|vita|home}}{{button|vita|ps}} |
|
| DualShock 4 buttons | |
{{button|ps4|touch}}
|
|
{{button|ps4|options}}
|
|
{{button|ps4|share}}
|
|
| DualSense buttons | |
{{button|ps5|touch}}
|
|
{{button|ps5|options}}
|
|
{{button|ps5|create}}
|
|
Class
By default, the button template uses the invert class to adapt to dark themes. To specify a different CSS class (or disable the effect entirely), use the class parameter.
e.g. {{button|cross|class=image-red}} produces a red Cross Button