Template:Infobox: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 31: | Line 31: | ||
<th>Militia Strength</th> | <th>Militia Strength</th> | ||
<td>{{{militia}}}</td> | <td>{{{militia}}}</td> | ||
</tr>}} | |||
{{#if:{{{notablenpcs|}}}|<tr> | |||
<th>Notable NPCs</th> | |||
<td>{{{notablenpcs}}}</td> | |||
</tr>}} | |||
{{#if:{{{npcclasses|}}}|<tr> | |||
<th>NPCs of each Class</th> | |||
<td>{{{npcclasses}}}</td> | |||
</tr>}}</table> | </tr>}}</table> | ||
</div> | </div> | ||
Line 103: | Line 111: | ||
"example": "Population / 20 (rounded down)", | "example": "Population / 20 (rounded down)", | ||
"type": "number" | "type": "number" | ||
}, | |||
"notablenpcs": { | |||
"label": "Notable NPCs", | |||
"description": "List of notable NPCs in the population centre", | |||
"type": "string" | |||
}, | |||
"npcclasses": { | |||
"label": "NPCs of each class", | |||
"type": "string" | |||
} | } | ||
}, | }, | ||
Line 116: | Line 133: | ||
"authorities", | "authorities", | ||
"guards", | "guards", | ||
"militia" | "militia", | ||
"notablenpcs", | |||
"npcclasses" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 01:25, 28 December 2024
Infobox
Include at-a-glance population centre info for Dungeon Masters
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | title | Name of the population centre
| String | required |
Town Map | image | no description | File | optional |
Population Centre Type | type | Whether this is a Thorpe, Hamlet, Town, City, Village etc
| String | required |
Population | population | Number of adults in the population centre | Number | required |
GP Limit | gplimit | The cost of the most expensive item available for purchase in the population centre | Number | required |
Ready Cash | readycash | GP limit for how much the town can buy or sell until a merchant comes through | Number | required |
Power Centre (Alignment) | powercentre | The type of power centre/s for the population and the alignment of those power centre/s
| String | optional |
Authorities | authorities | Information on Constables / Captains, those who maintain order, not necessarily those in charge | String | optional |
Guards | guards | Information on the full-time guards and soldiers employed by the town | String | optional |
Number of Militia | militia | The number of able-bodied people the town can conscript at a moments notice
| Number | optional |
Notable NPCs | notablenpcs | List of notable NPCs in the population centre | String | optional |
NPCs of each class | npcclasses | no description | String | optional |