Difference between revisions of "TownInfoBox"
m (Fixed parent location) |
(Added type to allow for town/village) |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
− | {{LocationInfoBox|title={{{title|}}}|image={{{image}}}|population={{{population|}}}|parentLocationType=Province|parentLocation={{{parentLocation}}}|group={{{group|}}}|extraContent= | + | {{LocationInfoBox|title={{{title|}}}|type={{{type|}}}|image={{{image}}}|population={{{population|}}}|parentLocationType=Province|parentLocation={{{parentLocation}}}|group={{{group|}}}|extraContent= |
{{#if: {{{demonym|}}}| | {{#if: {{{demonym|}}}| | ||
<tr> | <tr> | ||
Line 40: | Line 40: | ||
"label": "Title", | "label": "Title", | ||
"description": "The name of the location" | "description": "The name of the location" | ||
+ | }, | ||
+ | "type": { | ||
+ | "label": "Type", | ||
+ | "description": "Is this a town or village", | ||
+ | "example": "Town, village", | ||
+ | "type": "string" | ||
+ | }, | ||
+ | "group": { | ||
+ | "label": "Groups", | ||
+ | "description": "Any notable groups linked to this town", | ||
+ | "type": "string" | ||
} | } | ||
}, | }, |
Revision as of 15:27, 20 September 2020
A Test Town | |
---|---|
Population: | 6969 |
Located in: | Some Province |
Associated Group(s): | Some Group |
Demonym: | Chads |
The town info box template shows as follows, should be used for towns and villages
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | An image, could be a map or a picutre of the town or village | File | optional |
Population | population | The number of people in the town or village
| Number | required |
Parent Location | parentLocation | The province that this town or village is within | Page | optional |
Demonym | demonym | The name to describe the people from this city
| String | optional |
Title | title | The name of the location | Unknown | optional |
Type | type | Is this a town or village
| String | optional |
Groups | group | Any notable groups linked to this town | String | optional |