Template:Controlstable/Documentation

From StrategyWiki, the video game walkthrough and strategy guide wiki

Template to put at the top of control table declarations to standardize and prettify their appearance.

Example[edit]

From Sonic Riders/Controls.

GameCube PS2 Xbox Windows 1 Windows 2 Controls
Neutral control or Neutral dpad Neutral lstick Neutral lstick  ↑ 
 ↓ 
8
46
2
Change highlighted selection
A button Cross button A button X End Enter Selection
B button Triangle button B button Z Home Cancel/Return to previous screen

Example markup[edit]

{| {{controlstable}}
! GameCube
! PS2
! Xbox
! Windows 1
! Windows 2
! style="width:30%" | Controls
|-
|{{gc|Neutral|Control}} or {{gc|Neutral|Dpad}}||{{psx|Neutral|Lstick}}||{{xbox|Neutral|Lstick}}||{{kbd|up}}<br/>{{kbd|left}}{{kbd|down}}{{kbd|right}}||{{kbd|8}}<br/>{{kbd|4}}{{kbd|}}{{kbd|6}}<br/>{{kbd|2}}
|{{desc}} Change highlighted selection
|-
|{{gc|A}}||{{psx|X}}||{{xbox|A}}||{{kbd|X}}||{{kbd|End}}
|{{desc}} Enter Selection
|-
|{{gc|B}}||{{psx|T}}||{{xbox|B}}||{{kbd|Z}}||{{kbd|Home}}
|{{desc}} Cancel/Return to previous screen
|}