Difference between revisions of "CityInfoBox/sandbox"
< Template:CityInfoBox
(Created city sandbox) |
(Spacing?) |
||
Line 1: | Line 1: | ||
− | <includeonly> | + | <includeonly>{{LocationInfoBox |
− | {{LocationInfoBox | ||
|title={{{title|}}} | |title={{{title|}}} | ||
|type={{#ifexpr: {{{capital|}}} | Capital City | City}} | |type={{#ifexpr: {{{capital|}}} | Capital City | City}} | ||
Line 27: | Line 26: | ||
|demonym=Chads | |demonym=Chads | ||
|districts=District A, District B | |districts=District A, District B | ||
− | |capital=0 | + | |capital=0}}<templatedata> |
− | }} | ||
− | <templatedata> | ||
{ | { | ||
"params": { | "params": { | ||
Line 79: | Line 76: | ||
}, | }, | ||
"description": "The city info box template shows as follows" | "description": "The city info box template shows as follows" | ||
− | } | + | }</templatedata></noinclude> |
− | </templatedata> | ||
− | </noinclude> |
Revision as of 19:24, 4 October 2020
A Test City | |
---|---|
Type: | City |
Population: | 6969 |
Province: | 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 |