Template:Infobox country
{{#ifeq: BarkWiki|Templates Wiki||
}}
Expand the below text for usage and other information.
{{#if: ||
{{#if:
| Edit this template for the documentation| {{#ifexist: Template:Infobox country/doc | View, edit, or check the history of this documentation. |Create documentation for this template. }} }} (How does this work?)
Editors can experiment with this template's sandbox and testcases.
{{#if:
| {{{content}}}
| {{#ifexist: Template:Infobox country/doc
| {{#if:
|{{{{{1}}}}}
|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[edit source]
Example usage:
TemplateData[edit source]
<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>
{{#ifeq:Infobox country|sandbox||
}}}}
| Documentation does not exist. Create it at [{{fullurl:
{{#if:|{{{1}}}|Template:Infobox country/doc}}
|action=edit&preload=Template:Documentation/preload&summary=Create+documentation+for+%5B%5BTemplate%3AInfobox+country%5D%5D {{#if:|{{{1}}}|Template:Infobox country/doc}}] .
}}
}} }}
}}
|: View installation Instructions.}}
| | :Export this template, then import to install it.
Use edit summary:Copied from [[w:c:templates:Template:Infobox country]]to properly attribute this template's editors.}}{{#if:|:This template is compatible with vanilla MediaWiki.}}
- {{#switch:
| starter = This template is created by default after March 11, 2020. It should be in your wiki.
| is not relevant
| is not relevant to = | Templates Wiki
|
}}
}}
{{#if:
|[[de:{{{de}}}]]
|
}}{{#if:
|[[es:{{{es}}}]]
|
}}{{#if:
|[[fr:{{{fr}}}]]
|
}}{{#if:
|[[it:{{{it}}}]]
|
}}{{#if:
|[[ja:{{{ja}}}]]
|
}}{{#if:
|[[ko:{{{ko}}}]]
|
}}{{#if:
|[[nl:{{{nl}}}]]
|
}}{{#if:
|[[pt:{{{pt}}}]]
|
}}{{#if:
|[[tr:{{{tr}}}]]
|
}}{{#if:
|[[zh:{{{zh}}}]]
|
}}
{{#ifeq: {{{SPW}}}|is not relevant | |{{#if:
| The above message will be enough for most cases; if there are additional instructions, you can see them below.
Template:Infobox country/install | :There is no additional installation instructions for this template. If there is any, you may create it at Template:Infobox country/install.
}} }}
Template loop detected: Template:Infobox country