Template:TownData/doc
Template page
More actions
Use this template at the top of a community town page. It creates a town-data box and stores Semantic MediaWiki properties used by Community:Towns and other town queries.
Usage
{{TownData
|townname=
|townarms=
|leader=
|commander=
|established=
|biome=
|size=
|tier=
|members=
|npcs=
|pvp=
|roleplay=
|location=
|coordinates=
|continent=
|towntype=
}}
Parameters
| Parameter | Description |
|---|---|
townname |
Display name of the town. Defaults to the page name when omitted. |
townarms |
Filename of the town-arms image, without File:.
|
leader |
Town leader or governor. |
commander |
Town commander. |
established |
Establishment date. Use an unambiguous date, preferably YYYY-MM-DD. The template stores Unknown with a future placeholder date when omitted.
|
biome |
Town biome or scene type. Defaults to Unknown.
|
size |
Town capacity in square meters, entered as a number without the unit. Defaults to Unknown and stores zero when omitted.
|
tier |
Administrative Player Owned Town tier. This is separate from numeric capacity and is omitted when unknown. |
members |
Current community-member count. Defaults to Unknown and stores zero when omitted.
|
npcs |
Number of town NPCs. Defaults to Unknown and stores zero when omitted.
|
pvp |
Community's PvP classification. Defaults to Unknown.
|
roleplay |
Community's role-playing classification. Defaults to Unknown.
|
location |
In-game region or parent location. Defaults to Unknown.
|
coordinates |
In-game coordinates displayed in the box. |
continent |
Continent used with coordinates to store the semantic map position. Both values are required for that property.
|
towntype |
Optional player-owned-town type stored in the Is towntype property.
|
All pages that transclude this template are marked as created player-town records for semantic queries. Keep manually entered counts and leadership information current.