Infobox country is WikiPartner's standard infobox for country articles.
Use it for sovereign states and other subjects that WikiPartner treats as countries. Cities, states, provinces, regions, districts, and other geographic places should normally use Template:Infobox place instead.
All parameters are optional. Add only information supported by reliable sources. Empty fields are automatically hidden.
Adding this template to a country article also generates Schema.org Country structured data automatically. Editors do not need to create JSON-LD manually.
Short usage
Use this version for most country articles.
{{Infobox country
| name =
| official_name =
| native_name =
| flag_image =
| flag_alt =
| capital =
| continent =
| region =
| official_languages =
| area =
| population =
| population_as_of =
| currency =
| currency_code =
| timezone =
| calling_code =
| internet_tld =
| website =
}}
Full usage
Use this version when more information is available. Remove fields that are not needed.
{{Infobox country
| name =
| official_name =
| native_name =
| flag_image =
| flag_alt =
| flag_caption =
| emblem_image =
| emblem_alt =
| map_image =
| map_alt =
| map_caption =
| motto =
| anthem =
| capital =
| largest_city =
| continent =
| region =
| official_languages =
| recognized_languages =
| demonym =
| government =
| head_of_state_title =
| head_of_state =
| head_of_government_title =
| head_of_government =
| legislature =
| formation =
| area =
| area_km2 =
| water_percent =
| population =
| population_number =
| population_as_of =
| population_density =
| gdp_ppp =
| gdp_ppp_year =
| gdp_nominal =
| gdp_nominal_year =
| currency =
| currency_code =
| timezone =
| driving_side =
| calling_code =
| internet_tld =
| iso_alpha2 =
| iso_alpha3 =
| iso_numeric =
| coordinates =
| latitude =
| longitude =
| website =
}}
Images
The country infobox supports three different national images:
flag_image— national flagemblem_image— coat of arms, national seal, or other official national emblemmap_image— map showing the country's location or territory
Use file names only. Do not include File:... markup in these parameters.
The flag is used as the main infobox image when supplied.
Structured-data fields
Some fields have separate machine-readable values.
For population:
| population = 40,000,000 | population_number = 40000000 | population_as_of = 2026
For area:
| area = 500,000 km² | area_km2 = 500000
For coordinates:
| coordinates = 30°N, 70°E | latitude = 30 | longitude = 70
The human-readable values are displayed in the infobox. The numeric versions are used for structured data.
Examples
The examples below deliberately omit images so the documentation does not depend on particular uploaded file names.
Japan
Wikitext
{{Infobox country
| name = Japan
| native_name = 日本国
| capital = Tokyo
| continent = Asia
| region = East Asia
| currency = Japanese yen
| currency_code = JPY
| timezone = Japan Standard Time (UTC+09:00)
| calling_code = +81
| internet_tld = .jp
| website = https://www.japan.go.jp/
}}
Rendered infobox
Canada
Wikitext
{{Infobox country
| name = Canada
| capital = Ottawa
| continent = North America
| official_languages = English; French
| currency = Canadian dollar
| currency_code = CAD
| timezone = Multiple time zones
| calling_code = +1
| internet_tld = .ca
| website = https://www.canada.ca/
}}
Rendered infobox
Brazil
Wikitext
{{Infobox country
| name = Brazil
| official_name = Federative Republic of Brazil
| native_name = República Federativa do Brasil
| capital = Brasília
| continent = South America
| official_languages = Portuguese
| currency = Brazilian real
| currency_code = BRL
| timezone = Multiple time zones
| calling_code = +55
| internet_tld = .br
| website = https://www.gov.br/
}}
Rendered infobox
Usage notes
- Use
namefor the commonly recognized English article name. - Use
official_namefor the country's formal official name when useful. - Use
native_namefor the country's name in its native language or writing system. - If several native names are important, separate them with semicolons.
- Use
flag_imagefor the national flag filename only. - Use
emblem_imagefor an official coat of arms, seal, or equivalent national emblem. - Use
map_imagefor a useful country map. - Use properly licensed images only.
- Use
capitalfor the official capital or capitals. - If a country has more than one capital function, explain the distinction rather than forcing all cities into a single unexplained value.
- Use
largest_cityonly when clearly established by the relevant population definition. - Use
continentfor the continent or continents containing the country. - Use
regionfor a useful geographic subregion such as East Asia, Southern Africa, or Northern Europe when reliably sourced. - Use
official_languagesonly for languages with official status. - Use
recognized_languagesfor other nationally recognized languages when this distinction is relevant. - Separate multiple languages with semicolons.
- Use
demonymfor the commonly accepted demonym or demonyms. - Use
governmentfor a concise description of the country's system of government. - Use
head_of_state_titleandhead_of_government_titlewhen the country's titles differ from the generic labels. - Government officeholders can change. Keep
head_of_stateandhead_of_governmentcurrent and supported by reliable sources. - Use
legislaturefor the country's national legislative body when useful. - Use
formationfor a concise major formation, independence, establishment, or constitutional milestone. Complex national histories should remain in the article body. - Include units in the human-readable
areafield. - Use
area_km2as a number only, withoutkm², commas, or other text. - Use
population_as_ofwhenever population is supplied. - Use
population_numberas a plain numeric value for structured data. - Population values can differ by census, estimate, date, and territorial definition. Use a clearly dated reliable source.
- Use
population_densitywith the unit included. - GDP values should include a clear monetary unit and should always use the corresponding year field.
- Use
currency_codefor the standard currency code when available. - Use
timezonefor the country's time zone or a concise description such asMultiple time zones. - Use
driving_sideasLeftorRightwhen relevant. - Include the leading
+incalling_code. - Include the leading period in a country-code top-level domain, for example
.ca. - Use official ISO country codes in
iso_alpha2,iso_alpha3, andiso_numeric. - Do not guess ISO codes.
- Use
coordinatesfor human-readable coordinates. - Use decimal
latitudeandlongitudefor structured data. - Longitude west of Greenwich should normally be negative.
- Use
websitefor an official national government or official country portal when suitable. - Leave unused fields out.
- Do not add unsupported territorial, demographic, economic, linguistic, or constitutional claims.
- Avoid presenting disputed or source-dependent figures as universally settled facts.
Structured data
WikiPartner represents country articles using Schema.org Country.
The country's common name is emitted as name, while formal and native names may be emitted as alternateName.
The national flag may be emitted as the country's image.
Decimal coordinates are represented using GeoCoordinates.
Official ISO codes are represented through Schema.org identifier using PropertyValue objects.
Country characteristics for which Schema.org does not provide a dedicated property, such as capital, population, area, language, currency, calling code, and internet TLD, may be represented using additionalProperty.
Political officeholders, GDP values, national motto, anthem, legislature, and other fields remain visible encyclopedic information unless there is a precise structured-data relationship that can be represented without guessing.
TemplateData
WikiPartner's standard infobox for countries.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Commonly recognized English name of the country. | String | optional |
| Official name | official_name | Formal official name of the country. | String | optional |
| Native name | native_name | Country name in its native language or writing system. | String | optional |
| Flag image | flag_image | National flag filename without File markup. | File | optional |
| Flag alternative text | flag_alt | Short alternative text describing the national flag. | String | optional |
| Flag caption | flag_caption | Optional caption displayed below the flag. | String | optional |
| National emblem | emblem_image | Coat of arms, seal, or other official national emblem filename. | File | optional |
| Emblem alternative text | emblem_alt | Short alternative text describing the national emblem. | String | optional |
| Map image | map_image | Country location or territory map filename. | File | optional |
| Map alternative text | map_alt | Short alternative text describing the map. | String | optional |
| Map caption | map_caption | Optional caption displayed below the country map. | String | optional |
| Motto | motto | Official or nationally recognized motto when relevant. | String | optional |
| Anthem | anthem | National anthem. | String | optional |
| Capital | capital | Capital city or cities of the country. | String | optional |
| Largest city | largest_city | Largest city when clearly established by the relevant population definition. | String | optional |
| Continent | continent | Continent or continents containing the country. | String | optional |
| Region | region | Geographic subregion containing the country. | String | optional |
| Official languages | official_languages | Languages with official status. Separate multiple languages with semicolons. | String | optional |
| Recognized languages | recognized_languages | Other nationally recognized languages when relevant. | String | optional |
| Demonym | demonym | Common demonym or demonyms for the country's people. | String | optional |
| Government | government | Concise description of the country's system of government. | String | optional |
| Head of state title | head_of_state_title | Official title used for the country's head of state. | String | optional |
| Head of state | head_of_state | Current head of state when relevant and reliably sourced. | String | optional |
| Head of government title | head_of_government_title | Official title used for the country's head of government. | String | optional |
| Head of government | head_of_government | Current head of government when relevant and reliably sourced. | String | optional |
| Legislature | legislature | National legislative body or bodies. | String | optional |
| Formation | formation | Concise formation, independence, establishment, or constitutional milestone. | String | optional |
| Area | area | Human-readable total area including the unit. | String | optional |
| Area in square kilometres | area_km2 | Numeric total area in square kilometres used for structured data. | Number | optional |
| Water percentage | water_percent | Percentage of the country's area covered by water when useful. | String | optional |
| Population | population | Human-readable population figure. | String | optional |
| Population number | population_number | Plain numeric population used for structured data. | Number | optional |
| Population as of | population_as_of | Year or date applicable to the population figure. | String | optional |
| Population density | population_density | Population density including the unit. | String | optional |
| GDP PPP | gdp_ppp | Human-readable gross domestic product at purchasing power parity. | String | optional |
| GDP PPP year | gdp_ppp_year | Year applicable to the GDP PPP figure. | String | optional |
| GDP nominal | gdp_nominal | Human-readable nominal gross domestic product. | String | optional |
| GDP nominal year | gdp_nominal_year | Year applicable to the nominal GDP figure. | String | optional |
| Currency | currency | Official currency or currencies. | String | optional |
| Currency code | currency_code | Standard currency code when available. | String | optional |
| Time zone | timezone | Time zone or concise description of multiple time zones. | String | optional |
| Driving side | driving_side | Side of the road normally used for driving. | String | optional |
| Calling code | calling_code | International telephone calling code including the leading plus sign. | String | optional |
| Internet TLD | internet_tld | Country-code top-level domain including the leading period. | String | optional |
| ISO alpha-2 | iso_alpha2 | Two-letter ISO 3166-1 country code. | String | optional |
| ISO alpha-3 | iso_alpha3 | Three-letter ISO 3166-1 country code. | String | optional |
| ISO numeric | iso_numeric | Three-digit ISO 3166-1 numeric country code. | String | optional |
| Coordinates | coordinates | Human-readable geographic coordinates. | String | optional |
| Latitude | latitude | Decimal latitude used for structured geographic data. | Number | optional |
| Longitude | longitude | Decimal longitude used for structured geographic data. | Number | optional |
| Website | website | Official government or national portal website. | URL | optional |