Template:Infobox continent: Difference between revisions
(+UN M.49 code, mimicking the ISO 3166 code for countries) |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 17: | Line 17: | ||
|label7 = HDI | |label7 = HDI | ||
|data7 = {{{HDI|}}} | |data7 = {{{HDI|}}} | ||
|label8 = | |label8 = {{wpl|Ethnic groups}} | ||
|data8 = {{{ethnic_groups|}}} | |data8 = {{{ethnic_groups|}}} | ||
|label9 = Religions | |label9 = Religions | ||
|data9 = {{{religions|}}} | |data9 = {{{religions|}}} | ||
|label10 = | |label10 = {{wpl|Demonym}} | ||
|data10 = {{{demonym|}}} | |data10 = {{{demonym|}}} | ||
|label11 = Countries | |label11 = Countries | ||
Line 27: | Line 27: | ||
|label12 = Dependencies | |label12 = Dependencies | ||
|data12 = {{{dependencies|}}} | |data12 = {{{dependencies|}}} | ||
|label13 = | |label13 = Unrecognised states | ||
|data13 = {{{unrecognized|}}} | |data13 = {{{unrecognized|}}} | ||
|label14 = Languages | |label14 = Languages | ||
Line 33: | Line 33: | ||
|label15 = Time zones | |label15 = Time zones | ||
|data15 = {{{time|}}} | |data15 = {{{time|}}} | ||
|label16 = Internet | |label16 = Internet {{wpl|Top-level domain|TLD}} | ||
|data16 = {{{internet|}}} | |data16 = {{{internet|}}} | ||
|label17 = Calling code | |label17 = Calling code | ||
Line 39: | Line 39: | ||
|label18 = Largest cities | |label18 = Largest cities | ||
|data18 = {{{cities|}}} | |data18 = {{{cities|}}} | ||
|belowstyle = text-align:left; border-top:#aaa 1px solid; | |belowstyle = text-align:left; border-top:#aaa 1px solid; |
Latest revision as of 10:04, 12 January 2020
Usage
{{Infobox continent |title = |image = |area = |population = |density = |GDP_nominal = |GDP_PPP = |GDP_per_capita = |HDI = |ethnic_groups = |religions = |demonym = |countries = |list_countries = |dependencies = |unrecognized = |languages = |time = |internet = |calling_code = |cities = |m49 = |footnotes = }}
Example
Area | 24,709,000 km2 (9,540,000 sq mi) |
---|---|
Population | 528,720,588 (2008, 4th) |
Population density | 21.4/km2 (55/sq mi) |
GDP (nominal) | $20.3 trillion (2013) |
GDP (PPP) | $20.9 trillion (2013) |
Demonym | North American |
Countries | 23 countries |
Dependencies | 22 dependencies |
Languages | List of languages |
Time zones | UTC−10 to UTC |
Internet TLD | North American TLD |
Largest cities | List of urban areas |
{{Infobox continent |title = North America |image = [[File:Location North America.svg|220px]] |area = {{convert|24,709,000|km2|sqmi|abbr=on}} |population = 528,720,588 (2008, [[List of continents by population|4th]]) |density = {{convert|21.4|/km2|/sqmi|abbr=on}} |GDP_nominal = $20.3 trillion (2013) |GDP_PPP = $20.9 trillion (2013) |demonym = North American |countries = 23 countries |list_countries = List of North American countries |dependencies = [[List of North American countries#Dependent territories|22 dependencies]] |languages = [[Languages of North America|List of languages]] |time = [[UTC−10]] to [[UTC±0|UTC]] |internet = [[Country code top-level domain#List of ccTLDs|North American TLD]] |cities = [[List of the largest urban agglomerations in North America|List of urban areas]] |m49 = <code>021</code> – Northern America<br /><code>003</code> – [[North America]]<br /><code>019</code> – [[Americas]]<br /><code>001</code> – [[World]] }}
Collapsible list
Dependencies |
|
---|
{{Infobox continent |unrecognized = {{Collapsible list | title =   | list_style = text-align:left; | 1 = Testing 1 | 2 = Testing 2 | 3 = Testing 3 | 4 = Testing 4 | 5 = Testing 5 }} }}
Parameters
All template parameters are optional.
- title
- name of the article
- image
- visual interpretation of the borders of a continent on a file
- area
- amount of space inside of the continent
- population
- number of people who inhabit the continent
- density
- measurement of population on the continent per unit area
- GDP (nominal)
- measurement of the total nominal GDP of all the countries in the continent
- GDP (PPP)
- measurement of the total purchasing power parity GDP of all the countries in the continent
- ethnic_groups
- List/breakdown of ethnic groups within the country/territory
- religions
- List/breakdown of religions within the country/territory
- demonym
- a name for a resident of a locality which is derived from the name of that particular locality (e.g. North American, Asian)
- countries
- number of recognized countries on a continent
- list_countries
- the title of the list of countries for that continent (e.g. List of North American countries)
- dependencies
- a continent's dependencies; if this is not outlined on that continent's countries list, use the {{collapsible list}} template as shown here
- unrecognized
- a continent's unrecognized republics and territories; if this is not outlined on that continent's countries list, use the {{collapsible list}} template as shown here
- languages
- a continent's languages; if there is no list form, use the {{collapsible list}} template as shown here
- time
- a continent's time zones (e.g. UTC−10 to UTC)
- internet
- the top-level domains for a country; link to Country code top-level domain#List of ccTLDs
- calling_code
- e.g. +1, +531, +44, etc
- cities
- the most notable and highly populated cities on a continent (e.g. List of the largest urban agglomerations in North America)
- m49
- the UN M.49 code and parent codes (e.g.
021
– Northern America) - footnotes
- footnotes
Template data
TemplateData for Infobox continent
A template used to describe a continent
Parameter | Description | Type | Status | |
---|---|---|---|---|
title | title | The name of the article | Unknown | optional |
image | image | An image of the continent | Unknown | optional |
area | area | The total area of the continent | Unknown | optional |
population | population | The total population of the continent | Unknown | optional |
density | density | The population density of the continent | Unknown | optional |
GDP_nominal | GDP_nominal | The measurement of the total nominal GDP of all the countries in the continent | Unknown | optional |
GDP_PPP | GDP_PPP | The measurement of the total purchasing power parity GDP of all the countries in the continent | Unknown | optional |
demonym | demonym | A name for a resident of a locality which is derived from the name of that particular locality | Unknown | optional |
countries | countries | The total number of recognized countries on a continent | Unknown | optional |
list_countries | list_countries | A title used to describe the list of countries for that continent, if it exists | Unknown | optional |
dependencies | dependencies | A continent's dependencies, if any exists | Unknown | optional |
unrecognized | unrecognized | A continent's unrecognized republics and territories, if any exists | Unknown | optional |
languages | languages | The different languages spoken on the continent | Unknown | optional |
time | time | A continent's time zones | Unknown | optional |
internet | internet | The top level domains for the continent | Unknown | optional |
cities | cities | The most notable and highly populated cities on a continent | Unknown | optional |
footnotes | footnotes | no description | Unknown | optional |