Template:Key/doc

From Astroneer Wiki
Jump to navigation Jump to search
Documentation

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

  • {{Key|PC W}} Generates: W
  • {{key|PC Backspace}} Generates: Backspace
  • {{key|PC Left Click}} Generates: Left Click

Icon Code List

Code Output
PC A A
PC B B
PC C C
PC D D
PC E E
PC F F
PC G G
PC H H
PC I I
PC J J
PC K K
PC L L
PC M M
PC N N
PC O O
PC P P
PC Q Q
PC R R
PC S S
PC T T
PC U U
PC V V
PC W W
PC X X
PC Y Y
PC Z z
PC 1 1
PC 2 2
PC 3 3
PC 4 4
PC 5 5
PC 6 6
PC 7 7
PC 8 8
PC 9 9
PC 0 0
PC LEft Left
PC Up Up
PC Right Right
PC Down Down
PC CTRL CTRL
PC Alt Alt
PC Shift Shift
PC Enter Enter
PC Backspace Backspace
PC Tab Tab
PC Space Spacebar
PC Esc Esc
PC Left Click Left Click
PC Middle Click Middle Click
PC Right Click Right Click
PC Move Move Mouse

Xbox One Controller

Examples

  • {{Key|Xbox A}} Generates: Xbox One - A
  • {{Key|Xbox Menu}} Generates: Xbox One - Menu Button

Icon Code List

Code Output Description
Xbox A Xbox One - A A button
Xbox B Xbox One - B B button
Xbox X Xbox One - X X button
Xbox Y Xbox One - Y Y button
Xbox LT Xbox One - LT Left trigger
Xbox RT Xbox One - RT Right trigger
Xbox LB Xbox One - LB Left bumper
Xbox RB Xbox One - RB Right bumper
Xbox Left Stick Xbox One - Left Stick Left stick
Xbox Right Stick Xbox One - Right Stick Right stick
Xbox L3 Xbox One - Left Stick Click Left stick click
Xbox R3 Xbox One - Right Stick Click Right stick click
Xbox D Xbox One - D-Pad D-Pad
Xbox Left Xbox One - D-Pad Left D-Pad left
Xbox Up Xbox One - D-Pad Up D-Pad up
Xbox Right Xbox One - D-Pad Right D-Pad right
Xbox Down Xbox One - D-Pad Down D-Pad down
Xbox Menu Xbox One - Menu Button Start/Menu button
Xbox Back Xbox One - Back Button Back/View button

PS4 Controller

Examples

  • {{Key|PS4 L1}} Generates: PS4 - L1
  • {{Key|PS4 Circle}} Generates: PS4 - Circle

Icon Code List

Code Output Description
PS4 Circle PS4 - Circle Circle button
PS4 Cross PS4 - Cross Cross button
PS4 Square PS4 - Square Square button
PS4 Triangle PS4 - Triangle Triangle button
PS4 Up PS4 - D-Pad Up D-Pad Up
PS4 Left PS4 - D-Pad Left D-Pad Left
PS4 Down PS4 - D-Pad Down D-Pad Down
PS4 Right PS4 - D-Pad Right D-Pad Right
PS4 R1 PS4 - R1 R1 button
PS4 R2 PS4 - R2 R2 button
PS4 R3 PS4 - R3 R3 button
PS4 L1 PS4 - L1 L1 button
PS4 L2 PS4 - L2 L2 button
PS4 L3 PS4 - L3 L3 button
PS4 Right Stick PS4 - Right Stick Right Analog Stick
PS4 Left Stick PS4 - Left Stick Left Analog Stick
PS4 Touch Pad PS4 - Touch Pad Touch Pad
PS4 Share PS4 - Share Share button
PS4 Options PS4 - Options Options button

Switch Controller

Examples

  • {{Key|Switch L}} Generates: Switch - L
  • {{Key|Switch Plus}} Generates: Switch - Plus

Icon Code List

Code Output Description
Switch A Switch - A A button
Switch B Switch - B B button
Switch X Switch - X X button
Switch Y Switch - Y Y button
Switch Left Switch - Left Left D-Pad button
Switch Up Switch - Up Up D-Pad button
Switch Right Switch - Right Right D-Pad button
Switch Down Switch - Right Down D-Pad button
Switch L Switch - L Left bumper button
Switch R Switch - R Right bumper button
Switch ZL Switch - ZL ZL trigger button
Switch ZR Switch - ZR ZR trigger button
Switch Left Stick Switch - Left Stick Left Analog Stick
Switch Right Stick Switch - Right Stick Right Analog Stick
Switch L3 Switch - L3 Left Analog Stick click
Switch R3 Switch - R3 Right Analog Stick click
Switch Minus Switch - Minus Minus button
Switch Plus Switch - Plus Plus button

Other Information

This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.