Actions

Template

Difference between revisions of "CityInfoBox"

m (Updated description)
m (Styling and fixed a typo)
Line 16: Line 16:
 
</includeonly>
 
</includeonly>
 
<noinclude>
 
<noinclude>
{{CityInfoBox|title=A Test City|image=byAllah.jpg|population=6969|parentLocation=Some state|group=Some Group|demonym=Chads|districts=District A, District B}}
+
{{CityInfoBox
 +
    |title=A Test City
 +
    |image=byAllah.jpg
 +
    |population=6969
 +
    |parentLocation=Some state
 +
    |group=[[Some Group]]
 +
    |demonym=Chads
 +
    |districts=District A, District B
 +
}}
 
<templatedata>
 
<templatedata>
 
{
 
{
Line 22: Line 30:
 
"image": {
 
"image": {
 
"label": "Image",
 
"label": "Image",
"description": "An image, could be a map or a picutre of the city",
+
"description": "An image, could be a map or a picture of the city",
 
"type": "wiki-file-name"
 
"type": "wiki-file-name"
 
},
 
},

Revision as of 21:11, 17 September 2020



A Test City
ByAllah.jpg
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

Template parameters

ParameterDescriptionTypeStatus
Imageimage

An image, could be a map or a picture of the city

Fileoptional
Populationpopulation

The number of people in the city

Example
31000
Numberrequired
Parent LocationparentLocation

The location that this location is within

Pageoptional
Demonymdemonym

The name to describe the people from this city

Example
Rathirian
Stringoptional
Districtsdistricts

The districts of the city

Contentoptional
Titletitle

The name of the location

Unknownoptional