Template:Infobox Country: Difference between revisions
Jump to navigation
Jump to search
imported>Michael J. Lowe No edit summary |
imported>Caesar Schinas (Changing to make use of Template:Infobox. Have been playing with this at User:Caesar_Schinas/Template:Infobox_Country and think it's now ready for prime time...) |
||
Line 1: | Line 1: | ||
< | <includeonly> | ||
{{Infobox | |||
| title = {{#if: {{{native_name|}}} | {{{native_name}}} }} {{#if:{{{native_name|}}}|{{#if:{{{conventional_long_name|}}}|<br/>}}}} {{{conventional_long_name|}}} | |||
| 1_data = {{#if:{{{image_flag|}}}|[[Image:{{{image_flag}}}|200x90px]]}} {{#if:{{{image_flag|}}}|{{#if:{{{image_coat|}}}| }} }} {{#if:{{{image_coat|}}}|[[Image:{{{image_coat}}}|100x100px]]}} | |||
| | | 1_datastyle = text-align:center; padding:1em; | ||
|- | |||
| 3_label = Motto | |||
| 3_data = {{{national_motto|}}} | |||
| 4_label = National anthem | |||
| 4_data = {{{national_anthem|}}} | |||
| | |||
| | |||
| 5_data = {{#if: {{{image_map|}}} | [[Image:{{{image_map}}}]] }} | |||
| 6_label = Capital {{#ifeq:{{{capital|}}}|{{{largest_city|}}}|(and largest city)}} | |||
| 6_data = {{{capital|}}} | |||
| 7_label = Largest city | |||
| 7_data = {{#ifeq:{{{capital|}}}|{{{largest_city|}}}||{{{largest_city|}}} }}<!-- if same as capital, don't show --> | |||
| 8_label = Official language | |||
| 8_data = {{{official_languages|}}} | |||
| 9_label = Ethnic group | |||
| 9_data = {{{ethnic_groups|}}} | |||
| 10_label = Government type | |||
| 10_data = {{{government_type|}}} | |||
| 11_label = {{{leader_title1|}}} | |||
| 11_data = {{{leader_name1|}}} | |||
| 12_label = {{{leader_title2|}}} | |||
| 12_data = {{{leader_name2|}}} | |||
{{ | |||
}} | |||
| | |||
| 13_label = {{{leader_title3|}}} | |||
| 13_data = {{{leader_name3|}}} | |||
| 14_label = {{{leader_title4|}}} | |||
| 14_data = {{{leader_name4|}}} | |||
{{ | |||
| 15_label = {{{leader_title5|}}} | |||
| 15_data = {{{leader_name5|}}} | |||
| 16_label = Accession to EU | |||
| 16_data = {{{accessionEUdate|}}} | |||
| 17_label = Area | |||
| 17_data = {{#if:{{{area|}}}|{{{area}}} km²}} {{#if:{{{areami²|}}}|<br/>{{{areami²}}} mi²}} {{#if:{{{area_rank|}}}|({{{area_rank}}})}} {{#if:{{{percent_water|}}}|<br />({{{percent_water}}} % water)}} | |||
| 18_label = Population | |||
{{#if:{{{ | | 18_data = {{{population_estimate|}}} {{#if:{{{population_estimate_rank|}}}|({{{population_estimate_rank}}})}} {{#if:{{{population_estimate_year|}}}|<br />({{{population_estimate_year}}} estimate)}} {{{population_census|}}} {{#if:{{{population_census_rank|}}}|({{{population_census_rank}}})}} {{#if:{{{population_census_year|}}}|<br />({{{population_census_year}}} census)}} | ||
{{ | |||
}} | |||
| | |||
| 19_label = Population density | |||
| 19_data = {{#if:{{{population_density|}}}|{{{population_density}}}/km²}} {{#if:{{{population_density_rank|}}}|({{{population_density_rank}}})}} {{#if:{{{population_densitymi²|}}}|<br />{{{population_densitymi²}}} mi²}} | |||
| 20_label = [[Gross domestic product|GDP]] ([[Purchasing power parity|PPP]]) | |||
| 20_data = {{#if:{{{GDP_PPP|}}}|Total:{{{GDP_PPP}}} {{#if:{{{GDP_PPP_rank|}}}|({{{GDP_PPP_rank}}})}} {{#if:{{{GDP_PPP_per_capita|}}}|<br />Per capita:{{{GDP_PPP_per_capita}}} {{#if:{{{GDP_PPP_per_capita_rank|}}}|({{{GDP_PPP_per_capita_rank}}})}} }} {{#if:{{{GDP_PPP_year|}}}|<br />({{{GDP_PPP_year}}} estimate)}} }} | |||
| {{{ | |||
{{#if:{{{ | |||
{{ | |||
{{ | |||
}} | |||
{{#if:{{{ | |||
{{ | |||
{ | |||
}} | |||
| 21_label = [[Gross domestic product|GDP]] (nominal) | |||
| 21_data = {{#if:{{{GDP_nominal|}}}|Total:{{{GDP_nominal}}} {{#if:{{{GDP_nominal_rank|}}}|({{{GDP_nominal_rank}}})}} }} {{#if:{{{GDP_nominal_per_capita|}}}|<br />Per capita:{{{GDP_nominal_per_capita}}} {{#if:{{{GDP_nominal_per_capita_rank|}}}|({{{GDP_nominal_per_capita_rank}}})}} }} | |||
| 22_label = [[Human Development Index|HDI]] | |||
| 22_data = {{{HDI|}}} {{#if:{{{HDI_category|}}}|({{{HDI_category}}})}} {{#if:{{{HDI_rank|}}}|({{{HDI_rank}}})}} {{#if:{{{HDI_year|}}}|({{{HDI_year}}})}} | |||
| {{{ | |||
| | |||
| 23_label = Currency | |||
| 23_data = {{{currency|}}} {{#if:{{{currency_code|}}}|({{{currency_code}}})}} | |||
| 24_label = Time zone | |||
{{#if:{{{ | | 24_data = {{{time_zone|}}} {{#if:{{{utc_offset|}}}|([[UTC]]{{{utc_offset}}})}} {{#if:{{{time_zone_DST|}}}|<br />Summer:{{{time_zone_DST}}} {{#if:{{{utc_offset_DST|}}}|([[UTC]]{{{utc_offset_DST}}})}} }} | ||
{{ | |||
}} | |||
| | |||
| 25_label = Country codes | |||
| 25_data = {{#if:{{{cctld|}}}|Internet TLD : {{{cctld}}} }} {{#if:{{{calling_code|}}}|{{#if:{{{cctld|}}}|<br />}}Calling code : +{{{calling_code}}} }} | |||
}} | }} | ||
</includeonly><noinclude>{{TlDoc}}</noinclude> | |||
< | |||
</noinclude> |
Revision as of 03:09, 6 May 2009
No documentation has yet been written for this template. Create Documentation