Template:Game: Difference between revisions
Template page
More actions
Test |
Undo revision 8279 by MTOnline69 (talk) Tag: Undo |
||
(5 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
</title> | </title> | ||
<data source="image"> | <data source="image"> | ||
<format>[[File:{{{image}}}|link=|class=infobox-image]]</format> | |||
</data> | |||
<data source="description"> | |||
<format><center>{{{description}}}</center></format> | |||
</data> | </data> | ||
<group> | <group> | ||
<header>General Information</header> | <header><center>General Information</center></header> | ||
<data source="type"> | <data source="type"> | ||
<label>Game Type</label> | <label>Game Type</label> | ||
Line 22: | Line 25: | ||
</group> | </group> | ||
<group> | <group> | ||
<header>Round Information</header> | <header><center>Round Information</center></header> | ||
<data source="rounds"> | <data source="rounds"> | ||
<label>Rounds</label> | <label>Rounds</label> | ||
Line 32: | Line 35: | ||
<label>Players</label> | <label>Players</label> | ||
</data> | </data> | ||
<group> | </group> | ||
</infobox> | </infobox> | ||
<includeonly>[[Category:Games]]</includeonly> | <includeonly>[[Category:Games]]</includeonly> | ||
Line 46: | Line 49: | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"description": { | |||
"description": "The game's description in the Navigator", | |||
"type": "string", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"abbreviation": { | "abbreviation": { | ||
"label": "Abbreviation", | "label": "Abbreviation", | ||
Line 103: | Line 112: | ||
"paramOrder": [ | "paramOrder": [ | ||
"image", | "image", | ||
"description", | |||
"type", | "type", | ||
"abbreviation", | "abbreviation", |
Latest revision as of 12:10, 20 November 2024
Adds a game infobox to the page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | Game logo | File | required |
description | description | The game's description in the Navigator | String | required |
Type | type | Type of game
| String | required |
Abbreviation | abbreviation | The game's abbreviation
| String | required |
Introduced | introduced | Patch and date introduced
| String | required |
Maps | maps | Number of maps | Number | optional |
Rounds | rounds | Number of rounds per game | Number | suggested |
Duration | duration | The duration of each round (excluding modifiers)
| String | optional |
Players | players | Number of players.
| String | required |