Template:Key/doc
Jump to navigation
Jump to search
Documentation
[purge]
This template displays icons of either keyboard keys, mouse buttons or controller buttons.
Usage
Use {{Key|Icon code}}
, with the code depending on the control scheme. See below.
PC Controls
If the parameter is not identified as an icon code, the template will generate a key icon based on the parameter text without any case change.
Examples
Icon Code List
Code | Output |
---|---|
PC A | |
PC B | |
PC C | |
PC D | |
PC E | |
PC F | |
PC G | |
PC H | |
PC I | |
PC J | |
PC K | |
PC L | |
PC M | |
PC N | |
PC O | |
PC P | |
PC Q | |
PC R | |
PC S | |
PC T | |
PC U | |
PC V | |
PC W | |
PC X | |
PC Y | |
PC Z | |
PC 1 | |
PC 2 | |
PC 3 | |
PC 4 | |
PC 5 | |
PC 6 | |
PC 7 | |
PC 8 | |
PC 9 | |
PC 0 | |
PC LEft | |
PC Up | |
PC Right | |
PC Down | |
PC CTRL | |
PC Alt | |
PC Shift | |
PC Enter | |
PC Backspace | |
PC Tab | |
PC Space | |
PC Esc | |
PC Left Click | |
PC Middle Click | |
PC Right Click | |
PC Move |
Xbox One Controller
Examples
Icon Code List
Code | Output | Description |
---|---|---|
Xbox A | A button | |
Xbox B | B button | |
Xbox X | X button | |
Xbox Y | Y button | |
Xbox LT | Left trigger | |
Xbox RT | Right trigger | |
Xbox LB | Left bumper | |
Xbox RB | Right bumper | |
Xbox Left Stick | Left stick | |
Xbox Right Stick | Right stick | |
Xbox L3 | Left stick click | |
Xbox R3 | Right stick click | |
Xbox D | D-Pad | |
Xbox Left | D-Pad left | |
Xbox Up | D-Pad up | |
Xbox Right | D-Pad right | |
Xbox Down | D-Pad down | |
Xbox Menu | Start/Menu button | |
Xbox Back | Back/View button |
PS4 Controller
Examples
Icon Code List
Code | Output | Description |
---|---|---|
PS4 Circle | Circle button | |
PS4 Cross | Cross button | |
PS4 Square | Square button | |
PS4 Triangle | Triangle button | |
PS4 Up | D-Pad Up | |
PS4 Left | D-Pad Left | |
PS4 Down | D-Pad Down | |
PS4 Right | D-Pad Right | |
PS4 R1 | R1 button | |
PS4 R2 | R2 button | |
PS4 R3 | R3 button | |
PS4 L1 | L1 button | |
PS4 L2 | L2 button | |
PS4 L3 | L3 button | |
PS4 Right Stick | Right Analog Stick | |
PS4 Left Stick | Left Analog Stick | |
PS4 Touch Pad | Touch Pad | |
PS4 Share | Share button | |
PS4 Options | Options button |
Switch Controller
Examples
Icon Code List
Code | Output | Description |
---|---|---|
Switch A | A button | |
Switch B | B button | |
Switch X | X button | |
Switch Y | Y button | |
Switch Left | Left D-Pad button | |
Switch Up | Up D-Pad button | |
Switch Right | Right D-Pad button | |
Switch Down | Down D-Pad button | |
Switch L | Left bumper button | |
Switch R | Right bumper button | |
Switch ZL | ZL trigger button | |
Switch ZR | ZR trigger button | |
Switch Left Stick | Left Analog Stick | |
Switch Right Stick | Right Analog Stick | |
Switch L3 | Left Analog Stick click | |
Switch R3 | Right Analog Stick click | |
Switch Minus | Minus button | |
Switch Plus | Plus button |
Other Information
- Icon files used in this template are all categorized to Category:Control icons.
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.