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



 * metropole =
 * metropole_area =
 * metropole_area_rank =
 * metropole_area_magnitude =
 * metropole_areami² =
 * metropole_population =
 * metropole_population_estimate_rank =
 * foot =
 * foot2 =
 * foot3 =
 * foot4 =
 * foot5 =


 * patron_saint =


 * accessionEUdate =


 * 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




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": "latd", "description": "", "type": "string", "required": true },       "latm": { "label": "latm", "description": "", "type": "string", "required": true },       "latNS": { "label": "latNS", "description": "", "type": "string", "required": true },       "longd": { "label": "longd", "description": "", "type": "string", "required": true },       "longm": { "label": "longm", "description": "", "type": "string", "required": true },       "longEW": { "label": "longEW", "description": "", "type": "string", "required": true },       "languages_type": { "label": "languages_type", "description": "", "type": "string", "required": true },       "languages2_type": { "label": "languages2_type", "description": "", "type": "string", "required": true },       "leader_name2": { "label": "leader_name2", "description": "", "type": "string", "required": true },       "leader_name3": { "label": "leader_name3", "description": "", "type": "string", "required": true },       "leader_name4": { "label": "leader_name4", "description": "", "type": "string", "required": true },       "leader_name5": { "label": "leader_name5", "description": "", "type": "string", "required": true },       "leader_name6": { "label": "leader_name6", "description": "", "type": "string", "required": true },       "leader_name7": { "label": "leader_name7", "description": "", "type": "string", "required": true },       "leader_name8": { "label": "leader_name8", "description": "", "type": "string", "required": true },       "leader_name9": { "label": "leader_name9", "description": "", "type": "string", "required": true },       "FR_total_population_estimate_year": { "label": "FR_total_population_estimate_year", "description": "", "type": "string", "required": true },       "FR_foot": { "label": "FR_foot", "description": "", "type": "string", "required": true },       "FR_total_population_estimate": { "label": "FR_total_population_estimate", "description": "", "type": "string", "required": true },       "FR_total_population_estimate_rank": { "label": "FR_total_population_estimate_rank", "description": "", "type": "string", "required": true },       "FR_metropole_population_estimate_rank": { "label": "FR_metropole_population_estimate_rank", "description": "", "type": "string", "required": true },       "conventional_long_name": { "label": "conventional_long_name", "description": "", "type": "string", "required": false },       "native_name": { "label": "native_name", "description": "", "type": "string", "required": false },       "name": { "label": "name", "description": "", "type": "string", "required": false },       "image_flag": { "label": "image_flag", "description": "", "type": "string", "required": false },       "image_coat": { "label": "image_coat", "description": "", "type": "string", "aliases": ["image_symbol"], "required": false },       "flag_width": { "label": "flag_width", "description": "", "type": "string", "required": false },       "alt_flag": { "label": "alt_flag", "description": "", "type": "string", "required": false },       "flag_border": { "label": "flag_border", "description": "", "type": "string", "required": false },       "common_name": { "label": "common_name", "description": "", "type": "string", "required": false },       "linking_name": { "label": "linking_name", "description": "Name used for linking. Defaults to common_name or name.", "type": "string", "required": false },       "image_flag2": { "label": "image_flag2", "description": "", "type": "string", "required": false },       "alt_flag2": { "label": "alt_flag2", "description": "", "type": "string", "required": false },       "flag2_border": { "label": "flag2_border", "description": "", "type": "string", "required": false },       "symbol_width": { "label": "symbol_width", "description": "", "type": "string", "required": false },       "alt_coat": { "label": "alt_coat", "description": "", "type": "string", "required": false },       "alt_symbol": { "label": "alt_symbol", "description": "", "type": "string", "required": false },       "symbol_type": { "label": "symbol_type", "description": "", "type": "string", "required": false },       "flag_caption": { "label": "flag_caption", "description": "", "type": "string", "required": false },       "symbol_type_article": { "label": "symbol_type_article", "description": "", "type": "string", "required": false },       "national_motto": { "label": "national_motto", "description": "", "type": "string", "required": false },       "motto": { "label": "motto", "description": "", "type": "string", "required": false },       "national_anthem": { "label": "national_anthem", "description": "", "type": "string", "required": false },       "anthem": { "label": "anthem", "description": "", "type": "string", "required": false },       "royal_anthem": { "label": "royal_anthem", "description": "", "type": "string", "required": false },       "other_symbol": { "label": "other_symbol", "description": "", "type": "string", "required": false },       "text_symbol": { "label": "text_symbol", "description": "", "type": "string", "required": false },       "other_symbol_type": { "label": "other_symbol_type", "description": "", "type": "string", "required": false },       "text_symbol_type": { "label": "text_symbol_type", "description": "", "type": "string", "required": false },       "image_map": { "label": "image_map", "description": "", "type": "string", "required": false },       "map_width": { "label": "map_width", "description": "", "type": "string", "required": false },       "alt_map": { "label": "alt_map", "description": "", "type": "string", "required": false },       "map_caption": { "label": "map_caption", "description": "", "type": "string", "required": false },       "image_map2": { "label": "image_map2", "description": "", "type": "string", "required": false },       "map2_width": { "label": "map2_width", "description": "", "type": "string", "required": false },       "alt_map2": { "label": "alt_map2", "description": "", "type": "string", "required": false },       "map_caption2": { "label": "map_caption2", "description": "", "type": "string", "required": false },       "capital": { "label": "capital", "description": "", "type": "string", "required": false },       "admin_center": { "label": "admin_center", "description": "", "type": "string", "required": false },       "capital2": { "label": "capital2", "description": "", "type": "string", "required": false },       "admin_center2": { "label": "admin_center2", "description": "", "type": "string", "required": false },       "largest_city": { "label": "largest_city", "description": "", "type": "string", "required": false },       "largest_settlement": { "label": "largest_settlement", "description": "", "type": "string", "required": false },       "admin_center_type": { "label": "admin_center_type", "description": "", "type": "string", "required": false },       "capital_type": { "label": "capital_type", "description": "", "type": "string", "required": false },       "admin_center_type2": { "label": "admin_center_type2", "description": "", "type": "string", "required": false },       "capital_type2": { "label": "capital_type2", "description": "", "type": "string", "required": false },       "largest_settlement_type": { "label": "largest_settlement_type", "description": "", "type": "string", "required": false },       "latd": { "label": "latd", "description": "", "type": "string", "required": false },       "official_languages": { "label": "official_languages", "description": "", "type": "string", "required": false },       "national_languages": { "label": "national_languages", "description": "", "type": "string", "required": false },       "regional_languages": { "label": "regional_languages", "description": "", "type": "string", "required": false },       "languages": { "label": "languages", "description": "", "type": "string", "required": false },       "languages2_sub": { "label": "languages2_sub", "description": "", "type": "string", "required": false },       "languages_sub": { "label": "languages_sub", "description": "", "type": "string", "required": false },       "languages2": { "label": "languages2", "description": "", "type": "string", "required": false },       "ethnic_groups": { "label": "ethnic_groups", "description": "", "type": "string", "required": false },       "ethnic_groups_year": { "label": "ethnic_groups_year", "description": "", "type": "string", "required": false },       "nationalities": { "label": "nationalities", "description": "", "type": "string", "required": false },       "demonym": { "label": "demonym", "description": "", "type": "string", "required": false },       "org_type": { "label": "org_type", "description": "", "type": "string", "required": false },       "membership": { "label": "membership", "description": "", "type": "string", "required": false },       "membership_type": { "label": "membership_type", "description": "", "type": "string", "required": false },       "government_type": { "label": "government_type", "description": "", "type": "string", "required": false },       "politics_link": { "label": "politics_link", "description": "", "type": "string", "required": false },       "leader_title1": { "label": "leader_title1", "description": "", "type": "string", "required": false },       "leader_name1": { "label": "leader_name1", "description": "", "type": "string", "required": false },       "leader_title2": { "label": "leader_title2", "description": "", "type": "string", "required": false },       "leader_title3": { "label": "leader_title3", "description": "", "type": "string", "required": false },       "leader_title4": { "label": "leader_title4", "description": "", "type": "string", "required": false },       "leader_title5": { "label": "leader_title5", "description": "", "type": "string", "required": false },       "leader_title6": { "label": "leader_title6", "description": "", "type": "string", "required": false },       "leader_title7": { "label": "leader_title7", "description": "", "type": "string", "required": false },       "leader_title8": { "label": "leader_title8", "description": "", "type": "string", "required": false },       "leader_title9": { "label": "leader_title9", "description": "", "type": "string", "required": false },       "legislature": { "label": "legislature", "description": "", "type": "string", "required": false },       "upper_house": { "label": "upper_house", "description": "", "type": "string", "required": false },       "lower_house": { "label": "lower_house", "description": "", "type": "string", "required": false },       "established_event1": { "label": "established_event1", "description": "", "type": "string", "required": false },       "sovereignty_type": { "label": "sovereignty_type", "description": "", "type": "string", "required": false },       "established": { "label": "established", "description": "", "type": "string", "required": false },       "sovereignty_note": { "label": "sovereignty_note", "description": "", "type": "string", "required": false },       "established_event2": { "label": "established_event2", "description": "", "type": "string", "required": false },       "established_date1": { "label": "established_date1", "description": "", "type": "string", "required": false },       "established_event3": { "label": "established_event3", "description": "", "type": "string", "required": false },       "established_date2": { "label": "established_date2", "description": "", "type": "string", "required": false },       "established_event4": { "label": "established_event4", "description": "", "type": "string", "required": false },       "established_date3": { "label": "established_date3", "description": "", "type": "string", "required": false },       "established_event5": { "label": "established_event5", "description": "", "type": "string", "required": false },       "established_date4": { "label": "established_date4", "description": "", "type": "string", "required": false },       "established_event6": { "label": "established_event6", "description": "", "type": "string", "required": false },       "established_date5": { "label": "established_date5", "description": "", "type": "string", "required": false },       "established_event7": { "label": "established_event7", "description": "", "type": "string", "required": false },       "established_date6": { "label": "established_date6", "description": "", "type": "string", "required": false },       "established_event8": { "label": "established_event8", "description": "", "type": "string", "required": false },       "established_date7": { "label": "established_date7", "description": "", "type": "string", "required": false },       "established_event9": { "label": "established_event9", "description": "", "type": "string", "required": false },       "established_date8": { "label": "established_date8", "description": "", "type": "string", "required": false },       "established_event10": { "label": "established_event10", "description": "", "type": "string", "required": false },       "established_date9": { "label": "established_date9", "description": "", "type": "string", "required": false },       "established_event11": { "label": "established_event11", "description": "", "type": "string", "required": false },       "established_date10": { "label": "established_date10", "description": "", "type": "string", "required": false },       "established_event12": { "label": "established_event12", "description": "", "type": "string", "required": false },       "established_date11": { "label": "established_date11", "description": "", "type": "string", "required": false },       "established_date12": { "label": "established_date12", "description": "", "type": "string", "required": false },       "area_km2": { "label": "area_km2", "description": "", "type": "string", "required": false },       "area_link": { "label": "area_link", "description": "", "type": "string", "required": false },       "area_label": { "label": "area_label", "description": "", "type": "string", "required": false },       "FR_foot4": { "label": "FR_foot4", "description": "", "type": "string", "required": false },       "area_footnote": { "label": "area_footnote", "description": "", "type": "string", "required": false },       "area_rank": { "label": "area_rank", "description": "", "type": "string", "required": false },       "area_sq_mi": { "label": "area_sq_mi", "description": "", "type": "string", "required": false },       "percent_water": { "label": "percent_water", "description": "", "type": "string", "required": false },       "area_label2": { "label": "area_label2", "description": "", "type": "string", "required": false },       "area_data2": { "label": "area_data2", "description": "", "type": "string", "required": false },       "area_label3": { "label": "area_label3", "description": "", "type": "string", "required": false },       "area_data3": { "label": "area_data3", "description": "", "type": "string", "required": false },       "FR_metropole": { "label": "FR_metropole", "description": "", "type": "string", "required": false },       "FR_foot2": { "label": "FR_foot2", "description": "", "type": "string", "required": false },       "FR_IGN_area_km2": { "label": "FR_IGN_area_km2", "description": "", "type": "string", "required": false },       "FR_IGN_area_rank": { "label": "FR_IGN_area_rank", "description": "", "type": "string", "required": false },       "FR_IGN_area_sq_mi": { "label": "FR_IGN_area_sq_mi", "description": "", "type": "string", "required": false },       "FR_foot3": { "label": "FR_foot3", "description": "", "type": "string", "required": false },       "FR_cadastre_area_km2": { "label": "FR_cadastre_area_km2", "description": "", "type": "string", "required": false },       "FR_cadastre_area_rank": { "label": "FR_cadastre_area_rank", "description": "", "type": "string", "required": false },       "FR_cadastre_area_sq_mi": { "label": "FR_cadastre_area_sq_mi", "description": "", "type": "string", "required": false },       "population_estimate": { "label": "population_estimate", "description": "", "type": "string", "required": false },       "population_census": { "label": "population_census", "description": "", "type": "string", "required": false },       "FR_metropole_population": { "label": "FR_metropole_population", "description": "", "type": "string", "required": false },       "population_link": { "label": "population_link", "description": "", "type": "string", "required": false },       "population_estimate_year": { "label": "population_estimate_year", "description": "", "type": "string", "required": false },       "population_estimate_rank": { "label": "population_estimate_rank", "description": "", "type": "string", "required": false },       "population_label2": { "label": "population_label2", "description": "", "type": "string", "required": false },       "population_data2": { "label": "population_data2", "description": "", "type": "string", "required": false },       "population_label3": { "label": "population_label3", "description": "", "type": "string", "required": false },       "population_data3": { "label": "population_data3", "description": "", "type": "string", "required": false },       "population_census_year": { "label": "population_census_year", "description": "", "type": "string", "required": false },       "population_census_rank": { "label": "population_census_rank", "description": "", "type": "string", "required": false },       "population_density_km2": { "label": "population_density_km2", "description": "", "type": "string", "required": false },       "FR_foot5": { "label": "FR_foot5", "description": "", "type": "string", "required": false },       "pop_den_footnote": { "label": "pop_den_footnote", "description": "", "type": "string", "required": false },       "population_density_rank": { "label": "population_density_rank", "description": "", "type": "string", "required": false },       "population_density_sq_mi": { "label": "population_density_sq_mi", "description": "", "type": "string", "required": false },       "GDP_PPP": { "label": "GDP_PPP", "description": "", "type": "string", "required": false },       "GDP_PPP_year": { "label": "GDP_PPP_year", "description": "", "type": "string", "required": false },       "GDP_PPP_rank": { "label": "GDP_PPP_rank", "description": "", "type": "string", "required": false },       "GDP_PPP_per_capita": { "label": "GDP_PPP_per_capita", "description": "", "type": "string", "required": false },       "GDP_PPP_per_capita_rank": { "label": "GDP_PPP_per_capita_rank", "description": "", "type": "string", "required": false },       "GDP_nominal": { "label": "GDP_nominal", "description": "", "type": "string", "required": false },       "GDP_nominal_year": { "label": "GDP_nominal_year", "description": "", "type": "string", "required": false },       "GDP_nominal_rank": { "label": "GDP_nominal_rank", "description": "", "type": "string", "required": false },       "GDP_nominal_per_capita": { "label": "GDP_nominal_per_capita", "description": "", "type": "string", "required": false },       "GDP_nominal_per_capita_rank": { "label": "GDP_nominal_per_capita_rank", "description": "", "type": "string", "required": false },       "Gini": { "label": "Gini", "description": "", "type": "string", "required": false },       "Gini_year": { "label": "Gini_year", "description": "", "type": "string", "required": false },       "Gini_change": { "label": "Gini_change", "description": "", "type": "string", "required": false },       "Gini_ref": { "label": "Gini_ref", "description": "", "type": "string", "required": false },       "Gini_rank": { "label": "Gini_rank", "description": "", "type": "string", "required": false },       "HDI": { "label": "HDI", "description": "", "type": "string", "required": false },       "HDI_year": { "label": "HDI_year", "description": "", "type": "string", "required": false },       "HDI_change": { "label": "HDI_change", "description": "", "type": "string", "required": false },       "HDI_ref": { "label": "HDI_ref", "description": "", "type": "string", "required": false },       "HDI_rank": { "label": "HDI_rank", "description": "", "type": "string", "required": false },       "currency": { "label": "currency", "description": "", "type": "string", "required": false },       "currency_code": { "label": "currency_code", "description": "", "type": "string", "required": false },       "time_zone": { "label": "time_zone", "description": "", "type": "string", "required": false },       "utc_offset": { "label": "utc_offset", "description": "", "type": "string", "required": false },       "utc_offset_DST": { "label": "utc_offset_DST", "description": "", "type": "string", "required": false },       "DST_note": { "label": "DST_note", "description": "", "type": "string", "required": false },       "time_zone_DST": { "label": "time_zone_DST", "description": "", "type": "string", "required": false },       "DST": { "label": "DST", "description": "", "type": "string", "required": false },       "antipodes": { "label": "antipodes", "description": "", "type": "string", "required": false },       "date_format": { "label": "date_format", "description": "", "type": "string", "required": false },       "drives_on": { "label": "drives_on", "description": "", "type": "string", "required": false },       "calling_code": { "label": "calling_code", "description": "", "type": "string", "required": false },       "patron_saint": { "label": "patron_saint", "description": "", "type": "string", "required": false },       "patron_saints": { "label": "patron_saints", "description": "", "type": "string", "required": false },       "iso3166code": { "label": "iso3166code", "description": "", "type": "string", "required": false },       "cctld": { "label": "cctld", "description": "", "type": "string", "required": false },       "official_website": { "label": "official_website", "description": "", "type": "string", "required": false },       "image_map3": { "label": "image_map3", "description": "", "type": "string", "required": false },       "map3_width": { "label": "map3_width", "description": "", "type": "string", "required": false },       "alt_map3": { "label": "alt_map3", "description": "", "type": "string", "required": false },       "map_caption3": { "label": "map_caption3", "description": "", "type": "string", "required": false },       "footnote_a": { "label": "footnote_a", "description": "", "type": "string", "required": false },       "footnote_b": { "label": "footnote_b", "description": "", "type": "string", "required": false },       "footnote_c": { "label": "footnote_c", "description": "", "type": "string", "required": false },       "footnote_d": { "label": "footnote_d", "description": "", "type": "string", "required": false },       "footnote_e": { "label": "footnote_e", "description": "", "type": "string", "required": false },       "footnote_f": { "label": "footnote_f", "description": "", "type": "string", "required": false },       "footnote_g": { "label": "footnote_g", "description": "", "type": "string", "required": false },       "footnote_h": { "label": "footnote_h", "description": "", "type": "string", "required": false },       "footnote1": { "label": "footnote1", "description": "", "type": "string", "required": false },       "footnote2": { "label": "footnote2", "description": "", "type": "string", "required": false },       "footnote3": { "label": "footnote3", "description": "", "type": "string", "required": false },       "footnote4": { "label": "footnote4", "description": "", "type": "string", "required": false },       "footnote5": { "label": "footnote5", "description": "", "type": "string", "required": false },       "footnote6": { "label": "footnote6", "description": "", "type": "string", "required": false },       "footnote7": { "label": "footnote7", "description": "", "type": "string", "required": false },       "footnote8": { "label": "footnote8", "description": "", "type": "string", "required": false },       "footnotes": { "label": "footnotes", "description": "", "type": "string", "required": false },       "navbar": { "label": "navbar", "description": "", "type": "string", "required": false }   } }