Template:Game: Difference between revisions
Template page
More actions
BananaFalls (talk | contribs) Created page with "<div style="float:right; padding-left: 5px;"> {| class="wikitable" style="float: right; width: 275px;" ! colspan="2" style="text-align:center; font-size: 20px; font-weight: 600;" | {{{title|{{PAGENAME}}}}} |- ! colspan="2" style="text-align: center;" | [[File:{{{image}}}|64x64px|link=]] |- ! colspan="2" style="text-align: center; font-weight:600; font-size: 15px;" | Overview |- ! style="text-align: left; border-right: transparent;" | Game Type ! style="text-align: left;..." |
Undo revision 8279 by MTOnline69 (talk) Tag: Undo |
||
(33 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
< | <infobox> | ||
{ | <title source="title"> | ||
<default>{{PAGENAME}}</default> | |||
</title> | |||
<data source="image"> | |||
<format>[[File:{{{image}}}|link=|class=infobox-image]]</format> | |||
</data> | |||
<data source="description"> | |||
<format><center>{{{description}}}</center></format> | |||
</data> | |||
<group> | |||
<header><center>General Information</center></header> | |||
<data source="type"> | |||
<label>Game Type</label> | |||
</data> | |||
<data source="abbreviation"> | |||
<label>Abbreviation</label> | |||
</data> | |||
{ | <data source="introduced"> | ||
<label>Introduced</label> | |||
{ | </data> | ||
<data source="maps"> | |||
<label>Maps</label> | |||
</data> | |||
</ | </group> | ||
<group> | |||
<header><center>Round Information</center></header> | |||
<data source="rounds"> | |||
<label>Rounds</label> | |||
</data> | |||
<data source="duration"> | |||
<label>Round Duration</label> | |||
</data> | |||
<data source="players"> | |||
<label>Players</label> | |||
</data> | |||
</group> | |||
</infobox> | |||
<includeonly>[[Category:Games]]</includeonly> | |||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"image": { | |||
"label": "Image", | |||
"description": "Game logo", | |||
"type": "wiki-file-name", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"description": { | |||
"description": "The game's description in the Navigator", | |||
"type": "string", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"abbreviation": { | |||
"label": "Abbreviation", | |||
"description": "The game's abbreviation", | |||
"example": "BB", | |||
"type": "string", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"introduced": { | |||
"label": "Introduced", | |||
"description": "Patch and date introduced", | |||
"example": "[[0.9.0]] (July 4th, 2023)", | |||
"type": "string", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"maps": { | |||
"label": "Maps", | |||
"description": "Number of maps", | |||
"type": "number" | |||
}, | |||
"rounds": { | |||
"label": "Rounds", | |||
"description": "Number of rounds per game", | |||
"type": "number", | |||
"suggested": true | |||
}, | |||
"duration": { | |||
"label": "Duration", | |||
"description": "The duration of each round (excluding modifiers) ", | |||
"example": "2 Minutes", | |||
"type": "string" | |||
}, | |||
"players": { | |||
"label": "Players", | |||
"description": "Number of players.", | |||
"example": "16-20", | |||
"type": "string", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"type": { | |||
"label": "Type", | |||
"description": "Type of game", | |||
"example": "Movement", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"Movement", | |||
"PvP" | |||
], | |||
"required": true, | |||
"suggested": true | |||
} | |||
}, | |||
"description": "Adds a game infobox to the page.", | |||
"paramOrder": [ | |||
"image", | |||
"description", | |||
"type", | |||
"abbreviation", | |||
"introduced", | |||
"maps", | |||
"rounds", | |||
"duration", | |||
"players" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> |
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 |