Template:MinorNation: Difference between revisions

From Kerbal Powers Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:
 
<includeonly>{{Infobox/begin}}
 
<includeonly>{{Infobox/begin}}
 
{{Infobox/Header|title={{{nation}}}|subtitle={{{localized_name}}}}}
 
{{Infobox/Header|title={{{nation}}}|subtitle={{{localized_name}}}}}
{{Infobox/Illustration|file=[[File:{{{flag}}}]]|caption={{{flagdesc|}}}}}
+
{{Infobox/Illustration|file=[[File:{{{flag}}}]]|caption={{{flagdesc}}}}}
 
{{Infobox/Item|key=Full name|value={{{full_name}}}}}
 
{{Infobox/Item|key=Full name|value={{{full_name}}}}}
{{Infobox/Item|key=Denonym|value={{{denonym|}}}}}
+
{{Infobox/Item|key=Denonym|value={{{denonym}}}}}
{{Infobox/Illustration|file=[[File:{{{map}}}|300px|class=notpageimage]]|caption={{{mapdesc|}}}}}
+
{{Infobox/Illustration|file=[[File:{{{map}}}|300px|class=notpageimage]]|caption={{{mapdesc}}}}}
 
{{Infobox/SectionHeader|section=Politics}}
 
{{Infobox/SectionHeader|section=Politics}}
{{Infobox/Item|key=Capital|value={{{capital|}}}}}
+
{{Infobox/Item|key=Capital|value={{{capital}}}}}
 
{{Infobox/Item|key=Government|value={{{government}}}}}
 
{{Infobox/Item|key=Government|value={{{government}}}}}
 
{{Infobox/Item|key=Foundation|value={{{foundation}}}}}
 
{{Infobox/Item|key=Foundation|value={{{foundation}}}}}
{{Infobox/Item|key=Preceded by|value={{{predecessor|}}}}}
+
{{Infobox/Item|key=Preceded by|value={{{predecessor}}}}}
{{Infobox/Item|key=Followed by|value={{{successor|}}}}}
+
{{Infobox/Item|key=Followed by|value={{{successor}}}}}
 
{{Infobox/SectionHeader|section=Demography}}
 
{{Infobox/SectionHeader|section=Demography}}
 
{{Infobox/Item|key=Population|value={{{population}}}}}
 
{{Infobox/Item|key=Population|value={{{population}}}}}
Line 21: Line 21:
   
 
<noinclude>
 
<noinclude>
  +
{{MinorNation
{{Infobox/begin}}
 
  +
|nation = {{PAGENAME}}
{{Infobox/Header|title={{{nation}}}|subtitle={{{localized_name}}}}}
 
  +
|localized_name = [localized_name]
{{Infobox/Illustration|file=[[File:KP dark.png]]|caption={{{flagdesc}}}}}
 
  +
|flag = KP dark.png
{{Infobox/Item|key=Full name|value={{{full_name}}}}}
 
  +
|flagdesc = [flagdesc]
{{Infobox/Item|key=Denonym|value={{{denonym}}}}}
 
  +
|full_name = [full_name]
{{Infobox/Illustration|file=[[File:KP dark.png]]|caption={{{mapdesc}}}}}
 
  +
|denonym= [word used in reference to populace]
{{Infobox/SectionHeader|section=Politics}}
 
  +
|map = KP dark.png
{{Infobox/Item|key=Capital City|value={{{capital}}}}}
 
  +
|mapdesc = [mapdesc]
{{Infobox/Item|key=Government|value={{{government}}}}}
 
  +
|capital = [capital]
{{Infobox/Item|key=Foundation|value={{{foundation}}}}}
 
  +
|government = [government_type]
{{Infobox/Item|key=Preceded by|value={{{predecessor}}}}}
 
  +
|foundation = [foundation(year)]
{{Infobox/Item|key=Followed by|value={{{successor}}}}}
 
  +
|predecessor = [predecessor]
{{Infobox/SectionHeader|section=Demography}}
 
  +
|successor = [successor]
{{Infobox/Item|key=Population|value={{{population}}}}}
 
  +
|population = [population(Million)]
{{Infobox/Item|key=Area|value={{{area}}}}}
 
  +
|area = [area(km²)]
{{Infobox/end}}
 
  +
}}
  +
 
[[Category:Infoboxes]]
 
[[Category:Infoboxes]]
 
[[Category:Templates]]
 
[[Category:Templates]]

Revision as of 20:26, 22 October 2022




MinorNation
[localized_name]
KP dark.png
[flagdesc]
Full name [full_name]
Denonym [word used in reference to populace]
KP dark.png
[mapdesc]
Politics
Capital [capital]
Government [government_type]
Foundation [foundation(year)]
Preceded by [predecessor]
Followed by [successor]
Demography
Population [population(Million)]
Area [area(km²)]

Infobox for Minor Nations

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Nation namenation

no description

Auto value
{{PAGENAME}}
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
Full namefull_name

The full version of the nation's name

Stringrequired
Denonymdenonym

The qualificative used to refer to inhabitants of this nation

Stringoptional
Mapmap

A map of the nation with its main features

Filerequired
Map descriptionmapdesc

An optional commentary about the map

Stringsuggested
Capital Citycapital

The Nations seat(s) of government

Stringoptional
Governmentgovernment

The current type of government in place

Stringrequired
Foundationfoundation

When the nation was founded

Daterequired
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
Populationpopulation

The current population figure

Numberrequired
Areaarea

The area of all territorial possessions owned by the nation

Numberoptional