Template:Country info: Difference between revisions

From OLPC
Jump to navigation Jump to search
(added documentation comment link and better described sources of data)
m (mandatory -> compulsory + categorization)
Line 1: Line 1:
<noinclude>For a quick copy paste usage of the template (scroll to) see below or see the [[Template talk:Country info|documentation]] in the discussion tab.</noinclude>
<noinclude>For a quick copy paste [[#Usage|usage of the template (scroll to)]] see below or see the [[Template talk:Country info|documentation]] in the discussion tab.
<br clear="all"></noinclude>
{| class="country infobox" style="width:23em; line-height: 1.1em; background-color:#ccffcc; text-align:left" border="1px" align="right" cellspacing="0"
{| class="country infobox" style="width:23em; line-height: 1.1em; background-color:#ccffcc; text-align:left" border="1px" align="right" cellspacing="0"
|-
|-
Line 20: Line 21:
| {{{official_languages}}}
| {{{official_languages}}}
|- class="mergedtoprow"
|- class="mergedtoprow"



<!-----------Area----------->
<!-----------Area----------->
Line 26: Line 26:
| {{{area}}} km²
| {{{area}}} km²
|- class="mergedrow"
|- class="mergedrow"



<!-----------Population----------->
<!-----------Population----------->
Line 51: Line 50:


|- class="mergedrow"
|- class="mergedrow"
| &nbsp;- Mandatory Years
| &nbsp;- Compulsory Years
| {{{mandatory_school_years}}}
| {{{mandatory_school_years}}}
|- class="mergedtoprow"
|- class="mergedtoprow"


|- class="mergedrow"
|- class="mergedrow"
| &nbsp;- Mandatory Age
| &nbsp;- Compulsory Age
| {{{mandatory_school_age}}}
| {{{mandatory_school_age}}}
|- class="mergedtoprow"
|- class="mergedtoprow"
Line 83: Line 82:
| {{{GDP_nominal_per_capita}}}
| {{{GDP_nominal_per_capita}}}
|-
|-



<!-----------HDI----------->
<!-----------HDI----------->
Line 100: Line 98:
|- {{#if:{{{DST_note<includeonly>|</includeonly>}}}|<!--then:-->class="mergedrow"|<!--else:-->class="mergedbottomrow"}}
|- {{#if:{{{DST_note<includeonly>|</includeonly>}}}|<!--then:-->class="mergedrow"|<!--else:-->class="mergedbottomrow"}}
|- class="mergedtoprow"
|- class="mergedtoprow"



<!-----------Internet TLD----------->
<!-----------Internet TLD----------->
Line 106: Line 103:
| {{{cctld}}}
| {{{cctld}}}
|- class="mergedbottomrow"
|- class="mergedbottomrow"



<!-----------Calling code---------->
<!-----------Calling code---------->
Line 117: Line 113:
|-
|-
|}<noinclude>
|}<noinclude>
<br clear="all">
----


== Usage ==
<br clear="all">


USAGE (or see [[Template talk:Country info|documentation]]):
See also the [[Template talk:Country info|documentation]]:
<nowiki>{{Country info
<nowiki>{{Country info
|native_name = <!-- República Argentina - value from Wikipedia -->
|native_name = <!-- República Argentina - value from Wikipedia -->
Line 155: Line 151:
|cctld = <!-- .ar - value from Wikipedia -->
|cctld = <!-- .ar - value from Wikipedia -->
|calling_code = <!-- 54 - value from Wikipedia -->
|calling_code = <!-- 54 - value from Wikipedia -->
}}</nowiki></noinclude>
}}</nowiki>

[[Category:Template]]</noinclude>

Revision as of 03:50, 25 April 2007

For a quick copy paste usage of the template (scroll to) see below or see the documentation in the discussion tab.

{{{native_name}}}
{{{conventional_long_name}}}
{{{image_map}}}
Capital {{{capital}}}
Official languages {{{official_languages}}}
Area {{{area}}} km²
Population
 - {{{population_estimate_year}}} estimate {{{population_estimate}}}
 - {{{population_census_year}}} census {{{population_census}}}
 - Density {{{population_density}}}/km²
Education
 - Literacy (%) {{{population_literacy}}}
 - Compulsory Years {{{mandatory_school_years}}}
 - Compulsory Age {{{mandatory_school_age}}}
 - Pop. in School Age {{{population_in_mandatory_age}}}
 - Pop. in School {{{population_in_mandatory_school}}}
GDP (PPP) {{{GDP_PPP_year}}} est. {{{GDP_PPP}}}
 - Per capita {{{GDP_PPP_per_capita}}}
GDP (nominal) {{{GDP_nominal_year}}} est. {{{GDP_nominal}}}
 - Per capita {{{GDP_nominal_per_capita}}}
HDI  ({{{HDI_year}}}) {{{HDI}}} ({{{HDI_category}}})
Gini Index  ({{{Gini_year}}}) {{{Gini_index}}}
Time zone {{{time_zone}}} (UTC{{{utc_offset}}})
Internet TLD {{{cctld}}}
Calling code +{{{calling_code}}}
More Statistics...


Usage

See also the documentation:

{{Country info
 |native_name                     =   <!-- República Argentina - value from Wikipedia -->
 |common_name                     =   <!-- Argentina           - value from Wikipedia -->
 |image_map                       =   <!-- http://upload.wikimedia.org/wikipedia/commons/thumb/8/8a/ArgentinaWorldMap.png/250px-ArgentinaWorldMap.png -->
 |conventional_long_name          =   <!-- Argentine Republic  - value from Wikipedia -->
 |capital                         =   <!-- Buenos Aires        - value from Wikipedia -->
 |official_languages              =   <!-- [[Spanish language|Spanish]] -->
 |area                            =   <!-- 2,766,890  - value from [[OLPC Country Statistics]] -->
 |population_estimate_year        =   <!-- 2005       - value from [[OLPC Country Statistics]] -->
 |population_estimate             =   <!-- 39,537,943 - value from [[OLPC Country Statistics]] -->
 |population_census_year          =   <!-- 2001       - value from Wikipedia -->
 |population_census               =   <!-- 36,260,130 - value from [[OLPC Country Statistics]] -->
 |population_density              =   <!-- 14         - value from Wikipedia -->
 |population_literacy             =   <!-- 97.5       - value from [[OLPC Country Statistics]] -->
 |mandatory_school_years          =   <!-- 9          - value datamined from local sources -->
 |mandatory_school_age            =   <!-- 6-15       - value datamined from local sources -->
 |population_in_mandatory_age     =   <!-- ~6,800,000 - value datamined from local sources -->
 |population_in_mandatory_school  =   <!-- ~6,200,000 - value datamined from local sources -->
 |GDP_PPP_year                    =   <!-- 2005            - value from [[OLPC Country Statistics]] -->
 |GDP_PPP                         =   <!-- USD 543 billion - value from [[OLPC Country Statistics]] -->
 |GDP_PPP_per_capita              =   <!-- USD 13,700      - value from [[OLPC Country Statistics]] -->
 |GDP_nominal_year                =   <!-- 2005            - value from [[OLPC Country Statistics]] -->
 |GDP_nominal                     =   <!-- USD 182 billion - value from [[OLPC Country Statistics]] -->
 |GDP_nominal_per_capita          =   <!-- USD 4,600       - value from [[OLPC Country Statistics]] -->
 |HDI_year                        =   <!-- 2006                - value from Wikipedia -->
 |HDI                             =   <!-- 0.863               - value from Wikipedia -->
 |HDI_category                    =   <!-- high | medium | low - value from Wikipedia -->
 |Gini_year                       =   <!-- 2001       - value from [[OLPC Country Statistics]] -->
 |Gini_index                      =   <!-- 52.2       - value from [[OLPC Country Statistics]] -->
 |time_zone                       =   <!-- ART        - value from Wikipedia -->
 |utc_offset                      =   <!-- -3         - value from Wikipedia -->
 |cctld                           =   <!-- .ar        - value from Wikipedia -->
 |calling_code                    =   <!-- 54         - value from Wikipedia -->
 }}