Template:Infobox country/doc

This Infobox template is used to generate an infobox for the righthand side of two specific types of article: on a country or territory, or on a geopolitical organisation. The syntax (format) of parameters and examples are detailed in the collapsed show/hide sections immediately below.

Syntax


Note: Now redundant.
 * metropole =
 * metropole_area =
 * metropole_area_rank =
 * metropole_area_magnitude =
 * metropole_areami² =
 * metropole_population =
 * metropole_population_estimate_rank =
 * foot =
 * foot2 =
 * foot3 =
 * foot4 =
 * foot5 =


 * If, on a particular page, the default widths provided for the flag and coat-of-arms/symbol images produce an unsatisfactory result, use flag_width (as % or px) to specify the width to be used for the flag image; the remaining width is then assigned to the coat-of-arms/symbol (if included).

Examples



 * References




 * References

Errors
If the template generates errors when calculating data for the Gini or HDI fields, it will add the article to Category:Country articles requiring maintenance. This only happens if the page is in the main article space, not any other namespaces.

Sandbox
A sandbox has been set up so modifications to the template may be tested before being implemented in the template proper:

Template:Infobox country/sandbox

If possible, please try to view any modifications using a variety of web browsers and on different types of computer (PC, Macintosh, etc.). Thank you!

TemplateData
{	"description": "An infobox for countries.", "params": { "latd": { "label": "Latitude degrees", "type": "string", "required": false, "description": "The degrees of the capital's latitude." },		"latm": { "label": "Latitude minutes", "type": "string", "description": "The minutes of the capital's latitude." },		"latNS": { "label": "Latitude NS", "type": "string", "description": "The direction of the capital's latitude." },		"longd": { "label": "Longitude degrees", "type": "string", "description": "The degrees of the capital's longitude." },		"longm": { "label": "Longitude minutes", "type": "string", "description": "The minutes of the capital's longitude." },		"longEW": { "label": "Longitude EW", "type": "string", "description": "The direction of the capital's longitude." },		"languages_type": { "label": "Languages type", "type": "string", "description": "Use to specify a further type of language, if not official, national or regional." },		"languages2_type": { "label": "2nd languages type", "type": "string", "description": "Use to specify a 2nd further type of language, if not official, national or regional." },		"leader_name2": { "label": "Leader name 2", "type": "string" },		"leader_name3": { "label": "Leader name 3", "type": "string" },		"leader_name4": { "label": "Leader name 4", "type": "string" },		"leader_name5": { "label": "Leader name 5", "type": "string" },		"leader_name6": { "label": "Leader name 6", "type": "string" },		"leader_name7": { "label": "Leader name 7", "type": "string" },		"leader_name8": { "label": "Leader name 8", "type": "string" },		"leader_name9": { "label": "Leader name 9", "type": "string" },		"leader_name10": { "label": "Leader name 10", "type": "string" },		"leader_name11": { "label": "Leader name 11", "type": "string" },		"leader_name12": { "label": "Leader name 12", "type": "string" },		"leader_name13": { "label": "Leader name 13", "type": "string" },		"leader_name14": { "label": "Leader name 14", "type": "string" },		"FR_total_population_estimate_year": { "label": "FR_total_population_estimate_year", "type": "string" },		"FR_foot": { "label": "FR_foot", "type": "string" },		"FR_total_population_estimate": { "label": "FR_total_population_estimate", "type": "string" },		"FR_total_population_estimate_rank": { "label": "FR_total_population_estimate_rank", "type": "string" },		"FR_metropole_population_estimate_rank": { "label": "FR_metropole_population_estimate_rank", "type": "string" },		"conventional_long_name": { "label": "Conventional long name", "type": "string", "required": false, "description": "Formal or official full name of the country in English." },		"native_name": { "label": "Native name", "type": "string", "required": false, "description": "Country's name (usually full name) in its native language, hence in italics (double quotemarks)." },		"name": { "label": "Geopolitical organisation name", "type": "string", "required": false, "description": "Name of the geopolitical organisation in English." },		"image_flag": { "label": "Flag", "type": "string", "required": false, "example": "Flag of country.svg" },		"image_coat": { "label": "Coat of arms", "type": "string", "aliases": [ "image_symbol" ],			"required": false, "example": "Coat of arms of country.svg" },		"flag_width": { "label": "Flag width", "type": "string", "required": false, "description": "If the default widths provided for the flag and coat-of-arms/symbol images produce an unsatisfactory result use this to specify the width to be used for the flag image; the remaining width is then assigned to the coat-of-arms/symbol (if included). Can be done as a % or px." },		"alt_flag": { "label": "Flag alt text", "type": "string", "required": false, "description": "Alt text for flag (text shown when pointer hovers over flag)." },		"flag_border": { "label": "Flag border", "type": "string", "required": false, "description": "Set to no to disable border around the flag." },		"common_name": { "label": "Common name", "type": "string", "required": false, "description": "Common name in English (used for wikilinks and to produce a default iso3166 code)." },		"linking_name": { "label": "Linking name", "description": "Name used for linking. Defaults to common_name or name.", "type": "string", "required": false },		"image_flag2": { "label": "Second flag", "type": "string", "required": false, "example": "Second-flag of country.svg" },		"alt_flag2": { "label": "Second flag alt text", "type": "string", "required": false, "description": "Alt text for second flag (text shown when pointer hovers over flag)." },		"flag2_border": { "label": "Second flag border", "type": "string", "required": false, "description": "Set to no to disable border around the flag." },		"symbol_width": { "label": "Symbol width", "type": "string", "required": false, "description": "Symbol image's width.", "default": "85px" },		"alt_coat": { "label": "Coat of arms alt text", "type": "string", "required": false, "description": "Alt text for coat of arms." },		"alt_symbol": { "label": "Symbol alt text", "type": "string", "required": false },		"symbol_type": { "label": "Symbol type", "type": "string", "required": false, "description": "If not a coat of arms.", "example": "emblem, seal, etc" },		"flag_caption": { "label": "Flag caption", "type": "string", "required": false },		"symbol_type_article": { "label": "Symbol type article", "type": "string", "required": false },		"national_motto": { "label": "National motto", "type": "string", "required": false, "description": "In inverted commas and wikilinked if link exists." },		"motto": { "label": "Motto", "type": "string", "required": false },		"national_anthem": { "label": "National anthem", "type": "string", "required": false, "description": "In inverted commas and wikilinked if link exists." },		"anthem": { "label": "Anthem", "type": "string", "required": false },		"royal_anthem": { "label": "Royal anthem", "type": "string", "required": false, "description": "In inverted commas and wikilinked if link exists." },		"other_symbol": { "label": "Other symbol", "type": "string", "required": false, "description": "Use if a further symbol exists." },		"text_symbol": { "label": "Text symbol", "type": "string", "required": false, "description": "For other types of text symbol.", "example": "[hymn name]" },		"other_symbol_type": { "label": "Other symbol type", "type": "string", "required": false },		"text_symbol_type": { "label": "Text symbol type", "type": "string", "required": false, "description": "For other types of text symbol." },		"image_map": { "label": "Map", "type": "string", "required": false, "example": "LocationCountry.svg" },		"map_width": { "label": "Map width", "type": "string", "required": false, "description": "Map image's width.", "default": "250px" },		"alt_map": { "label": "Map alt text", "type": "string", "required": false },		"map_caption": { "label": "Map caption", "type": "string", "required": false, "description": "Caption to place below map." },		"image_map2": { "label": "Map 2", "type": "string", "required": false, "description": "Another map, if required." },		"map2_width": { "label": "Map 2 width", "type": "string", "required": false },		"alt_map2": { "label": "Map 2 alt text", "type": "string", "required": false },		"map_caption2": { "label": "Map 2 caption", "type": "string", "required": false, "description": "Caption to place below second map." },		"capital": { "label": "Capital", "type": "string", "required": false, "description": "Name of country/territory's capital, wikilinked if link exists." },		"admin_center": { "label": "Administrative center", "type": "string", "required": false, "description": "Location/s of administrative center/s." },		"capital2": { "label": "Capital 2", "type": "string", "required": false, "description": "Name of country/territory's capital, wikilinked if link exists." },		"admin_center2": { "label": "Administrative center 2", "type": "string", "required": false },		"largest_city": { "label": "Largest city", "type": "string", "required": false, "description": "Name of country/territory's largest city. Use \"capital\" (without quotemarks) if it's the capital." },		"largest_settlement": { "label": "Largest settlement", "type": "string", "required": false, "description": "Name of largest settlement if not a city." },		"admin_center_type": { "label": "Administrative center type", "type": "string", "required": false, "default": "Administrative center" },		"capital_type": { "label": "Capital type", "type": "string", "required": false },		"admin_center_type2": { "label": "Administrative center 2 type", "type": "string", "required": false },		"capital_type2": { "label": "Capital 2 type", "type": "string", "required": false },		"largest_settlement_type": { "label": "Largest settlement type", "type": "string", "required": false, "description": "Type of settlement if largest settlement not a city." },		"official_languages": { "label": "Official languages", "type": "string", "required": false, "description": "Languages recognised in legislation, constitution, etc." },		"national_languages": { "label": "National languages", "type": "string", "required": false, "description": "Country/territory-wide languages recognised but not necessarily in country/territory-wide law, etc." },		"regional_languages": { "label": "Regional languages", "type": "string", "required": false, "description": "Languages recognised or associated with particular regions within the country/territory." },		"languages": { "label": "Languages", "type": "string", "required": false, "description": "Languages of the further type." },		"languages2_sub": { "label": "Languages 2 sub", "type": "string", "required": false, "description": "Is the second alternative type of languages a sub-item of the previous non-sub type?", "example": "'yes or 'no'" },		"languages_sub": { "label": "Languages sub", "type": "string", "required": false, "description": "Is this further type of language a sub-item of the previous non-sub type?", "example": "'yes' or 'no'" },		"languages2": { "label": "Languages 2", "type": "string", "required": false, "description": "Languages of the second further type." },		"ethnic_groups": { "label": "ethnic_groups", "type": "string", "required": false },		"ethnic_groups_year": { "label": "ethnic_groups_year", "type": "string", "required": false },		"nationalities": { "label": "nationalities", "type": "string", "required": false },		"demonym": { "label": "demonym", "type": "string", "required": false },		"org_type": { "label": "org_type", "type": "string", "required": false },		"membership": { "label": "membership", "type": "string", "required": false },		"membership_type": { "label": "membership_type", "type": "string", "required": false },		"government_type": { "label": "government_type", "type": "string", "required": false },		"politics_link": { "label": "politics_link", "type": "string", "required": false },		"leader_title1": { "label": "leader_title1", "type": "string", "required": false },		"leader_name1": { "label": "leader_name1", "type": "string", "required": false },		"leader_title2": { "label": "leader_title2", "type": "string", "required": false },		"leader_title3": { "label": "leader_title3", "type": "string", "required": false },		"leader_title4": { "label": "leader_title4", "type": "string", "required": false },		"leader_title5": { "label": "leader_title5", "type": "string", "required": false },		"leader_title6": { "label": "leader_title6", "type": "string", "required": false },		"leader_title7": { "label": "leader_title7", "type": "string", "required": false },		"leader_title8": { "label": "leader_title8", "type": "string", "required": false },		"leader_title9": { "label": "leader_title9", "type": "string", "required": false },		"leader_title10": { "label": "leader_title10", "type": "string", "required": false },		"leader_title11": { "label": "leader_title11", "type": "string", "required": false },		"leader_title12": { "label": "leader_title12", "type": "string", "required": false },		"leader_title13": { "label": "leader_title13", "type": "string", "required": false },		"leader_title14": { "label": "leader_title14", "type": "string", "required": false },		"legislature": { "label": "legislature", "type": "string", "required": false },		"upper_house": { "label": "upper_house", "type": "string", "required": false },		"lower_house": { "label": "lower_house", "type": "string", "required": false },		"established_event1": { "label": "established_event1", "type": "string", "required": false },		"sovereignty_type": { "label": "sovereignty_type", "type": "string", "required": false },		"established": { "label": "established", "type": "string", "required": false },		"sovereignty_note": { "label": "sovereignty_note", "type": "string", "required": false },		"established_event2": { "label": "established_event2", "type": "string", "required": false },		"established_date1": { "label": "established_date1", "type": "string", "required": false },		"established_event3": { "label": "established_event3", "type": "string", "required": false },		"established_date2": { "label": "established_date2", "type": "string", "required": false },		"established_event4": { "label": "established_event4", "type": "string", "required": false },		"established_date3": { "label": "established_date3", "type": "string", "required": false },		"established_event5": { "label": "established_event5", "type": "string", "required": false },		"established_date4": { "label": "established_date4", "type": "string", "required": false },		"established_event6": { "label": "established_event6", "type": "string", "required": false },		"established_date5": { "label": "established_date5", "type": "string", "required": false },		"established_event7": { "label": "established_event7", "type": "string", "required": false },		"established_date6": { "label": "established_date6", "type": "string", "required": false },		"established_event8": { "label": "established_event8", "type": "string", "required": false },		"established_date7": { "label": "established_date7", "type": "string", "required": false },		"established_event9": { "label": "established_event9", "type": "string", "required": false },		"established_date8": { "label": "established_date8", "type": "string", "required": false },		"established_event10": { "label": "established_event10", "type": "string", "required": false },		"established_date9": { "label": "established_date9", "type": "string", "required": false },		"established_event11": { "label": "established_event11", "type": "string", "required": false },		"established_date10": { "label": "established_date10", "type": "string", "required": false },		"established_event12": { "label": "established_event12", "type": "string", "required": false },		"established_date11": { "label": "established_date11", "type": "string", "required": false },		"established_date12": { "label": "established_date12", "type": "string", "required": false },		"area_km2": { "label": "area_km2", "type": "string", "required": false },		"area_link": { "label": "area_link", "type": "string", "required": false },		"area_label": { "label": "area_label", "type": "string", "required": false },		"FR_foot4": { "label": "FR_foot4", "type": "string", "required": false },		"area_footnote": { "label": "area_footnote", "type": "string", "required": false },		"area_rank": { "label": "area_rank", "type": "string", "required": false },		"area_sq_mi": { "label": "area_sq_mi", "type": "string", "required": false },		"percent_water": { "label": "percent_water", "type": "string", "required": false },		"area_label2": { "label": "area_label2", "type": "string", "required": false },		"area_data2": { "label": "area_data2", "type": "string", "required": false },		"area_label3": { "label": "area_label3", "type": "string", "required": false },		"area_data3": { "label": "area_data3", "type": "string", "required": false },		"FR_metropole": { "label": "FR_metropole", "type": "string", "required": false },		"FR_foot2": { "label": "FR_foot2", "type": "string", "required": false },		"FR_IGN_area_km2": { "label": "FR_IGN_area_km2", "type": "string", "required": false },		"FR_IGN_area_rank": { "label": "FR_IGN_area_rank", "type": "string", "required": false },		"FR_IGN_area_sq_mi": { "label": "FR_IGN_area_sq_mi", "type": "string", "required": false },		"FR_foot3": { "label": "FR_foot3", "type": "string", "required": false },		"FR_cadastre_area_km2": { "label": "FR_cadastre_area_km2", "type": "string", "required": false },		"FR_cadastre_area_rank": { "label": "FR_cadastre_area_rank", "type": "string", "required": false },		"FR_cadastre_area_sq_mi": { "label": "FR_cadastre_area_sq_mi", "type": "string", "required": false },		"population_estimate": { "label": "population_estimate", "type": "string", "required": false },		"population_census": { "label": "population_census", "type": "string", "required": false },		"FR_metropole_population": { "label": "FR_metropole_population", "type": "string", "required": false },		"population_link": { "label": "population_link", "type": "string", "required": false },		"population_estimate_year": { "label": "population_estimate_year", "type": "string", "required": false },		"population_estimate_rank": { "label": "population_estimate_rank", "type": "string", "required": false },		"population_label2": { "label": "population_label2", "type": "string", "required": false },		"population_data2": { "label": "population_data2", "type": "string", "required": false },		"population_label3": { "label": "population_label3", "type": "string", "required": false },		"population_data3": { "label": "population_data3", "type": "string", "required": false },		"population_census_year": { "label": "population_census_year", "type": "string", "required": false },		"population_census_rank": { "label": "population_census_rank", "type": "string", "required": false },		"population_density_km2": { "label": "population_density_km2", "type": "string", "required": false },		"FR_foot5": { "label": "FR_foot5", "type": "string", "required": false },		"pop_den_footnote": { "label": "pop_den_footnote", "type": "string", "required": false },		"population_density_rank": { "label": "population_density_rank", "type": "string", "required": false },		"population_density_sq_mi": { "label": "population_density_sq_mi", "type": "string", "required": false },		"GDP_PPP": { "label": "GDP_PPP", "type": "string", "required": false },		"GDP_PPP_year": { "label": "GDP_PPP_year", "type": "string", "required": false },		"GDP_PPP_rank": { "label": "GDP_PPP_rank", "type": "string", "required": false },		"GDP_PPP_per_capita": { "label": "GDP_PPP_per_capita", "type": "string", "required": false },		"GDP_PPP_per_capita_rank": { "label": "GDP_PPP_per_capita_rank", "type": "string", "required": false },		"GDP_nominal": { "label": "GDP_nominal", "type": "string", "required": false },		"GDP_nominal_year": { "label": "GDP_nominal_year", "type": "string", "required": false },		"GDP_nominal_rank": { "label": "GDP_nominal_rank", "type": "string", "required": false },		"GDP_nominal_per_capita": { "label": "GDP_nominal_per_capita", "type": "string", "required": false },		"GDP_nominal_per_capita_rank": { "label": "GDP_nominal_per_capita_rank", "type": "string", "required": false },		"Gini": { "label": "Gini", "type": "string", "required": false },		"Gini_year": { "label": "Gini_year", "type": "string", "required": false },		"Gini_change": { "label": "Gini_change", "type": "string", "required": false },		"Gini_ref": { "label": "Gini_ref", "type": "string", "required": false },		"Gini_rank": { "label": "Gini_rank", "type": "string", "required": false },		"HDI": { "label": "HDI", "type": "string", "required": false },		"HDI_year": { "label": "HDI_year", "type": "string", "required": false },		"HDI_change": { "label": "HDI_change", "type": "string", "required": false },		"HDI_ref": { "label": "HDI_ref", "type": "string", "required": false },		"HDI_rank": { "label": "HDI_rank", "type": "string", "required": false },		"currency": { "label": "currency", "type": "string", "required": false },		"currency_code": { "label": "currency_code", "type": "string", "required": false },		"time_zone": { "label": "time_zone", "type": "string", "required": false },		"utc_offset": { "label": "utc_offset", "type": "string", "required": false },		"utc_offset_DST": { "label": "utc_offset_DST", "type": "string", "required": false },		"DST_note": { "label": "DST_note", "type": "string", "required": false },		"time_zone_DST": { "label": "time_zone_DST", "type": "string", "required": false },		"DST": { "label": "DST", "type": "string", "required": false },		"antipodes": { "label": "antipodes", "type": "string", "required": false },		"date_format": { "label": "date_format", "type": "string", "required": false },		"drives_on": { "label": "drives_on", "type": "string", "required": false },		"calling_code": { "label": "calling_code", "type": "string", "required": false },		"patron_saint": { "label": "patron_saint", "type": "string", "required": false },		"patron_saints": { "label": "patron_saints", "type": "string", "required": false },		"iso3166code": { "label": "iso3166code", "type": "string", "required": false },		"cctld": { "label": "cctld", "type": "string", "required": false },		"official_website": { "label": "official_website", "type": "string", "required": false },		"image_map3": { "label": "image_map3", "type": "string", "required": false },		"map3_width": { "label": "map3_width", "type": "string", "required": false },		"alt_map3": { "label": "alt_map3", "type": "string", "required": false },		"map_caption3": { "label": "map_caption3", "type": "string", "required": false },		"footnote_a": { "label": "footnote_a", "type": "string", "required": false },		"footnote_b": { "label": "footnote_b", "type": "string", "required": false },		"footnote_c": { "label": "footnote_c", "type": "string", "required": false },		"footnote_d": { "label": "footnote_d", "type": "string", "required": false },		"footnote_e": { "label": "footnote_e", "type": "string", "required": false },		"footnote_f": { "label": "footnote_f", "type": "string", "required": false },		"footnote_g": { "label": "footnote_g", "type": "string", "required": false },		"footnote_h": { "label": "footnote_h", "type": "string", "required": false },		"footnote1": { "label": "footnote1", "type": "string", "required": false },		"footnote2": { "label": "footnote2", "type": "string", "required": false },		"footnote3": { "label": "footnote3", "type": "string", "required": false },		"footnote4": { "label": "footnote4", "type": "string", "required": false },		"footnote5": { "label": "footnote5", "type": "string", "required": false },		"footnote6": { "label": "footnote6", "type": "string", "required": false },		"footnote7": { "label": "footnote7", "type": "string", "required": false },		"footnote8": { "label": "footnote8", "type": "string", "required": false },		"footnotes": { "label": "footnotes", "type": "string", "required": false },		"navbar": { "label": "navbar", "type": "string", "required": false }	},	"format": "block" }