Difference between revisions of "Template:Infobox continent/doc"

From blackwiki
Jump to navigation Jump to search
(+ja)
imported>TerraCyprus
(geography is a science concerned with places and processes, this infobox is to be used on articles about specific places)
 
(44 intermediate revisions by 25 users not shown)
Line 1: Line 1:
<includeonly>{{template doc page transcluded}}</includeonly>
+
{{Documentation subpage}}
<noinclude>{{template doc page viewed directly}}</noinclude>
 
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<includeonly>{{intricate template}}</includeonly>
 
  
 
===Usage===
 
===Usage===
 
<pre>
 
<pre>
{{Infobox Continent
+
{{Infobox continent
 +
|title              =
 
|image              =  
 
|image              =  
 
|area                =  
 
|area                =  
 
|population          =  
 
|population          =  
|density            =
+
|density           
|demonym            =
+
|GDP_PPP            =
|countries          =
+
|GDP_nominal        = 
|list_countries      =
+
|GDP_per_capita      =
 +
|HDI                =
 +
|ethnic_groups      =
 +
|religions          =  
 +
|demonym            =  
 +
|countries          =  
 +
|list_countries      =  
 
|dependencies        =  
 
|dependencies        =  
|unrecognized        =
+
|unrecognized        =  
 
|languages          =  
 
|languages          =  
 
|time                =  
 
|time                =  
|internet            =
+
|internet            =
 +
|calling_code        =  
 
|cities              =  
 
|cities              =  
 +
|m49                =
 +
|footnotes          =
 
}}
 
}}
 
</pre>
 
</pre>
  
 
===Example===
 
===Example===
{{Infobox Continent
+
 
|image              = [[File:LocationNorthAmerica.png|200px]]
+
{{Infobox continent
|area                = 24,709,000 cat km<sup>2</sup> (9,540,000 sq mi)
+
|title              = North America
|population          = 528,720,588 (July 2008 est.)
+
|image              = [[File:Location North America.svg|220px]]
|density            = 22.9/km<sup>2</sup> (59.3/sq mi)
+
|area                = {{convert|24,709,000|km2|sqmi|abbr=on}}
|demonym            = [[North American]], [[American (disambiguation)|American]]
+
|population          = 528,720,588 (2008, [[List of continents by population|4th]])
|countries          = 8
+
|density            = {{convert|21.4|/km2|/sqmi|abbr=on}}
 +
|GDP_PPP            = $20.9 trillion (2013)
 +
|GDP_nominal        = $20.3 trillion (2013)  
 +
|demonym            = North American
 +
|countries          = 23 countries
 
|list_countries      = List of North American countries
 
|list_countries      = List of North American countries
|dependencies        = see [[List of North American countries]]''
+
|dependencies        = [[List of North American countries#Dependent territories|22 dependencies]]
 
|languages          = [[Languages of North America|List of languages]]
 
|languages          = [[Languages of North America|List of languages]]
|time                = [[UTC-10]] to [[UTC±0|UTC]]
+
|time                = [[UTC−10]] to [[UTC±0|UTC]]
 
|internet            = [[Country code top-level domain#List of ccTLDs|North American TLD]]
 
|internet            = [[Country code top-level domain#List of ccTLDs|North American TLD]]
|cities              = [[List of the largest urban agglomerations in North America|List of cities]]
+
|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]]
 
}}
 
}}
  
 
<pre style="overflow: auto;">
 
<pre style="overflow: auto;">
{{Infobox Continent
+
{{Infobox continent
|image              = [[File:LocationNorthAmerica.png|200px]]
+
|title              = North America
|area                = 24,709,000 km<sup>2</sup> (9,540,000 sq mi)
+
|image              = [[File:Location North America.svg|220px]]
|population          = 528,720,588 (July 2008 est.)
+
|area                = {{convert|24,709,000|km2|sqmi|abbr=on}}
|density            = 22.9/km<sup>2</sup> (59.3/sq mi)
+
|population          = 528,720,588 (2008, [[List of continents by population|4th]])
|demonym            = [[North American]], [[American (disambiguation)|]]
+
|density            = {{convert|21.4|/km2|/sqmi|abbr=on}}
|countries          = 8
+
|GDP_PPP            = $20.9 trillion (2013)
 +
|GDP_nominal        = $20.3 trillion (2013)  
 +
|demonym            = North American
 +
|countries          = 23 countries
 
|list_countries      = List of North American countries
 
|list_countries      = List of North American countries
|dependencies        = See [[List of North American countries]]
+
|dependencies        = [[List of North American countries#Dependent territories|22 dependencies]]
 
|languages          = [[Languages of North America|List of languages]]
 
|languages          = [[Languages of North America|List of languages]]
|time                = [[UTC-10]] to [[UTC±0|UTC]]
+
|time                = [[UTC−10]] to [[UTC±0|UTC]]
 
|internet            = [[Country code top-level domain#List of ccTLDs|North American TLD]]
 
|internet            = [[Country code top-level domain#List of ccTLDs|North American TLD]]
|cities              = [[List of the largest urban agglomerations in North America|List of cities]]
+
|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]]
 
}}
 
}}
 
</pre>
 
</pre>
{{-}}
+
{{Clear}}
  
 
====Collapsible list====
 
====Collapsible list====
{{Infobox Continent
+
 
 +
{{Infobox continent
 
|dependencies =  
 
|dependencies =  
 
  {{Collapsible list
 
  {{Collapsible list
   | title       = {{voidd}}
+
   | title = &ensp;
  | frame_style = border: none; padding: 0;
+
   | list_style  = text-align:left;
   | list_style  = display: none;
 
 
   | 1 = Testing 1 | 2 = Testing 2 | 3 = Testing 3 | 4 = Testing 4 | 5 = Testing 5
 
   | 1 = Testing 1 | 2 = Testing 2 | 3 = Testing 3 | 4 = Testing 4 | 5 = Testing 5
 
  }}
 
  }}
Line 69: Line 86:
  
 
<pre style="overflow: auto;">
 
<pre style="overflow: auto;">
{{Infobox Continent
+
{{Infobox continent
 
|unrecognized =  
 
|unrecognized =  
 
  {{Collapsible list
 
  {{Collapsible list
   | title       = {{Voidd}}
+
   | title = &amp;ensp;
  | frame_style = border: none; padding: 0;
+
   | list_style  = text-align:left;
   | list_style  = display: none;
 
 
   | 1 = Testing 1 | 2 = Testing 2 | 3 = Testing 3 | 4 = Testing 4 | 5 = Testing 5
 
   | 1 = Testing 1 | 2 = Testing 2 | 3 = Testing 3 | 4 = Testing 4 | 5 = Testing 5
 
  }}
 
  }}
 
}}
 
}}
 
</pre>
 
</pre>
{{-}}
+
{{Clear}}
  
 
===Parameters===
 
===Parameters===
 
All template parameters are optional.
 
All template parameters are optional.
  
 +
; title: name of the article
 
; image: visual interpretation of the borders of a continent on a file
 
; image: visual interpretation of the borders of a continent on a file
 
; area: amount of space inside of the continent
 
; area: amount of space inside of the continent
 
; population: number of people who inhabit the continent
 
; population: number of people who inhabit the continent
 
; density: measurement of population on the continent per unit area
 
; density: measurement of population on the continent per unit area
 +
; GDP (PPP): measurement of the total purchasing power parity GDP of all the countries in the continent
 +
; GDP (nominal): measurement of the total nominal 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)
 
; 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
 
; countries: number of recognized countries on a continent
; list_countries: the title of the list of countries for that continent (eg. [[List of North American countries]])
+
; 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 <nowiki>{{collapsible list}}</nowiki> template as shown [[Template:Infobox Continent/doc#Collapsible list|here]]
+
; dependencies: a continent's dependencies; if this is not outlined on that continent's countries list, use the <nowiki>{{collapsible list}}</nowiki> template as shown [[Template:Infobox continent/doc#Collapsible list|here]]
; unrecognized: a continent's unrecognized republics and territories; if this is not outlined on that continent's countries list, use the <nowiki>{{collapsible list}}</nowiki> template as shown [[Template:Infobox Continent/doc#Collapsible list|here]]
+
; unrecognized: a continent's unrecognized republics and territories; if this is not outlined on that continent's countries list, use the <nowiki>{{collapsible list}}</nowiki> template as shown [[Template:Infobox continent/doc#Collapsible list|here]]
; languages: a continent's languages; if there is no list form, use the <nowiki>{{collapsible list}}</nowiki> template as shown [[Template:Infobox Continent/doc#Collapsible list|here]]
+
; languages: a continent's languages; if there is no list form, use the <nowiki>{{collapsible list}}</nowiki> template as shown [[Template:Infobox continent/doc#Collapsible list|here]]
; time: a continent's time zones (e.g. [[UTC-10]] to [[UTC]])
+
; 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]]
 
; internet: the top-level domains for a country; link to [[Country code top-level domain#List of ccTLDs]]
; cities: the most notable and highly populated cities on a continent (eg. [[List of the largest urban agglomerations in North America]])
+
; 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. <code>021</code> – Northern America)
 +
; footnotes: footnotes
 +
 
 +
===Template data===
 +
{{TemplateData header}}
 +
 
 +
<templatedata>
 +
{
 +
"params": {
 +
"title": {
 +
"description": "The name of the article"
 +
},
 +
"image": {
 +
"description": "An image of the continent"
 +
},
 +
"area": {
 +
"description": "The total area of the continent"
 +
},
 +
"population": {
 +
"description": "The total population of the continent"
 +
},
 +
"density": {
 +
"description": "The population density of the continent"
 +
},
 +
"GDP_PPP": {
 +
"description": "The measurement of the total purchasing power parity GDP of all the countries in the continent"
 +
},
 +
"GDP_nominal": {
 +
"description": "The measurement of the total nominal GDP of all the countries in the continent"
 +
},
 +
"demonym": {
 +
"description": "A name for a resident of a locality which is derived from the name of that particular locality"
 +
},
 +
"countries": {
 +
"description": "The total number of recognized countries on a continent"
 +
},
 +
"list_countries": {
 +
"description": "A title used to describe the list of countries for that continent, if it exists"
 +
},
 +
"dependencies": {
 +
"description": "A continent's dependencies, if any exists"
 +
},
 +
"unrecognized": {
 +
"description": "A continent's unrecognized republics and territories, if any exists"
 +
},
 +
"languages": {
 +
"description": "The different languages spoken on the continent"
 +
},
 +
"time": {
 +
"description": "A continent's time zones"
 +
},
 +
"internet": {
 +
"description": "The top level domains for the continent"
 +
},
 +
"cities": {
 +
"description": "The most notable and highly populated cities on a continent"
 +
},
 +
"footnotes": {
 +
}
 +
},
 +
"description": "A template used to describe a continent"
 +
}
 +
</templatedata>
 +
 
 +
<includeonly>{{Sandbox other||
  
<includeonly>
+
<!-------------------------------------------------------------------
[[ja:Template:Infobox Continent]]
+
      Categories below here, please; interwikis to Wikidata.
</includeonly>
+
-------------------------------------------------------------------->
 +
[[Category:Place infobox templates|Continent]]
 +
}}</includeonly>

Latest revision as of 22:59, 20 September 2020

Usage

{{Infobox continent
|title               = 
|image               = 
|area                = 
|population          = 
|density             =  
|GDP_PPP             =
|GDP_nominal         =  
|GDP_per_capita      = 
|HDI                 = 
|ethnic_groups       = 
|religions           = 
|demonym             = 
|countries           = 
|list_countries      = 
|dependencies        = 
|unrecognized        = 
|languages           = 
|time                = 
|internet            = 
|calling_code        = 
|cities              = 
|m49                 = 
|footnotes           = 
}}

Example

North America
Location North America.svg
Area24,709,000 km2 (9,540,000 sq mi)
Population528,720,588 (2008, 4th)
Population density21.4/km2 (55/sq mi)
GDP (PPP)$20.9 trillion (2013)
GDP (nominal)$20.3 trillion (2013)
DemonymNorth American
Countries23 countries
Dependencies22 dependencies
LanguagesList of languages
Time zonesUTC−10 to UTC
Internet TLDNorth American TLD
Largest citiesList of urban areas
UN M49 code021 – Northern America
003North America
019Americas
001World
{{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_PPP             = $20.9 trillion (2013)
|GDP_nominal         = $20.3 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 = &ensp;
   | 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 (PPP)
measurement of the total purchasing power parity GDP of all the countries in the continent
GDP (nominal)
measurement of the total nominal 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

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox continent

A template used to describe a continent

Template parameters

ParameterDescriptionTypeStatus
Titletitle

The name of the article

Unknownoptional
Imageimage

An image of the continent

Unknownoptional
Areaarea

The total area of the continent

Unknownoptional
Populationpopulation

The total population of the continent

Unknownoptional
Densitydensity

The population density of the continent

Unknownoptional
GDP_PPPGDP_PPP

The measurement of the total purchasing power parity GDP of all the countries in the continent

Unknownoptional
GDP_nominalGDP_nominal

The measurement of the total nominal GDP of all the countries in the continent

Unknownoptional
Demonymdemonym

A name for a resident of a locality which is derived from the name of that particular locality

Unknownoptional
Countriescountries

The total number of recognized countries on a continent

Unknownoptional
List_countrieslist_countries

A title used to describe the list of countries for that continent, if it exists

Unknownoptional
Dependenciesdependencies

A continent's dependencies, if any exists

Unknownoptional
Unrecognizedunrecognized

A continent's unrecognized republics and territories, if any exists

Unknownoptional
Languageslanguages

The different languages spoken on the continent

Unknownoptional
Timetime

A continent's time zones

Unknownoptional
Internetinternet

The top level domains for the continent

Unknownoptional
Citiescities

The most notable and highly populated cities on a continent

Unknownoptional
Footnotesfootnotes

no description

Unknownoptional