Difference between revisions of "Template:Nation"

From Kerbal Powers Wiki
Jump to: navigation, search
(Moved the localized name to the header - Fixed auto-mangling of null fields)
Line 46: Line 46:
 
{{Infobox/end}}
 
{{Infobox/end}}
 
[[Category:Infoboxes]]
 
[[Category:Infoboxes]]
 +
[[Category:Templates]]
 
<templatedata>
 
<templatedata>
 
{
 
{

Revision as of 23:33, 30 May 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}}}
Main cities {{{main_cities}}}

Infobox for nations

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
Nation namenation

no description

Default
empty
Example
empty
Auto value
empty
Stringrequired
Localized namelocalized_name

The nation's name in its main language

Default
empty
Example
empty
Auto value
empty
Stringsuggested
Flagflag

no description

Default
empty
Example
empty
Auto value
empty
Filerequired
Flag descriptionflagdesc

A short description of the flag's features

Default
empty
Example
empty
Auto value
empty
Stringsuggested
Mottomotto

The nation's motto, if any

Default
empty
Example
empty
Auto value
empty
Stringsuggested
Full namefull_name

The full version of the nation's name

Default
empty
Example
empty
Auto value
empty
Stringrequired
Anthemanthem

The nation's current anthem, if any

Default
empty
Example
empty
Auto value
empty
Stringsuggested
Mapmap

A map of the nation with its main features

Default
empty
Example
empty
Auto value
empty
Filerequired
Map descriptionmapdesc

An optional commentary about the map

Default
empty
Example
empty
Auto value
empty
Stringsuggested
Denonymdenonym

The qualificative used to refer to inhabitants of this nation

Default
empty
Example
empty
Auto value
empty
Stringoptional
Official languageslanguages

Languages spoken in the nation

Default
empty
Example
empty
Auto value
empty
Stringrequired
Governmentgovernment

The current type of government in place

Default
empty
Example
empty
Auto value
empty
Stringrequired
Foundationfoundation

When the nation was founded

Default
empty
Example
empty
Auto value
empty
Daterequired
Leader titleleader_title

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

Default
Leader
Example
empty
Auto value
Leader
Stringoptional
Leaderleader

The current leader in place

Default
empty
Example
empty
Auto value
Stringrequired
Secondary leader titlepm_title

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

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

The secondary leader's (Prime Minister) name

Default
empty
Example
empty
Auto value
Stringoptional
Predecessorpredecessor

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

Default
empty
Example
empty
Auto value
empty
Stringoptional
Successorsuccessor

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

Default
empty
Example
empty
Auto value
empty
Unknownoptional
Ethnicityethnicity

The main ethnicities represented in the nation's population

Default
empty
Example
empty
Auto value
empty
Stringrequired
Populationpopulation

The current population figure

Default
empty
Example
empty
Auto value
empty
Numberrequired
Areaarea

The area of all territorial possessions owned by the nation

Default
empty
Example
empty
Auto value
empty
Numberoptional
Main citiesmain_cities

A list of the nation's most important cities

Default
empty
Example
empty
Auto value
empty
Stringoptional