Template:Game: Difference between revisions
Template page
More actions
TheMysterys (talk | contribs) Changed infobox type |
TheMysterys (talk | contribs) m Added template data |
||
Line 26: | Line 26: | ||
</data> | </data> | ||
</infobox> | </infobox> | ||
<noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"image": { | |||
"label": "Image", | |||
"description": "Game logo", | |||
"type": "wiki-file-name", | |||
"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", | |||
"required": true, | |||
"suggested": true | |||
}, | |||
"duration": { | |||
"label": "Duration", | |||
"description": "The duration of each round (excluding modifiers) ", | |||
"example": "2 mins", | |||
"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", | |||
"type", | |||
"abbreviation", | |||
"introduced", | |||
"maps", | |||
"rounds", | |||
"duration", | |||
"players" | |||
], | |||
"format": "block" | |||
} | |||
</templatedata> | |||
</noinclude> |
Revision as of 22:11, 23 August 2023
Adds a game infobox to the page.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | Game logo | File | 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 | required |
Duration | duration | The duration of each round (excluding modifiers)
| String | optional |
Players | players | Number of players.
| String | required |