Difference between revisions of "CityInfoBox"
m (Added type) |
m (Added capital) |
||
Line 2: | Line 2: | ||
{{LocationInfoBox | {{LocationInfoBox | ||
|title={{{title|}}} | |title={{{title|}}} | ||
− | |type=City | + | |type={{#if: {{{capital}}} | Capital City | City}} |
|image={{{image}}} | |image={{{image}}} | ||
|population={{{population|}}} | |population={{{population|}}} | ||
Line 66: | Line 66: | ||
"label": "Title", | "label": "Title", | ||
"description": "The name of the location" | "description": "The name of the location" | ||
+ | }, | ||
+ | "capital": { | ||
+ | "label": "Capital", | ||
+ | "description": "Is the city a capital", | ||
+ | "example": "yes, true, no, false", | ||
+ | "type": "boolean", | ||
+ | "default": "no", | ||
+ | "required": true | ||
+ | }, | ||
+ | "group": { | ||
+ | "label": "Groups", | ||
+ | "description": "Any associated groups", | ||
+ | "type": "string" | ||
} | } | ||
}, | }, |
Revision as of 22:07, 17 September 2020
A Test City | |
---|---|
Type: | Capital City |
Population: | 6969 |
Located in: | Some state |
Associated Group(s): | Some Group |
Demonym: | Chads |
Districts: | District A, District B |
The city info box template shows as follows
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | An image, could be a map or a picture of the city | File | optional |
Population | population | The number of people in the city
| Number | required |
Parent Location | parentLocation | The location that this location is within | Page | optional |
Demonym | demonym | The name to describe the people from this city
| String | optional |
Districts | districts | The districts of the city | Content | optional |
Title | title | The name of the location | Unknown | optional |
Capital | capital | Is the city a capital
| Boolean | required |
Groups | group | Any associated groups | String | optional |