Jump to content

Template:Infobox: Difference between revisions

From The Three Kingdoms
No edit summary
No edit summary
Line 6: Line 6:
     <th>Type</th>
     <th>Type</th>
     <td>{{{type}}}</td>
     <td>{{{type}}}</td>
</tr>}}{{#if:{{{size|}}}|<tr>
    <th>Size</th>
    <td>{{{size}}}</td>
</tr>}}{{#if:{{{population|}}}|<tr>
</tr>}}{{#if:{{{population|}}}|<tr>
     <th>Population</th>
     <th>Population</th>
Line 28: Line 25:
</tr>}}</table>
</tr>}}</table>
</div>
</div>
<noinclude>
<templatedata>
{
"params": {
"title": {
"label": "Title",
"description": "Name of the population centre",
"example": "Barlowe",
"type": "string",
"required": true
},
"image": {
"label": "Town Map",
"type": "wiki-file-name"
},
"type": {
"label": "Population Centre Type",
"description": "Whether this is a Thorpe, Hamlet, Town, City, Village etc",
"type": "string",
"suggestedvalues": [
"Thorpe",
"Hamlet",
"Village",
"Small town",
"Large town",
"Small city",
"Large city",
"Metropolis"
],
"required": true
},
"population": {},
"gplimit": {},
"readycash": {},
"powercentre": {},
"authorities": {}
},
"description": "Include at-a-glance population centre info for Dungeon Masters",
"paramOrder": [
"title",
"image",
"type",
"population",
"gplimit",
"readycash",
"powercentre",
"authorities"
]
}
</templatedata>
</noinclude>

Revision as of 00:58, 28 December 2024

Infobox

Include at-a-glance population centre info for Dungeon Masters

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Titletitle

Name of the population centre

Example
Barlowe
Stringrequired
Town Mapimage

no description

Fileoptional
Population Centre Typetype

Whether this is a Thorpe, Hamlet, Town, City, Village etc

Suggested values
Thorpe Hamlet Village Small town Large town Small city Large city Metropolis
Stringrequired
populationpopulation

no description

Unknownoptional
gplimitgplimit

no description

Unknownoptional
readycashreadycash

no description

Unknownoptional
powercentrepowercentre

no description

Unknownoptional
authoritiesauthorities

no description

Unknownoptional