Template:Continent: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
(Created page with "<templatestyles src="MinorNation/styles.css" /> <includeonly>{{Infobox/begin}} {{Infobox/Header|title={{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}}} {{Infobox/Illustration|file={{#if:{{{map|}}}|[[File:{{{map}}}]]|}}|caption={{{mapdesc|}}}}} {{Infobox/Item|key=Area|value={{#if:{{{area|}}}|{{{area}}} km²|}}}} {{Infobox/Item|key=Denonym|value={{{denonym|}}}}} {{Infobox/Item|key=Nations|value={{{nations|}}}}} {{Infobox/Item|key=Time zones|value={{{timezones|}}}}} {{Infobo...")
 
mNo edit summary
 
Line 8: Line 8:
 
{{Infobox/Item|key=Denonym|value={{{denonym|}}}}}
 
{{Infobox/Item|key=Denonym|value={{{denonym|}}}}}
 
{{Infobox/Item|key=Nations|value={{{nations|}}}}}
 
{{Infobox/Item|key=Nations|value={{{nations|}}}}}
{{Infobox/Item|key=Time zones|value={{{timezones|}}}}}
+
{{Infobox/Vertical Item|key=Time Zones|value={{#if:{{{tz_east|}}}|{{#if:{{{tz_west|}}}|{{{tz_west}}} to {{{tz_east}}}}}}}}}
 
{{Infobox/SectionHeader|section=Demography}}
 
{{Infobox/SectionHeader|section=Demography}}
 
{{Infobox/Item|key=Population|value={{{population|}}}}}
 
{{Infobox/Item|key=Population|value={{{population|}}}}}
  +
{{Infobox/Item|key=Largest Cities|value={{{cities|}}}}}
 
{{Infobox/Item|key=Languages|value={{{languages|}}}}}
 
{{Infobox/Item|key=Languages|value={{{languages|}}}}}
 
{{Infobox/end}}
 
{{Infobox/end}}
Line 25: Line 26:
 
|denonym = [word used in reference to populace]
 
|denonym = [word used in reference to populace]
 
|nations = [nations]
 
|nations = [nations]
  +
|tz_west = [westernmost timezone]|tz_east = [easternmost timezone]
|timezones = [timezones]
 
 
|population = [population]
 
|population = [population]
  +
|cities = [largest urban areas]
 
|languages = [languages]
 
|languages = [languages]
 
}}
 
}}
Line 68: Line 70:
 
"description": "Number of nations occupying the continent",
 
"description": "Number of nations occupying the continent",
 
"type": "number",
 
"type": "number",
"required": true
 
},
 
"timezones": {
 
"label": "Time zones",
 
"description": "List of the time zones the continent spans",
 
"type": "string",
 
 
"required": true
 
"required": true
 
},
 
},
Line 87: Line 83:
 
"type": "string",
 
"type": "string",
 
"required": true
 
"required": true
 
},
 
"tz_east": {
  +
"label": "Easternmost Timezone",
 
"type": "string"
  +
},
  +
"tz_west": {
  +
"label": "Westernmost Timezone",
  +
"type": "string"
  +
},
  +
"cities": {
 
"label": "Cities List",
  +
"type": "wiki-page-name",
 
"suggested": true
 
}
 
}
 
},
 
},
Line 98: Line 107:
 
"denonym",
 
"denonym",
 
"nations",
 
"nations",
"timezones",
 
 
"population",
 
"population",
"languages"
+
"languages",
  +
"tz_east",
  +
"tz_west",
  +
"cities"
 
]
 
]
 
}
 
}

Latest revision as of 19:08, 11 February 2023




Continent

Demography




[name]

KP dark.png
[mapdesc]
Area [area] km²
Denonym [word used in reference to populace]
Nations [nations]
Time Zones
[westernmost timezone] to [easternmost timezone]
Demography
Population [population]
Largest Cities [largest urban areas]
Languages [languages]

Infobox for Continents

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

no description

Default
{{PAGENAME}}
Auto value
{{PAGENAME}}
Stringrequired
Mapmap

A map of the continent with its main features

Filerequired
Map descriptionmapdesc

An optional commentary about the map

Stringsuggested
Areaarea

The area of all lands considered part of the continent

Numberoptional
Denonymdenonym

The qualificative/s used to refer to inhabitants of the continent

Stringoptional
Nationsnations

Number of nations occupying the continent

Numberrequired
Populationpopulation

The current population figure

Numberrequired
Languageslanguages

List of the languages spoken on the continent

Stringrequired
Easternmost Timezonetz_east

no description

Stringoptional
Westernmost Timezonetz_west

no description

Stringoptional
Cities Listcities

no description

Page namesuggested