Template:Nation: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 20: Line 20:
 
{{Infobox/Item|key=Population|value={{{population}}}}}
 
{{Infobox/Item|key=Population|value={{{population}}}}}
 
{{Infobox/Item|key=Area|value={{{area|}}}}}
 
{{Infobox/Item|key=Area|value={{{area|}}}}}
{{Infobox/Item|key=Main cities|value={{{main_cities|}}}}}
+
{{Infobox/Item|key=Capital|value={{{capital|}}}}}
 
{{Infobox/end}}</includeonly>
 
{{Infobox/end}}</includeonly>
   
Line 44: Line 44:
 
{{Infobox/Item|key=Population|value={{{population}}}}}
 
{{Infobox/Item|key=Population|value={{{population}}}}}
 
{{Infobox/Item|key=Area|value={{{area}}}}}
 
{{Infobox/Item|key=Area|value={{{area}}}}}
{{Infobox/Item|key=Main cities|value={{{main_cities}}}}}
+
{{Infobox/Item|key=Capital City|value={{{capital}}}}}
 
{{Infobox/end}}
 
{{Infobox/end}}
 
[[Category:Infoboxes]]
 
[[Category:Infoboxes]]
Line 172: Line 172:
 
"type": "number"
 
"type": "number"
 
},
 
},
"main_cities": {
+
"capital": {
"label": "Main cities",
+
"label": "Capital City",
"description": "A list of the nation's most important cities",
+
"description": "The Nations seat(s) of government",
 
"type": "string"
 
"type": "string"
 
},
 
},
Line 216: Line 216:
 
"population",
 
"population",
 
"area",
 
"area",
"main_cities"
+
"capital"
 
]
 
]
 
}
 
}

Revision as of 21:13, 14 July 2021


{{{nation}}}
{{{localized_name}}}
KP dark.png
{{{flagdesc}}}
Motto {{{motto}}}
Full name {{{full_name}}}
Anthem {{{anthem}}}
KP dark.png
{{{mapdesc}}}
Denonym {{{denonym}}}
Official languages {{{languages}}}
Politics
Government {{{government}}}
Foundation {{{foundation}}}
{{{leader_title}}} {{{leader}}}
{{{pm_title}}} {{{pm_name}}}
Preceded by {{{predecessor}}}
Followed by {{{successor}}}
Demography
Ethnicities {{{ethnicity}}}
Population {{{population}}}
Area {{{area}}}
Capital City {{{capital}}}

Infobox for nations

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Nation namenation

no description

Stringrequired
Localized namelocalized_name

The nation's name in its main language

Stringsuggested
Flagflag

no description

Filerequired
Flag descriptionflagdesc

A short description of the flag's features

Stringsuggested
Mottomotto

The nation's motto, if any

Stringsuggested
Full namefull_name

The full version of the nation's name

Stringrequired
Anthemanthem

The nation's current anthem, if any

Stringsuggested
Mapmap

A map of the nation with its main features

Filerequired
Map descriptionmapdesc

An optional commentary about the map

Stringsuggested
Denonymdenonym

The qualificative used to refer to inhabitants of this nation

Stringoptional
Official languageslanguages

Languages spoken in the nation

Stringrequired
National Currencycurrency

Name of the currency used in the nation

Stringrequired
Governmentgovernment

The current type of government in place

Stringrequired
Foundationfoundation

When the nation was founded

Daterequired
Leader titleleader_title

The title used for the nation's leader (eg, President)

Default
Leader
Auto value
Leader
Stringoptional
Leaderleader

The current leader in place

Auto value
Stringoptional
Secondary leader titlepm_title

The nation's secondary leader's title, eg, Prime Minister

Default
Prime Minister
Auto value
Prime Minister
Stringoptional
Secondary leader's namepm_name

The secondary leader's (Prime Minister) name

Auto value
Stringoptional
Predecessorpredecessor

The nation(s) which preceded the current one, either by inheritance or by area.

Stringoptional
Successorsuccessor

The nation(s) which succeeded to this one, if any.

Unknownoptional
Ethnicityethnicity

The main ethnicities represented in the nation's population

Stringrequired
Populationpopulation

The current population figure

Numberrequired
Areaarea

The area of all territorial possessions owned by the nation

Numberoptional
Capital Citycapital

The Nations seat(s) of government

Stringoptional