Template:Country info: Difference between revisions

From OLPC
Jump to navigation Jump to search
mNo edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<noinclude>For a quick copy paste usage of the template (scroll to) see below</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"
|-


<!----------Name/s---------->
|- <!----------Name/s---------->
|colspan="2" class="mergedtoprow" align="center" style="line-height:1.2em; font-size:1.2em;"| '''{{{native_name}}}'''<br/>'''{{{conventional_long_name}}}'''
|colspan="2" class="mergedtoprow" align="center" style="line-height:1.2em; font-size:1.2em;"| '''{{{native_name}}}'''<br/>'''{{{conventional_long_name}}}'''
|-


<!---------- Map ---------->
|- <!---------- Map ---------->
|colspan="2" style="text-align:center; padding:0.4em 1em 0.4em 1em;"| [{{{image_map}}}]
|colspan="2" style="text-align:center; padding:0.4em 1em 0.4em 1em;"| {{{image_map}}}
|- class="mergedtoprow"


<!------ Capital city ------>
|- class="mergedtoprow" <!------ Capital city ------>
!'''Capital'''
!'''Capital'''
| {{{capital}}}
| {{{capital}}}
|-


<!----------Official language/s ---------->
|- <!----------Official language/s ---------->
! <span style="white-space: nowrap;">[[Official language|Official&nbsp;languages]]</span>
! <span style="white-space: nowrap;">[[Official language|Official&nbsp;languages]]</span>
| {{{official_languages}}}
| {{{official_languages}}}
|- class="mergedtoprow"



<!-----------Area----------->
|- class="mergedtoprow" <!-----------Area----------->
!'''Area'''
!'''Area'''
| {{{area}}} km²
| {{{area}}} km²
|- class="mergedrow"



<!-----------Population----------->
|- class="mergedrow" <!-----------Population----------->
!colspan="2"| Population
!colspan="2"| Population
|- class="mergedrow"
|- class="mergedrow"
Line 41: Line 34:
| &nbsp;- Density
| &nbsp;- Density
| {{{population_density}}}/km²
| {{{population_density}}}/km²
|- class="mergedtoprow"


<!-----------Education----------->
|- class="mergedtoprow" <!-----------Education----------->
!colspan="2"| Education
!colspan="2"| Education
|- class="mergedrow"
|- class="mergedrow"
Line 51: Line 43:


|- 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 68: Line 60:
| &nbsp;- Pop. in School
| &nbsp;- Pop. in School
| {{{population_in_mandatory_school}}}
| {{{population_in_mandatory_school}}}
|- class="mergedtoprow"


<!-----------GDP----------->
|- class="mergedtoprow" <!-----------GDP----------->
! GDP (PPP)<font size="1">&nbsp;{{{GDP_PPP_year}}} est.</font>
! GDP (PPP)<font size="1">&nbsp;{{{GDP_PPP_year}}} est.</font>
| {{{GDP_PPP}}}
| {{{GDP_PPP}}}
Line 82: Line 73:
| &nbsp;- Per capita
| &nbsp;- Per capita
| {{{GDP_nominal_per_capita}}}
| {{{GDP_nominal_per_capita}}}
|-



<!-----------HDI----------->
|- <!-----------HDI----------->
! [http://en.wikipedia.org/wiki/Human_Development_Index '''HDI''']<font size="1">&nbsp;&nbsp;({{{HDI_year}}})</font>
! [http://en.wikipedia.org/wiki/Human_Development_Index '''HDI''']<font size="1">&nbsp;&nbsp;({{{HDI_year}}})</font>
| {{{HDI}}}&nbsp;({{{HDI_category}}})
| {{{HDI}}}&nbsp;({{{HDI_category}}})
|-


<!-----------Gini Index----------->
|- <!-----------Gini Index----------->
! [http://en.wikipedia.org/wiki/Gini_coefficient '''Gini Index''']<font size="1">&nbsp;&nbsp;({{{Gini_year}}})</font>
! [http://en.wikipedia.org/wiki/Gini_coefficient '''Gini Index''']<font size="1">&nbsp;&nbsp;({{{Gini_year}}})</font>
| {{{Gini_index}}}
| {{{Gini_index}}}
|-


<!-----------Time zone----------->
|- <!-----------Time zone----------->
! Time zone
! Time zone
| {{{time_zone}}} (UTC{{{utc_offset}}})
| {{{time_zone}}} (UTC{{{utc_offset}}})
|- {{#if:{{{DST_note<includeonly>|</includeonly>}}}|<!--then:-->class="mergedrow"|<!--else:-->class="mergedbottomrow"}}
|- {{#if:{{{DST_note<includeonly>|</includeonly>}}}|<!--then:-->class="mergedrow"|<!--else:-->class="mergedbottomrow"}}
|- class="mergedtoprow"



<!-----------Internet TLD----------->
|- class="mergedtoprow" <!-----------Internet TLD----------->
! Internet TLD
! Internet TLD
| {{{cctld}}}
| {{{cctld}}}
|- class="mergedbottomrow"



<!-----------Calling code---------->
|- class="mergedbottomrow" <!-----------Calling code---------->
! Calling code
! Calling code
| +{{{calling_code}}}
| +{{{calling_code}}}
|-


<!----------Stats---------->
|- <!----------Stats---------->
|colspan="2" class="mergedtoprow" align="center"| <font size="1">[[OLPC Country Statistics|More Statistics...]]</font>
|colspan="2" class="mergedtoprow" align="center"| <font size="1">[[OLPC country statistics|More statistics...]]</font>

|-
|}<noinclude>
|}<noinclude>
<br clear="all">
----
[[prueba|250px|center|Location of {{{common_name}}}]]


== Usage ==


See also the [[Template talk:Country info|documentation]]:
<nowiki>{{Country info
|Nigeria = <!-- República Argentina - value from Wikipedia -->
|Nigeria = <!-- Argentina - value from Wikipedia -->
|image_map = <!-- [[Image:CountryMapArgentina.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 -->
}}</nowiki>


[[Category:Template]]</noinclude>








































USAGE:
<nowiki>{{Country info
|native_name = <!-- República Argentina - value from Wikipedia -->
|common_name = <!-- Argentina -->
|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 -->
|official_languages = <!-- [[Spanish language|Spanish]] -->
|area = <!-- 2,766,890 - value from [[OLPC Country Statistics]] -->
|population_estimate_year = <!-- 2005 -->
|population_estimate = <!-- 39,537,943 - value from [[OLPC Country Statistics]] -->
|population_census_year = <!-- 2001 -->
|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 -->
|mandatory_school_age = <!-- 6-15 -->
|population_in_mandatory_age = <!-- ~6,800,000 -->
|population_in_mandatory_school = <!-- ~6,200,000 -->
|GDP_PPP_year = <!-- 2005 -->
|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 -->
|GDP_nominal = <!-- USD 182 billion -->
|GDP_nominal_per_capita = <!-- USD 4,600 -->
|HDI_year = <!-- 2006 -->
|HDI = <!-- 0.863 - value from Wikipedia -->
|HDI_category = <!-- high | medium | low - according to Wikipedia -->
|Gini_year = <!-- 2001 - value from [[OLPC Country Statistics]] -->
|Gini_index = <!-- 52.2 - value from [[OLPC Country Statistics]] -->
|time_zone = <!-- ART -->
|utc_offset = <!-- -3 -->
|cctld = <!-- .ar -->
|calling_code = <!-- 54 -->
}}</nowiki></noinclude>

Latest revision as of 09:33, 24 July 2009

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
 |Nigeria                     =   <!-- República Argentina - value from Wikipedia -->
 |Nigeria                     =   <!-- Argentina           - value from Wikipedia -->
 |image_map                       =   <!-- [[Image:CountryMapArgentina.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 -->
 }}