Jump to content

Template:Infobox country/doc

From BarkWiki
Revision as of 01:39, 9 February 2023 by templates>MLastCelebration (Move documentation from Template:Infobox country page itself)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a {{#switch: Template | Template = template | Module = module | user = user page | #default = page }} documentation subpage for Template:Infobox country.
It contains usage information, categories, interlanguage links and other content that is not part of the original {{#if: | {{{text2}}} | {{ #if: | {{{text1}}} | {{ #ifeq: Template | User | template template page | {{ #if: Template | template page|article}}}}}}}}.[[Category:{{#switch: Template | Template = Template | Module = Module | User = User | #default = Page }} documentation]]

This infobox template is focused on sovereign nation-states. For levels of administration below it, try Template:Infobox location.

Syntax

Example usage:

{{Infobox country
  | conventional_long_name=Example
  | image_flag=Example
  | flag_type=Example
  | motto=Example
  | image_map=Example
  | map_caption=Example
  | capital=Example
  | largest_city  = Example
  | official_languages=Example
  | demonym  = Example
  | nation/non-sovereign_parts=Example
  | government_type=Example
  | legislature=Example
  | history=Example
  | area=Example
  | population_estimate = 
  | population_estimate_year = 
  | GDP_nominal = 
  | GDP_nominal_year = 
  | GDP_nominal_per_capita = 
  | currency=Example
  | time_zone=Example
}}

TemplateData

<templatedata> { "description": "Information box for a nation-state", "params":{ "conventional_long_name":{ "label":"Conventional long name", "description":"The official name of the country according to its foundational documents", "type": "string", "suggested":true }, "image_flag":{ "label": "Image flag", "type": "wiki-file-name", "suggested":true }, "flag_type":{ "label": "Flag type", "description": "The caption for the flag image", "type": "content", "suggested":true }, "motto":{ "label": "Motto", "type": "string", "suggested":true }, "image_map":{ "label": "Image map", "type": "content", "suggested":true }, "map_caption":{ "label": "Map caption", "type": "string", "suggested":true }, "capital":{ "label": "Capital", "type": "content", "suggested":true }, "largest_city": { "label": "Largest city", "type": "content", "suggested": true }, "official_languages":{ "label": "Official languages", "type": "content", "suggested":true }, "demonym":{ "label": "Demonym(s)", "type": "content", "suggested":true }, "nation\/non-sovereign_parts":{ "label": "National divisions or nonsovereign parts", "type": "content", "suggested":true }, "government_type":{ "label": "Government type", "type": "content", "suggested":true }, "legislature":{ "label": "Legislature", "type": "content", "suggested":true }, "history":{ "label": "History", "type": "content", "suggested":true }, "area":{ "label": "Area", "type": "content", "suggested":true }, "population_estimate": { "label": "Population estimate", "type": "content", "suggested": false }, "population_estimate_year": { "label": "Population estimate year", "type": "number", "suggested": false }, "GDP_nominal": { "label": "GDP nominal", "type": "content", "suggested": false }, "GDP_nominal_year": { "label": "GDP nominal year", "type": "number", "suggested": false }, "GDP_nominal_per_capita": { "label": "GDP nominal per capita", "type": "content", "suggested": false }, "currency":{ "label": "Currency", "type": "content", "suggested":true }, "time_zone":{ "label": "Time zone", "type": "content", "suggested":true } },"sets":[],"maps":{} } </templatedata>