Difference between revisions of "Template:Infobox country"

From Taijitu
Jump to: navigation, search
 
(27 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{| align="right" style="border: 1px solid darkgray; text-align:left; width: 22em; font-size: 88%; line-height:1.5em; background-color: #f9f9f9; margin: 0 0 0 1em;" cellpadding="1" cellspacing="4"
 
{| align="right" style="border: 1px solid darkgray; text-align:left; width: 22em; font-size: 88%; line-height:1.5em; background-color: #f9f9f9; margin: 0 0 0 1em;" cellpadding="1" cellspacing="4"
!colspan=2 style="text-align:center; background-color:{{{color|{{Color|{{{name}}}}}}}}; font-size:125%;"|{{#if: {{{title|}}}|{{{title|}}} of}} {{{name}}}{{#if: {{{native_name|}}}|<br>{{{native_name|}}}}} {{#if: {{{translit_name|}}}|<br>{{{translit_name|}}}}}
+
!colspan=2 style="text-align:center; color:{{{text_color|black}}}; background-color:{{{color|{{Color|{{{name}}}}}}}}; font-size:125%;"|{{#if: {{{title|}}}|{{{title|}}} of}} {{{name}}}{{#if: {{{native_name|}}}|<br>{{{native_name|}}}}} {{#if: {{{translit_name|}}}|<br>{{{translit_name|}}}}}
 
|-
 
|-
 
|colspan=2|
 
|colspan=2|
Line 6: Line 6:
 
|-align="center"
 
|-align="center"
 
|[[image: {{{flag}}}|x78px|Flag of {{{name}}}]]
 
|[[image: {{{flag}}}|x78px|Flag of {{{name}}}]]
|[[image: {{{arms}}}|x78px|Coat of Arms of {{{name}}}]]
+
|[[image: {{{arms}}}|x78px|{{{arms_name|Coat of Arms}}} of {{{name}}}]]
 
|-align="center"
 
|-align="center"
 
|[[Flag of {{{name}}}|Flag]]
 
|[[Flag of {{{name}}}|Flag]]
|[[Coat of arms of {{{name}}}|Coat of Arms]]
+
|[[{{{arms_name|Coat of Arms}}} of {{{name}}}|{{{arms_name|Coat of Arms}}}]]
 
|}
 
|}
 
|-align=center
 
|-align=center
|colspan=2|'''[http://en.wikipedia.org/wiki/Motto Motto]: '''{{#if: {{{native_motto|}}}|{{{native_motto}}}<br>}}{{#if: {{{translit_motto|}}}|{{{translit_motto}}}<br>}}{{{motto}}}
+
|colspan=2|'''Motto: '''{{#if: {{{native_motto|}}}|{{{native_motto}}}<br>}}{{#if: {{{translit_motto|}}}|{{{translit_motto}}}<br>}}{{{motto}}}
 
|-align=center
 
|-align=center
|colspan=2|'''[http://en.wikipedia.org/wiki/National_anthem Anthem]: '''{{#if: {{{native_anthem|}}}|{{{native_anthem}}}<br>}}{{#if: {{{translit_anthem|}}}|{{{translit_anthem}}}<br>}}{{{anthem}}}
+
|colspan=2|'''Anthem: '''{{#if: {{{native_anthem|}}}|{{{native_anthem}}}<br>}}{{#if: {{{translit_anthem|}}}|{{{translit_anthem}}}<br>}}{{{anthem}}}
 
|-
 
|-
!colspan=2 style="text-align:center; background-color:{{{color|{{Color|{{{name}}}}}}}}; font-size:125%;"|Geography
+
!colspan=2 style="text-align:center; color:{{{text_color|black}}}; background-color:{{{color|{{Color|{{{name}}}}}}}}; font-size:125%;"|Geography
 
|-
 
|-
|colspan=2 align="center"|[[image:{{{map}}}|x175px|Location of {{{name}}}]]
+
|colspan=2 align="center"|[[image:{{{map}}}|225px|Location of {{{name}}}]]
 
|-
 
|-
 
!Area
 
!Area
Line 32: Line 32:
 
|{{{long_river}}}
 
|{{{long_river}}}
 
|-
 
|-
!colspan=2 style="text-align:center; background-color:{{{color|{{Color|{{{name}}}}}}}}; font-size:125%;"|Demographics
+
!colspan=2 style="text-align:center; color:{{{text_color|black}}}; background-color:{{{color|{{Color|{{{name}}}}}}}}; font-size:125%;"|Demographics
 
|-
 
|-
 
!Population
 
!Population
 
|{{{population}}}
 
|{{{population}}}
 
|-
 
|-
|• [http://en.wikipedia.org/wiki/Population_density Density]
+
|• Density
 
|{{{density}}}/km<sup>2</sup>
 
|{{{density}}}/km<sup>2</sup>
 
|-
 
|-
|• [http://en.wikipedia.org/wiki/Population_growth Growth]
+
|• Growth
 
|{{{growth}}}%/year
 
|{{{growth}}}%/year
 
|-
 
|-
Line 49: Line 49:
 
|{{{demonym}}}
 
|{{{demonym}}}
 
|-
 
|-
!colspan=2 style="text-align:center; background-color:{{{color|{{Color|{{{name}}}}}}}}; font-size:125%;"|History
+
!colspan=2 style="text-align:center; color:{{{text_color|black}}}; background-color:{{{color|{{Color|{{{name}}}}}}}}; font-size:125%;"|History
 
|-valign="top"
 
|-valign="top"
 
!{{{event1}}}
 
!{{{event1}}}
Line 83: Line 83:
 
{{!}}{{{event2a_date}}}}}
 
{{!}}{{{event2a_date}}}}}
 
|-
 
|-
!colspan=2 style="text-align:center; background-color:{{{color|{{Color|{{{name}}}}}}}}; font-size:125%;"|Government
+
!colspan=2 style="text-align:center; color:{{{text_color|black}}}; background-color:{{{color|{{Color|{{{name}}}}}}}}; font-size:125%;"|Government
 
|-
 
|-
![http://en.wikipedia.org/wiki/Capital_city Capital]
+
!Capital
 
|{{{capital}}}
 
|{{{capital}}}
 
|-valign="top"
 
|-valign="top"
![http://en.wikipedia.org/wiki/Official_language Official language]
+
!Official language
 
|{{{official_language}}}
 
|{{{official_language}}}
 
|-valign="top"
 
|-valign="top"
![http://en.wikipedia.org/wiki/Form_of_government Type]
+
!Type
 
|{{{type}}}
 
|{{{type}}}
 
|-valign="top"
 
|-valign="top"
![http://en.wikipedia.org/wiki/Legislature Legislature]
+
!Legislature
 
|{{{legislature|}}}
 
|{{{legislature|}}}
 
{{#if: {{{office1|}}}|
 
{{#if: {{{office1|}}}|
Line 105: Line 105:
 
!{{{office2|}}}
 
!{{{office2|}}}
 
{{!}}{{{official2|}}}
 
{{!}}{{{official2|}}}
}} {{#if: {{{office3|}}}|
+
}}
 +
{{#if: {{{office3|}}}|
 
{{!}}-valign="top"
 
{{!}}-valign="top"
 
!{{{office3|}}}
 
!{{{office3|}}}
 
{{!}}{{{official3|}}}
 
{{!}}{{{official3|}}}
}} {{#if: {{{office4|}}}|
+
}}
 +
{{#if: {{{office4|}}}|
 
{{!}}-valign="top"
 
{{!}}-valign="top"
 
!{{{office4|}}}
 
!{{{office4|}}}
 
{{!}}{{{official4|}}}
 
{{!}}{{{official4|}}}
}}
+
}} {{if||{{{subdivision_name|}}}|
|-valign="top"
+
{{!}}-{{top}}
!{{{subdivision_name|Subdivisions}}}
+
!{{{subdivision_name|}}}
|{{{subdivisions}}}
+
{{!}}{{{subdivisions|}}}}}
 
|-
 
|-
!colspan=2 style="text-align:center; background-color:{{{color|{{Color|{{{name}}}}}}}}; font-size:125%;"|Economy
+
!colspan=2 style="text-align:center; color:{{{text_color|black}}}; background-color:{{{color|{{Color|{{{name}}}}}}}}; font-size:125%;"|Economy
 
|-valign="top"
 
|-valign="top"
![http://en.wikipedia.org/wiki/Currency Currency]
+
!Currency
 
|{{{currency}}} ({{{currency_symbol}}}) ({{{currency_code}}})
 
|{{{currency}}} ({{{currency_symbol}}}) ({{{currency_code}}})
 
|-valign="top"
 
|-valign="top"
![http://en.wikipedia.org/wiki/Gross_domestic_product GDP]
+
!GDP
 
|{{{GDP}}}
 
|{{{GDP}}}
 
|-
 
|-
|• [http://en.wikipedia.org/wiki/GDP_per_capita#Per_unit_GDP Per capita]
+
|• Per capita
 
|{{{per_capita_GDP}}}
 
|{{{per_capita_GDP}}}
 
|-
 
|-
|• [http://en.wikipedia.org/wiki/Economic_growth Growth]
+
|• Growth
 
|{{{GDP_growth}}}%/year
 
|{{{GDP_growth}}}%/year
 
|-valign="top"
 
|-valign="top"
![http://en.wikipedia.org/wiki/Economic_sector Sectors]
+
!Sectors
 
|
 
|
 
{{{agriculture}}}% Agriculture<br>
 
{{{agriculture}}}% Agriculture<br>
Line 138: Line 140:
 
{{{services}}}% Services
 
{{{services}}}% Services
 
|-
 
|-
![http://en.wikipedia.org/wiki/Unemployment Unemployment]
+
!Unemployment
 
|{{{unemployment}}}%
 
|{{{unemployment}}}%
 
|-
 
|-
![http://en.wikipedia.org/wiki/Gini_coefficient Gini]
+
!Gini
 
|{{{gini}}}
 
|{{{gini}}}
 
|-
 
|-
!colspan=2 style="text-align:center; background-color:{{{color|{{Color|{{{name}}}}}}}}; font-size:125%;"|Development
+
!colspan=2 style="text-align:center; color:{{{text_color|black}}}; background-color:{{{color|{{Color|{{{name}}}}}}}}; font-size:125%;"|Development
 
|-
 
|-
![http://en.wikipedia.org/wiki/Life_expectancy Life expectancy]
+
!Life expectancy
 
|{{{life_expectancy}}} years
 
|{{{life_expectancy}}} years
 
|-
 
|-
![http://en.wikipedia.org/wiki/Water_supply Improved water access]
+
!Improved water access
 
|{{{water_access}}}%
 
|{{{water_access}}}%
 
|-
 
|-
Line 155: Line 157:
 
|{{{literacy}}}%
 
|{{{literacy}}}%
 
|-
 
|-
![http://en.wikipedia.org/wiki/Gross_enrolment_ratio Enrollment]
+
!Enrollment
 
|{{{gross_enrollment}}}%
 
|{{{gross_enrollment}}}%
 
|-
 
|-
|• [http://en.wikipedia.org/wiki/Primary_education Primary]
+
|• Primary
 
|{{{primary}}}%
 
|{{{primary}}}%
 
|-
 
|-
|• [http://en.wikipedia.org/wiki/Secondary_education Secondary]
+
|• Secondary
 
|{{{secondary}}}%
 
|{{{secondary}}}%
 
|-
 
|-
|• [http://en.wikipedia.org/wiki/Tertiary_education Tertiary]
+
|• Tertiary
 
|{{{tertiary}}}%
 
|{{{tertiary}}}%
 
|-
 
|-
!colspan=2 style="text-align:center; background-color:{{{color|{{Color|{{{name}}}}}}}}; font-size:125%;"|Standards
+
!colspan=2 style="text-align:center; color:{{{text_color|black}}}; background-color:{{{color|{{Color|{{{name}}}}}}}}; font-size:125%;"|Standards
 
|-
 
|-
![http://en.wikipedia.org/wiki/System_of_measurement Measures]
+
!Measures
 
|{{{measures}}}
 
|{{{measures}}}
 
|-
 
|-
![http://en.wikipedia.org/wiki/Date_format#Date_format Date format]
+
!Date format
 
|{{{dates}}}
 
|{{{dates}}}
 
|-
 
|-
![http://en.wikipedia.org/wiki/Right-_and_left-hand_traffic Traffic]
+
!Traffic
 
|{{{traffic}}}
 
|{{{traffic}}}
 
|-
 
|-
!colspan=2 style="text-align:center; background-color:{{{color|{{Color|{{{name}}}}}}}}; font-size:125%;"|Codes
+
!colspan=2 style="text-align:center; color:{{{text_color|black}}}; background-color:{{{color|{{Color|{{{name}}}}}}}}; font-size:125%;"|Codes
 
|-
 
|-
![http://en.wikipedia.org/wiki/ISO_3166-1 ISO code]
+
!ISO code
 
|{{{iso_code}}}
 
|{{{iso_code}}}
 
|-
 
|-
![http://en.wikipedia.org/wiki/Top-level_domain Internet TLD]
+
!Internet TLD
 
|{{{TLD}}}
 
|{{{TLD}}}
 
|-
 
|-
![http://en.wikipedia.org/wiki/Telephone_number Calling code]
+
!Calling code
 
| +{{{telephone}}}
 
| +{{{telephone}}}
|}
+
|}<includeonly>[[Category:Countries]]</includeonly>
 +
 
 +
<noinclude>
 +
<div style="width:500px;background:#dddddd;border: 1px solid black;padding:0.5em  1em 0.5em 1em"><pre>
 +
{{Infobox country
 +
|color= //optional default {{Color|{{{name}}}}}
 +
|text_color= //optional default black
 +
|title= //optional
 +
|name= //e.g. China
 +
|native_name= //e.g. 中国 optional
 +
|translit_name= //e.g. Zhōngguó optional
 +
|flag=
 +
|arms=
 +
|arms_name= //optional default Coat of Arms
 +
|motto= //e.g. Truth alone triumphs
 +
|native_motto= //e.g. सत्यमेव जयते optional
 +
|translit_motto= //e.g. Satyameva jayate optional
 +
|anthem= //e.g. State Anthem
 +
|native_anthem= //e.g. Государственный гимн optional
 +
|translit_anthem = //e.g. Gosudarstvennyy gimn optional
 +
|map=
 +
|area=
 +
|water_area=
 +
|high_point=
 +
|long_river=
 +
|population=
 +
|density=
 +
|growth=
 +
|median_age=
 +
|demonym=
 +
|event1=
 +
|event1_date
 +
|event1a //optional
 +
|event1b //optional
 +
|event2= //optional
 +
|event2_date= //optional
 +
|event2a= //optional
 +
|capital=
 +
|official_language=
 +
|type= //e.g. Constitutional monarchy
 +
|legislature=
 +
|office1= //e.g. President optional
 +
|official1= //e.g. John Doe optional
 +
|office2= //optional
 +
|official2= //optional
 +
|office3= //optional
 +
|official3= //optional
 +
|office4= //optional
 +
|official4= //optional
 +
|subdivision_name=
 +
|subdivisions=
 +
|currency=
 +
|currency_symbol=
 +
|currency_code=
 +
|GDP=
 +
|per_capita_GDP=
 +
|GDP_growth=
 +
|agriculture=
 +
|industry=
 +
|services=
 +
|unemployment=
 +
|gini=
 +
|life_expectancy=
 +
|water_access=
 +
|literacy=
 +
|gross_enrollment=
 +
|primary=
 +
|secondary=
 +
|tertiary=
 +
|measures= //e.g. Metric
 +
|dates= //e.g. Year-month-day
 +
|traffic= //e.g. Right-hand
 +
|iso_code= //e.g. us
 +
|TLD= //e.g. .us
 +
|telephone=
 +
}}</pre></div>[[Category:Templates|Infobox country]][[Category:Infoboxes|country]]</noinclude>

Latest revision as of 14:02, 24 September 2014

{{{name}}}
[[image: {{{flag}}}|x78px|Flag of {{{name}}}]] [[image: {{{arms}}}|x78px|Coat of Arms of {{{name}}}]]
[[Flag of {{{name}}}|Flag]] [[Coat of Arms of {{{name}}}|Coat of Arms]]
Motto: {{{motto}}}
Anthem: {{{anthem}}}
Geography
[[image:{{{map}}}|225px|Location of {{{name}}}]]
Area {{{area}}}km2
Water (%) {{{water_area}}}
Highest point {{{high_point}}}
Longest river {{{long_river}}}
Demographics
Population {{{population}}}
• Density {{{density}}}/km2
• Growth {{{growth}}}%/year
Median age {{{median_age}}} years
Demonym {{{demonym}}}
History
{{{event1}}} {{{event1_date}}}



Government
Capital {{{capital}}}
Official language {{{official_language}}}
Type {{{type}}}
Legislature



Economy
Currency {{{currency}}} ({{{currency_symbol}}}) ({{{currency_code}}})
GDP {{{GDP}}}
• Per capita {{{per_capita_GDP}}}
• Growth {{{GDP_growth}}}%/year
Sectors

{{{agriculture}}}% Agriculture
{{{industry}}}% Industry
{{{services}}}% Services

Unemployment {{{unemployment}}}%
Gini {{{gini}}}
Development
Life expectancy {{{life_expectancy}}} years
Improved water access {{{water_access}}}%
Literacy {{{literacy}}}%
Enrollment {{{gross_enrollment}}}%
• Primary {{{primary}}}%
• Secondary {{{secondary}}}%
• Tertiary {{{tertiary}}}%
Standards
Measures {{{measures}}}
Date format {{{dates}}}
Traffic {{{traffic}}}
Codes
ISO code {{{iso_code}}}
Internet TLD {{{TLD}}}
Calling code +{{{telephone}}}


{{Infobox country
|color= //optional default {{Color|{{{name}}}}}
|text_color= //optional default black
|title= //optional
|name= //e.g. China
|native_name= //e.g. 中国 optional
|translit_name= //e.g. Zhōngguó optional
|flag=
|arms=
|arms_name= //optional default Coat of Arms
|motto= //e.g. Truth alone triumphs
|native_motto= //e.g. सत्यमेव जयते optional
|translit_motto= //e.g. Satyameva jayate optional
|anthem= //e.g. State Anthem
|native_anthem= //e.g. Государственный гимн optional
|translit_anthem = //e.g. Gosudarstvennyy gimn optional
|map=
|area=
|water_area=
|high_point=
|long_river=
|population=
|density=
|growth=
|median_age=
|demonym=
|event1=
|event1_date
|event1a //optional
|event1b //optional
|event2= //optional
|event2_date= //optional
|event2a= //optional
|capital=
|official_language=
|type= //e.g. Constitutional monarchy
|legislature=
|office1= //e.g. President optional
|official1= //e.g. John Doe optional
|office2= //optional
|official2= //optional
|office3= //optional
|official3= //optional
|office4= //optional
|official4= //optional
|subdivision_name=
|subdivisions=
|currency=
|currency_symbol=
|currency_code=
|GDP=
|per_capita_GDP=
|GDP_growth=
|agriculture=
|industry=
|services=
|unemployment=
|gini=
|life_expectancy=
|water_access=
|literacy=
|gross_enrollment=
|primary=
|secondary=
|tertiary=
|measures= //e.g. Metric
|dates= //e.g. Year-month-day
|traffic= //e.g. Right-hand
|iso_code= //e.g. us
|TLD= //e.g. .us
|telephone=
}}