Jump to navigation
Jump to search
m (link) |
(Changing to use controltable CSS class) |
||
Line 1: | Line 1: | ||
{{prettytable| | {{prettytable|class=controltable}}<noinclude>{{delete|pending outcome of [[StrategyWiki:Staff_lounge/2010/January#Control table styles|table style discussion]]}} | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Templates|C]]</noinclude> | [[Category:Templates|C]]</noinclude> |
Revision as of 06:26, 25 June 2010
class="wikitable prettytable controltable" style="width:100%;"
This page has been transcluded from Template:Controlstable/Documentation.
Template to put at the top of control table declarations to standardize and prettify their appearance.
Example
From Sonic Riders/Controls.
GameCube | PS2 | Xbox | Windows 1 | Windows 2 | Controls |
---|---|---|---|---|---|
or | ↑ ← ↓ → |
8 4 6 2 |
Change highlighted selection | ||
X | End | Enter Selection | |||
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|T}}||{{xbox|B}}||{{kbd|Z}}||{{kbd|Home}} |{{desc}} Cancel/Return to previous screen |}