Template:Infobox country
{{#invoke:Infobox|infoboxTemplate |templatestyles = Template:Infobox country/styles.css | bodyclass = ib-country vcard | aboveclass = adr | above = {{#if:
| {{#if:
|
}}{{#if:
|
}}{{#ifeq:|yes
|Micronation
}}
|
}}
| subheader = {{#if: | {{{life_span}}} | {{#if:|{{{year_start}}}{{#if:|–{{{year_end}}} }} }} }}
| image1 = {{#if:
|Template:Infobox country/imagetable }}
| data1 = {{#if:
|Motto: Template:If empty{{#if:|
}}
}}
| class2 = anthem | data2 = {{#if:
|Anthem: Template:If empty }}{{#if: |Anthems: {{{anthems}}} }}{{#if: |
}}{{#if: |
}}{{#if: |
}}{{#if: |
}}{{#if: |
}}{{#if: |
}}{{#if: |
}}
| data3 = {{#if:
|{{#if: | Template:If empty
}}Template:If empty }}
| data4 = {{#if:
|{{#invoke:InfoboxImage|InfoboxImage|image=|size=|upright=1.15|alt=|title=Location of Infobox country }}{{#if:|
}} }}
| data5 = {{#if:
|{{#invoke:InfoboxImage|InfoboxImage|image=|size=|upright=1.15|alt=|title=Location of Infobox country }}{{#if:|
}} }}
| label6 = Status | data6 = {{#if:|Template:Infobox country/status text }}
| label7 = Location | data7 =
| label8 = {{#if: | {{{capital_type}}} | Capital }}{{#ifeq: {{#ifeq:|capital
|capital|{{#switch:{{{capital}}} | [[]] = capital | = capital | not capital
}}}}|capital |
}}
| data8 = {{#if:|{{{capital}}}{{#if:|
{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:city}}}} }}
| rowclass9 = {{#if:|mergedrow}} | label9 = Capital-in-exile | data9 = {{#ifexist:|[[]]|}}
| rowclass10 = {{#if:|mergedrow}} | label10 = {{#if:| {{{admin_center_type}}} | Administrative center }} | data10 = {{#switch:
|capital | = |[[]] = | = |#default = {{{admin_center}}}{{#if:||{{#if:|
{{#invoke:Coordinates|coordinsert|{{{coordinates}}}|type:city}}}} }} }}
| rowclass11 = {{#if:|mergedbottomrow}} | label11 = Largest city | data11 = {{#ifeq: {{#ifeq:|capital
|capital|{{#switch:{{{capital}}} | [[]] = capital | = capital | not capital }}}}|capital | | Template:If empty }}
| rowclass12 = mergedtoprow | label12 = Official languages | data12 = | rowclass13 = mergedrow | label13 = {{#if:|Recognized|Recognised}} languages | data13 = Template:If empty | rowclass14 = mergedrow | label14 = {{#if:|Recognized|Recognised}} national languages | data14 = Template:If empty | rowclass15 = mergedrow | label15 = {{#if:|Recognized|Recognised}} regional languages | data15 = Template:If empty | label16 = Common languages | data16 =
| rowclass17 = {{#ifeq:|yes
|{{#ifeq:|yes |mergedrow}} |{{#ifeq:|yes |mergedbottomrow}} }}
| label17 ={{#ifeq:|yes
|
|Template:If empty }}
| data17 =
| rowclass18 = {{#ifeq:|yes |mergedbottomrow}} | label18 = {{#ifeq:|yes
|
|Template:If empty }}
| data18 =
| label19 = Ethnic groups {{#if: |
|
}}
| data19 =
| label20 = Religion {{#if: |
|
}}
| data20 =
| label21 = Demonym(s) | data21 = {{#if:
|{{#ifexist:{{{demonym}}} people | [[{{{demonym}}} people|{{{demonym}}}]] | {{{demonym}}} }} }}
| label22 = Type | data22 =
| label23 = Template:If empty | data23 =
| label24 = {{#if:
| {{#if: | [[{{{politics_link}}}|{{#ifeq:|yes|Organizational structure|Government}}]]| {{#ifexist:Politics of Infobox country | {{#ifeq:|yes|Organizational structure|Government}}| {{#ifeq:|yes|Organizational structure|Government}}}}}}}}
| data24 =
| header25 = {{#if: || {{#if:
| {{#if: | Leaders | Government }} }} }}
| rowclass26 = mergedrow | data26 = {{#if:|Template:Infobox country/multirow }}
| rowclass27 = mergedrow | label27 = {{#if:| {{{title_leader}}} }} | data27 = {{#if:| }} | rowclass28 = mergedrow | data28 = {{#if: | Template:Infobox country/multirow }}
| rowclass29 = mergedrow | label29 = {{#if:| {{{title_representative}}} }} | data29 = {{#if:| }} | rowclass30 = mergedrow | data30 = {{#if:|Template:Infobox country/multirow }}
| rowclass31 = mergedrow | label31 = {{#if:|{{{title_deputy}}} }} | data31 = {{#if:| }} | rowclass32 = mergedrow | data32 = {{#if:|Template:Infobox country/multirow }}
| label40 = Legislature | data40 = | rowclass41 = mergedrow
| label41 =
| data41 = | rowclass42 = mergedbottomrow
| label42 =
| data42 =
| rowclass43 = {{#if: |mergedtoprow}} | header43 = {{#if:
|{{#if:
| {{{sovereignty_type}}}{{#if: |
}}
| {{#if:| | Establishment }} }} }}
| label44 = Establishment | data44 = {{#if:
| | }}
| label45 = {{#if:|Historical era|History}} | data45 = {{#if: |{{#ifexist:|[[{{{era}}}]]|{{{era}}}}} | {{#if:| }}}}
| rowclass46 = {{#if: |mergedrow |mergedbottomrow}} | data46 = {{#if:|Template:Infobox country/multirow }}
| rowclass47 = {{#if: |mergedrow |mergedbottomrow}} | data47 = {{#if:|Template:Infobox country/multirow }}
| rowclass60 = mergedtoprow | header60 = {{#if:
| {{#if: | [[{{{area_link}}}|Area {{#ifeq:|yes|claimed|}}]] | {{#ifexist:Geography of Infobox country | Area {{#ifeq:|yes|claimed|}} | Area {{#ifeq:|yes|claimed|}}}}}} }}
| rowclass61 = {{#if:|mergedrow|mergedbottomrow}}
| label61 =
| data61 = {{#if:
|{{#if: |Template:Convinfobox |{{#if: |Template:Convinfobox }} }}{{#if: | ({{{area_rank}}}) }} }}
| rowclass62 = {{#if:|mergedrow|mergedbottomrow}}
| label62 =
| data62 = {{#if:
|{{#if: |Template:Convinfobox |{{#if: |Template:Convinfobox }} }} }}
| rowclass63 = {{#if:|mergedrow|mergedbottomrow}}
| label63 =
| data63 = {{#if:
|{{#if: |Template:Convinfobox |{{#if: |Template:Convinfobox }} }} }}
| rowclass64 = {{#if:|mergedrow|mergedbottomrow}}
| label64 =
| data64 =
| rowclass65 = {{#if:|mergedrow|mergedbottomrow}}
| label65 =
| data65 = {{#if:| }}
| rowclass66 = {{#if:|mergedrow|mergedbottomrow}}
| label66 =
| data66 = {{#if:| }}
| rowclass67 = {{#if:|mergedrow|mergedbottomrow}} | label67 = | data67 = {{#if: | Template:Convinfobox }}
| rowclass68 = {{#if:|mergedrow|mergedbottomrow}} | label68 = | data68 = {{#if: | Template:Convinfobox }}
| rowclass69 = {{#if:|mergedrow|mergedbottomrow}} | label69 = | data69 = {{#if: | Template:Convinfobox }}
| rowclass70 = {{#if:|mergedrow|mergedbottomrow}} | label70 = | data70 = {{#if: | Template:Convinfobox }}
| rowclass71 = {{#if:|mergedrow|mergedbottomrow}} | label71 = | data71 = {{#if: | Template:Convinfobox }}
| rowclass72 = mergedrow
| label72 =
| data72 = {{#if:| }}
| rowclass73 = mergedrow
| label73 =
| data73 = {{#if:
|{{#if: |Template:Convinfobox{{#if:| ([[List of countries and dependencies by area|]])}} }} }}
| rowclass89 = mergedbottomrow
| label89 =
| data89 = {{#if:
|{{#if: | Template:Convinfobox{{#if:| ([[List of countries and dependencies by area|]])}} }} }}
| rowclass90 = mergedtoprow | header90 = {{#if:
|{{#if: | {{#ifeq:{{{population_link}}}|no|Population|[[{{{population_link}}}|Population]]}}| {{#ifexist:Demographics of Infobox country | Population| Population}}}} }}
| rowclass91 = mergedrow
| label91 =
| data91 = {{#if:
|{{{population_estimate}}}{{#if: | ({{{population_estimate_rank}}})}} }}
| rowclass92 = mergedrow
| label92=
| data92= {{#if:|}}
| rowclass93= mergedrow
| label93=
| data93= {{#if:|}}
| rowclass94= mergedrow | data94= {{#if:|Template:Infobox country/multirow }}
| rowclass95= mergedrow
| label95=
| data95= {{#if:
|{{{population_census}}}{{#if: | ({{{population_census_rank}}})}} }}
| rowclass96= mergedrow | label96 = {{#if:|{{#if:|Template:Nobold}}}} | data96 = {{#if:|{{#if:|}}}}
| rowclass97 = mergedrow
| label97=
| data97= {{#if:|{{#if:
|{{{FR_total_population_estimate}}}{{#if:| ({{{FR_total_population_estimate_rank}}})}} }} }}
| rowclass98 = mergedrow
| label98=
| data98= {{#if:|{{{FR_metropole_population}}}{{#if:
| ({{{FR_metropole_population_estimate_rank}}})}} }}
| rowclass99 = mergedbottomrow
| label99=
| data99= {{#if:
| Template:Convinfobox{{#if: | ({{{population_density_rank}}})}} }}
| rowclass100 = {{#if:|mergedbottomrow|mergedtoprow}} | label100 = Membership | data100=
| rowclass101= mergedtoprow | label101= {{#ifeq:|yes|Claimed|}} GDP Template:Nobold | data101= {{#if:
|{{#if: |{{{GDP_PPP_year}}} }}estimate }}
| rowclass102= mergedrow
| label102=
| data102= {{#if:
|{{{GDP_PPP}}}{{#if: | ({{{GDP_PPP_rank}}})}} }}
| rowclass103= mergedbottomrow
| label103=
| data103= {{#if:
|{{{GDP_PPP_per_capita}}}{{#if: | ({{{GDP_PPP_per_capita_rank}}})}} }}
| rowclass104= mergedtoprow | label104= {{#ifeq:|yes|Claimed|}} GDP Template:Nobold | data104= {{#if:
|{{#if: |{{{GDP_nominal_year}}} }}estimate }}
| rowclass105= mergedrow
| label105=
| data105= {{#if:
|{{{GDP_nominal}}}{{#if: | ({{{GDP_nominal_rank}}})}} }}
| rowclass106= mergedbottomrow
| label106=
| data106= {{#if:
| {{{GDP_nominal_per_capita}}}{{#if: | ({{{GDP_nominal_per_capita_rank}}})}} }}
| label107= Gini{{#if: | Template:Nobold}} | data107= {{#if:
| {{#switch: |increase = Template:IncreaseNegative |decrease = Template:DecreasePositive |steady = Template:Steady }}{{{Gini}}}
{{#iferror:{{#ifexpr:{{{Gini}}}>100 | Template:Error| {{#ifexpr:{{{Gini}}}>=60 |Template:Color| {{#ifexpr:{{{Gini}}}>=46 | Template:Color| {{#ifexpr:{{{Gini}}}>=30 | Template:Color| {{#ifexpr:{{{Gini}}}>=0 | Template:Color| Template:Error}}}}}}}}}}| Template:Error{{#ifeq: Template | | }}}}{{#if: | ({{{Gini_rank}}})}}}}
| label108= HDI{{#if: | Template:Nobold}} | data108= {{#if:
| {{#switch: |increase = Template:Increase |decrease = Template:Decrease |steady = Template:Steady }}{{{HDI}}}
{{#iferror:{{#ifexpr:{{{HDI}}}>1 | Template:Error| {{#ifexpr:{{{HDI}}}>0.799 | Template:Color| {{#ifexpr:{{{HDI}}}>0.699 | Template:Color| {{#ifexpr:{{{HDI}}}>0.549 | Template:Color| {{#ifexpr:{{{HDI}}}>=0.000| Template:Color| Template:Error}}}}}}}}}}| Template:Error{{#ifeq: Template | | }}}}{{#if: | ({{{HDI_rank}}})}}}}
| label109= {{#ifeq:|yes|Purported currency|Currency}} | data109= {{#if:
| {{{currency}}} {{#if: |({{{currency_code}}})}} }}
| rowclass119= {{#if: |mergedtoprow}} | label119= Time zone | data119= {{#if:
|UTC{{{utc_offset}}} {{#if:|({{{time_zone}}})}}
|
}}
| rowclass120= {{#if: |mergedrow |mergedbottomrow}}
| label120=
| data120= {{#if:
|UTC{{{utc_offset_DST}}} {{#if:|({{{time_zone_DST}}})|{{#if:|({{{DST}}})}}}}
|{{#if:|{{{time_zone_DST}}}|}}
}}
| rowclass121= mergedbottomrow | label121= | data121=
| label122 = Antipodes | data122=
| label123 = Date format | data123=
| label126= {{#if:
|{{#ifexist:Telephone numbers in Infobox country | Calling code | Calling code }} }}
| data126=
| label127= ISO 3166 code | data127= {{#switch:
|omit = | = {{#if: | {{#if:Template:ISO 3166 code | [[ISO 3166-2:Template:ISO 3166 code|Template:ISO 3166 code]] }} }} |#default = [[ISO 3166-2:{{{ISO3166CODE}}}|{{{ISO3166CODE}}}]] }}
| label128= Internet TLD | data128=
| data129 = {{#if:
|
{{{official_website}}}
}}
| data130= {{#if:
| {{#invoke:InfoboxImage|InfoboxImage|image=|size=|upright=1.15|alt=|title=Location of Infobox country }}{{#if:|
}}
}}
| data134 = {{#if:
|Template:Infobox country/formernext
}}
| label135 = Today part of | data135 =
| data136 = {{#if:
|
-
{{#if:|
}}{{#if:|
}}{{#if:|
}}{{#if:|
}}{{#if:|
}}{{#if:|
}}{{#if:|
}}{{#if:|}}
}}
| data137 = {{#if:
|
-
{{#if:|
}}{{#if:|
}}{{#if:|
}}{{#if:|
}}{{#if:|
}}{{#if:|
}}{{#if:|
}}{{#if:|}}
}} | data138 = {{#if:|
{{{footnotes2}}}}}
}}
| belowclass = mergedtoprow noprint | below = {{#if:| Template:Navbar }} }}{{#invoke:Check for unknown parameters|check|unknown=Template:Main other|preview=Page using Template:Infobox country with unknown parameter "_VALUE_"|ignoreblank=y| admin_center_type | admin_center | alt_coat | alt_flag | alt_flag2 | alt_map | alt_map2 | alt_map3 | alt_symbol | anthem | anthems | antipodes | area_acre | area_data2 | area_data3 | area_footnote | area_ha | area_km2 | area_label | area_label2 | area_label3 | area_land_acre | area_land_footnote | area_land_ha | area_land_km2 | area_land_sq_mi | area_link | area_rank | area_sq_mi | area_water_acre | area_water_footnote | area_water_ha | area_water_km2 | area_water_sq_mi | regexp1 = border_[ps][%d]+ | calling_code | capital_exile | capital_type | capital | cctld | coa_size | coat_alt | common_languages | common_name | conventional_long_name | coordinates | currency_code | currency | date_end | regexp2 = date_event[%d]+ | date_format | date_post | date_pre | date_start | demonym | regexp3 = deputy[%d]+ | drives_on | DST_note | DST | empire | englishmotto | era | regexp4 = established_date[%d]+ | regexp5 = established_event[%d]+ | established | ethnic_groups_ref | ethnic_groups_year | ethnic_groups | event_end | event_post | event_pre | event_start | regexp6 = event[%d]+ | flag| flag_alt | flag_alt2 | flag_border | flag_caption | flag_caption | regexp7 = flag_[ps][%d]+ | flag_size | flag_type | flag_type_article | flag_width | flag2_border | regexp8 = footnote_[a-h] | regexp9 = footnote[%d]+ | footnotes | footnotes2 | FR_cadastre_area_km2 | FR_cadastre_area_rank | FR_cadastre_area_sq_mi | FR_foot | FR_foot2 | FR_foot3 | FR_foot4 | FR_foot5 | FR_IGN_area_km2 | FR_IGN_area_rank | FR_IGN_area_sq_mi | FR_metropole_population_estimate_rank | FR_metropole_population | FR_metropole | FR_total_population_estimate_rank | FR_total_population_estimate_year | FR_total_population_estimate | GDP_nominal_per_capita_rank | GDP_nominal_per_capita | GDP_nominal_rank | GDP_nominal_year | GDP_nominal | GDP_PPP_per_capita_rank | GDP_PPP_per_capita | GDP_PPP_rank | GDP_PPP_year | GDP_PPP | Gini_change | Gini_rank | Gini_ref | Gini_year | Gini | government_type | HDI_change | HDI_rank | HDI_ref | HDI_year | HDI | house1 | house2 | image_coat | image_flag | image_flag2 | image_map_alt | image_map_caption | image_map_size | image_map | image_map2_alt | image_map2_caption | image_map2_size | image_map2 | image_map3 | regexp10 = image_[ps][%d]+ | image_symbol | iso3166code | languages_sub | languages_type | languages | languages2_sub | languages2_type | languages2 | largest_city | largest_settlement_type | largest_settlement | regexp11 = leader_name[%d]+ | regexp12 = leader_title[%d]+ | regexp13 = leader[%d]+ | legislature | life_span | linking_name | location_map | loctext | lower_house | map_caption | map_caption2 | map_caption3 | map_width | map2_width | map3_width | membership_type | membership | micronation | motto | name | national_anthem | national_languages | national_motto | native_name | navbar | nummembers | official_languages | official_website | org_type | other_symbol_type | other_symbol | regexp14 = [ps][%d]+ | patron_saint | patron_saints | percent_water | politics_link | pop_den_footnote | population_census_rank | population_census_year | population_census | population_data2 | population_data3 | population_density_km2 | population_density_rank | population_density_sq_mi | population_estimate_rank | population_estimate_year | population_estimate | population_label2 | population_label3 | population_link | recognised_languages | recognised_national_languages | recognised_regional_languages | recognized_languages | recognized_national_languages | regexp15 = ref_area[%d]+ | regexp16 = ref_pop[%d]+ | regional_languages | recognized_regional_languages | religion_ref | religion_year | religion | regexp17 = representative[%d]+ | royal_anthem | flag_anthem | march | national_march | regional_anthem | territorial_anthem | state_anthem | sovereignty_note | sovereignty_type | regexp18 = stat_area[%d]+ | regexp19 = stat_pop[%d]+ | regexp20 = stat_year[%d]+ | status_text | status | symbol| symbol_type_article | symbol_type | symbol_width | text_symbol_type | text_symbol | time_zone_DST | time_zone | title_deputy | title_leader | title_representative | today | type_house1 | type_house2 | upper_house | utc_offset_DST | utc_offset | regexp21 = year_deputy[%d]+ | year_end | year_exile_end | year_exile_start | regexp22 = year_leader[%d]+ | regexp23 = year_representative[%d]+ | year_start}}Template:Main other{{#if:|{{#ifeq:|Colony|Template:Main other|{{#ifeq:|Exile|Template:Main other}}}} }} Template:Documentation