From StrategyWiki, the video game walkthrough and strategy guide wiki
< Template:Controlstable
Revision as of 21:17, 2 April 2023 by Prod (talk | contribs) (Undo revision 1021507 by Prod (talk), can't use templatestyles with this template)
Jump to navigation Jump to search

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

{{prettytable|class=controltable}}

Example

From Sonic Riders/Controls.

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

Example markup

{| {{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|C}}||{{xbox|B}}||{{kbd|Z}}||{{kbd|Home}}
|{{desc}} Cancel/Return to previous screen
|}