Jump to navigation
Jump to search
Notmyhandle (talk | contribs) (Expanded: clarified how it works & added example) |
m (cleanup) |
||
Line 15: | Line 15: | ||
|- | |- | ||
|{{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}} | |{{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}} | ||
|Change highlighted selection | |{{desc}} Change highlighted selection | ||
|- | |- | ||
|{{gc|A}}||{{psx|X}}||{{xbox|A}}||{{kbd|X}}||{{kbd|End}} | |{{gc|A}}||{{psx|X}}||{{xbox|A}}||{{kbd|X}}||{{kbd|End}} | ||
|Enter Selection | |{{desc}} Enter Selection | ||
|- | |- | ||
|{{gc|B}}||{{psx|C}}||{{xbox|B}}||{{kbd|Z}}||{{kbd|Home}} | |{{gc|B}}||{{psx|C}}||{{xbox|B}}||{{kbd|Z}}||{{kbd|Home}} | ||
|Cancel/Return to previous screen | |{{desc}} Cancel/Return to previous screen | ||
|} | |} | ||
Line 35: | Line 35: | ||
|- | |- | ||
|{{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}} | |{{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}} | ||
|Change highlighted selection | |{{desc}} Change highlighted selection | ||
|- | |- | ||
|{{gc|A}}||{{psx|X}}||{{xbox|A}}||{{kbd|X}}||{{kbd|End}} | |{{gc|A}}||{{psx|X}}||{{xbox|A}}||{{kbd|X}}||{{kbd|End}} | ||
|Enter Selection | |{{desc}} Enter Selection | ||
|- | |- | ||
|{{gc|B}}||{{psx|C}}||{{xbox|B}}||{{kbd|Z}}||{{kbd|Home}} | |{{gc|B}}||{{psx|C}}||{{xbox|B}}||{{kbd|Z}}||{{kbd|Home}} | ||
|Cancel/Return to previous screen | |{{desc}} Cancel/Return to previous screen | ||
|} | |} | ||
</pre> | </pre><noinclude> | ||
[[Category:Template documentation]]</noinclude> |
Revision as of 07:38, 20 January 2021
Template to put at the top of control table declarations to standardize and prettify their appearance. It inserts:
{{prettytable|class=controltable}}
The result is visually equivalent to {{prettytable|textcenter=1}}.
Example
From Sonic Riders/Controls.
GameCube | PS2 | Xbox | Windows 1 | Windows 2 | Control |
---|---|---|---|---|---|
or | ↑ ← ↓ → |
8 4 6 2 |
Change highlighted selection | ||
X | End | Enter Selection | |||
Z | Home | Cancel/Return to previous screen |
Example markup
{| {{controlstable}} !width="10%"|GameCube !width="10%"|PS2 !width="10%"|Xbox !width="10%"|Windows 1 !width="10%"|Windows 2 !Control |- |{{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 |}