Template:City: Difference between revisions

From 118Wiki
Jump to navigation Jump to search
(converted to Template:Infobox Wiki)
(Template Data)
 
Line 38: Line 38:
}}</nowiki></pre>
}}</nowiki></pre>


[[Category:Infobox templates|{{PAGENAME}}]]
{{Navbox|TITLE=Template Data|
</noinclude>
<templatedata>
{
"params": {
"image": {
"label": "Image",
"description": "Adds image to the top of the infobox",
"type": "wiki-file-name"
},
"image size": {
"label": "Image size",
"description": "Size of the top image",
"type": "line",
"default": "210px"
},
"image text": {
"label": "Image text",
"description": "A short description of the top image in smaller font",
"example": "View of Paris to the south from the Eiffel Tower",
"type": "line"
},
"name": {
"label": "Name",
"description": "Name of the city",
"example": "Paris",
"type": "line",
"suggested": true
},
"planet": {
"label": "Planet",
"description": "Planet on which the city is located",
"example": "Earth"
},
"system": {
"label": "System",
"description": "The planetary system in which the planet is located",
"example": "Sol System"
},
"region": {
"label": "Region",
"description": "Region (e.g. campaign region) in which the planet is located",
"example": "The Borderlands"
},
"constructed": {
"label": "Constructed",
"description": "The year, date or era on which the city was founded",
"example": "3rd Century"
},
"destroyed": {
"label": "Destroyed",
"description": "The year, date or era on which the city was destroyed"
},
"builder": {
"label": "Builder",
"description": "Who (individual, group, nation etc.) founded the city",
"example": "The Parisii people"
},
"climate": {
"label": "Climate",
"description": "Description of city's climate",
"example": "Oceanic climate"
},
"points": {
"label": "Points of interest",
"description": "A short list of points of interest in the city",
"example": "Palais de la Concorde"
},
"priconmat": {
"label": "Primary Construction Materials",
"description": "What materials is primary used in the buildings",
"example": "Concrete"
},
"population": {
"label": "Population",
"description": "Number of individuals living in the city",
"example": "2.2 million"
},
"affiliation": {
"label": "Affiliation",
"description": "City's membership in factions",
"example": "Federation"
},
"species": {
"label": "Predominant Species",
"description": "Most populous species in the city",
"example": "Humans"
}
},
"description": "Infobox for cities & settlements",
"format": "block"
}
</templatedata>}}
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 09:05, 6 January 2024

City
Location
General Information
Societal Information

Usage instructions

Paste the following code into the top of an article, filling all known fields:

{{city
|name=
|image=
|planet=
|system=
|region=
|constructed=
|destroyed=
|builder=
|climate=
|points=
|priconmat=
|population=
|affiliation=
|species=
}}
Template Data

Infobox for cities & settlements

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Imageimage

Adds image to the top of the infobox

Fileoptional
Image sizeimage size

Size of the top image

Default
210px
Lineoptional
Image textimage text

A short description of the top image in smaller font

Example
View of Paris to the south from the Eiffel Tower
Lineoptional
Namename

Name of the city

Example
Paris
Linesuggested
Planetplanet

Planet on which the city is located

Example
Earth
Unknownoptional
Systemsystem

The planetary system in which the planet is located

Example
Sol System
Unknownoptional
Regionregion

Region (e.g. campaign region) in which the planet is located

Example
The Borderlands
Unknownoptional
Constructedconstructed

The year, date or era on which the city was founded

Example
3rd Century
Unknownoptional
Destroyeddestroyed

The year, date or era on which the city was destroyed

Unknownoptional
Builderbuilder

Who (individual, group, nation etc.) founded the city

Example
The Parisii people
Unknownoptional
Climateclimate

Description of city's climate

Example
Oceanic climate
Unknownoptional
Points of interestpoints

A short list of points of interest in the city

Example
Palais de la Concorde
Unknownoptional
Primary Construction Materialspriconmat

What materials is primary used in the buildings

Example
Concrete
Unknownoptional
Populationpopulation

Number of individuals living in the city

Example
2.2 million
Unknownoptional
Affiliationaffiliation

City's membership in factions

Example
Federation
Unknownoptional
Predominant Speciesspecies

Most populous species in the city

Example
Humans
Unknownoptional