Template:Infobox game: Difference between revisions

From fattwiki
m (Rigormorphis moved page Template:Infobox Game to Template:Infobox game: make consistent with template naming for other infoboxes)
(Add TemplateData to make infobox work with visual editor)
Tag: 2017 source edit
Line 31: Line 31:
}}
}}
</pre>
</pre>
[[Category:Infoboxes]]
<templatedata>
</noinclude>
{
"params": {
"title": {
"label": "Title",
"description": "Title of the game",
"example": "World Wide Wrestling",
"type": "content",
"default": "Defaults to page name",
"required": true
},
"image": {
"label": "Image",
"description": "Game cover art",
"example": "World Wide Wrestling RPG.png",
"type": "string"
},
"caption": {
"label": "Caption",
"description": "Image caption",
"example": "Cover art",
"type": "content"
},
"creators": {
"label": "Creator(s)",
"description": "Creator(s) of the game",
"example": "Nathan D. Paoletta",
"type": "content",
"suggested": true
},
"players": {
"label": "Players",
"description": "Number of players the game is designed for",
"example": "3-9",
"type": "content"
},
"link": {
"label": "Link",
"description": "External link to the game",
"example": "[https://ndpdesign.com/wwwrpg Official site]",
"type": "content",
"suggested": true
},
"appears_in": {
"label": "Appears In",
"description": "Episodes, arcs, or seasons of Friends at the Table where the game is played",
"example": "[[The Grapplers Down at Promenade Arena]]",
"type": "content",
"suggested": true
}
}
}
</templatedata>
[[Category:Infoboxes]]</noinclude>

Revision as of 14:52, 23 November 2023

Example usage:

{{Infobox Game
 | title       = Example
 | image       = Example
 | caption     = Example
 | creators    = Example
 | players     = Example
 | link        = Example
 | appears_in  = Example
}}

No description.

Template parameters

ParameterDescriptionTypeStatus
Titletitle

Title of the game

Default
Defaults to page name
Example
World Wide Wrestling
Contentrequired
Imageimage

Game cover art

Example
World Wide Wrestling RPG.png
Stringoptional
Captioncaption

Image caption

Example
Cover art
Contentoptional
Creator(s)creators

Creator(s) of the game

Example
Nathan D. Paoletta
Contentsuggested
Playersplayers

Number of players the game is designed for

Example
3-9
Contentoptional
Linklink

External link to the game

Example
[https://ndpdesign.com/wwwrpg Official site]
Contentsuggested
Appears Inappears_in

Episodes, arcs, or seasons of Friends at the Table where the game is played

Example
[[The Grapplers Down at Promenade Arena]]
Contentsuggested