Difference between revisions of "TownInfoBox"
m (Spacing) |
m (Fixed image not being optional) |
||
Line 1: | Line 1: | ||
− | <includeonly>{{LocationInfoBox|title={{{title|}}}|type={{{type|}}}|image={{{image}}}|population={{{population|}}}|parentLocation={{{parentLocation}}}|group={{{group|}}}|extraContent={{#if: {{{demonym|}}}| <tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Demonym</b>:</td><td>{{{demonym}}}</td></tr>}}}}</includeonly><noinclude>{{TownInfoBox|title=A Test Town|image=byAllah.jpg|population=6969|parentLocation=Some Province|group=Some Group|demonym=Chads|type=Town}}<templatedata>{"params": {"image": {"label": "Image","description": "An image, could be a map or a picutre of the town or village","type": "wiki-file-name"},"population": {"label": "Population","description": "The number of people in the town or village","example": "31000","type": "number","required": true},"parentLocation": {"label": "Parent Location","description": "The province that this town or village is within","type": "wiki-page-name"},"demonym": {"label": "Demonym","description": "The name to describe the people from this city","example": "Rathirian","type": "string"},"title": {"label": "Title","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"}},"description": "The town info box template shows as follows, should be used for towns and villages"}</templatedata></noinclude> | + | <includeonly>{{LocationInfoBox|title={{{title|}}}|type={{{type|}}}|image={{{image|}}}|population={{{population|}}}|parentLocation={{{parentLocation}}}|group={{{group|}}}|extraContent={{#if: {{{demonym|}}}| <tr><td class="infoboxtd1strow" style="padding: 10px;"><b>Demonym</b>:</td><td>{{{demonym}}}</td></tr>}}}}</includeonly><noinclude>{{TownInfoBox|title=A Test Town|image=byAllah.jpg|population=6969|parentLocation=Some Province|group=Some Group|demonym=Chads|type=Town}}<templatedata>{"params": {"image": {"label": "Image","description": "An image, could be a map or a picutre of the town or village","type": "wiki-file-name"},"population": {"label": "Population","description": "The number of people in the town or village","example": "31000","type": "number","required": true},"parentLocation": {"label": "Parent Location","description": "The province that this town or village is within","type": "wiki-page-name"},"demonym": {"label": "Demonym","description": "The name to describe the people from this city","example": "Rathirian","type": "string"},"title": {"label": "Title","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"}},"description": "The town info box template shows as follows, should be used for towns and villages"}</templatedata></noinclude> |
Latest revision as of 23:20, 9 November 2021
A Test Town | |
---|---|
Type: | Town |
Population: | 6969 |
Province: | 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 |