Template:Infobox country: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>SomeHuman
m OK, size also
meta>David Kernow
m ditto
Line 96: Line 96:


<!-------add largest_city if provided and not the capital:------->
<!-------add largest_city if provided and not the capital:------->
{{#ifeq:<!-------Check whether capital = largest_city------->
{{#if:{{{largest_city<includeonly>|</includeonly>}}}
  {{#switch: {{{largest_city<includeonly>|</includeonly>}}}
|<!--then: largest_city has been provided, so:-->
  | capital          = <!--largest_city = "capital"-->
  {{#ifeq:<!----check whether capital = largest_city---->
  | {{{capital}}}    = <!--largest_city = {{{capital}}}-->
      {{#switch: {{{largest_city<includeonly>|</includeonly>}}}
  | [[{{{capital}}}]] = <!--largest_city = [[{{{capital}}}]]-->
      | capital          = <!--largest_city = "capital"-->
  | largest_city isn't capital
      | {{{capital}}}    = <!--largest_city = {{{capital}}}-->
  <!--end #switch:-->}}<!--
      | [[{{{capital}}}]] = <!--largest_city = [[{{{capital}}}]]-->
-----if switch result...---->
      | largest_city isn't capital
|<!--equals:-->largest_city isn't capital
      <!--end #switch:-->}}<!--
|<!--then: add largest_city:-->
-----i.e. if switch result:-----
-->|<!--equals:-->largest_city isn't capital
-->|<!--then: add largest_city:-->
!style="vertical-align:middle;"{{!}} [[Demographics of {{{common_name}}}|{{{largest_settlement_type|Largest city}}}]]
!style="vertical-align:middle;"{{!}} [[Demographics of {{{common_name}}}|{{{largest_settlement_type|Largest city}}}]]
{{!}} {{{largest_settlement|{{{largest_city}}}}}}
{{!}} {{{largest_settlement|{{{largest_city}}}}}}
  <!--end #ifeq:-->}}
<!--end #if:-->}}
<!--end #if:-->}}
|-
|-

Revision as of 06:53, 7 March 2007


For syntax, see /doc.


Template:Esoteric

{{{native_name}}}
{{{conventional_long_name}}}
Template:Border Coat of arms of {{{common_name}}}
[[Flag of {{{common_name}}}|Flag]] [[Coat of arms of {{{common_name}}}|Coat of arms]]
Motto: {{{national_motto}}}
Anthem: {{{national_anthem}}}
Location of {{{common_name}}}
Location of {{{common_name}}}

{{{map_caption}}}

Location of {{{common_name}}}
Location of {{{common_name}}}

{{{map_caption2}}}

Capital {{{capital}}}
Official languages {{{official_languages}}}
Ethnic groups {{{ethnic_groups}}}
Government {{{government_type}}}
 - {{{leader_title1}}} {{{leader_name1}}}
 - {{{leader_title2}}} {{{leader_name2}}}
 - {{{leader_title3}}} {{{leader_name3}}}
 - {{{leader_title4}}} {{{leader_name4}}}
 - {{{leader_title5}}} {{{leader_name5}}}
{{{sovereignty_type}}} {{{sovereignty_note}}} 
 - {{{established_event1}}}  
 - {{{established_event2}}}  
 - {{{established_event3}}}  
 - {{{established_event4}}}  
 - {{{established_event5}}}  
 - {{{established_event6}}}  
 - {{{established_event7}}}  
 - {{{established_event8}}}  
 - {{{established_event9}}}  
Accession to EU
Area
 - Total {{{area}}} km²
{{{areami²}}} sq mi 
 - Water (%) {{{percent_water}}}
Population
 - {{{population_estimate_year}}} estimate {{{population_estimate}}} ({{{population_estimate_rank}}})
 - {{{population_census_year}}} census {{{population_census}}}
 - Density {{{population_density}}}/km² ({{{population_density_rank}}})
{{{population_densitymi²}}}/sq mi
GDP (PPP) {{{GDP_PPP_year}}} estimate
 - Total {{{GDP_PPP}}} ({{{GDP_PPP_rank}}})
 - Per capita {{{GDP_PPP_per_capita}}} ({{{GDP_PPP_per_capita_rank}}})
GDP (nominal) {{{GDP_nominal_year}}} estimate
 - Total {{{GDP_nominal}}} ({{{GDP_nominal_rank}}})
 - Per capita {{{GDP_nominal_per_capita}}} ({{{GDP_nominal_per_capita_rank}}})
HDI ({{{HDI_year}}}) {{{HDI}}} ({{{HDI_category}}}) ({{{HDI_rank}}})
Currency {{{currency}}} ({{{currency_code}}})
Time zone {{{time_zone}}} (UTC{{{utc_offset}}})
 - Summer (DST) {{{time_zone_DST}}} (UTC{{{utc_offset_DST}}})
{{{DST_note}}}
Internet TLD {{{cctld}}}
Calling code +{{{calling_code}}}
{{{footnotes}}}

af:Sjabloon:Landtabel-mini-nl an:Template:Infobox País ar:Template:Infobox Country bg:Шаблон:Държава ca:Template:Taula d'estat cs:Šablona:Infobox stát cy:Nodyn:Gwybodlen Gwlad da:Skabelon:Infoboks land de:Vorlage:Infobox Staat el:Πρότυπο:Πληροφορίες Χώρας es:Plantilla:Infobox País fi:Malline:Valtion tiedot fiu-vro:Template:Country Infobox fr:Modèle:Pays he:תבנית:מדינה ia:Patrono:Infobox pais it:Template:Stato ja:Template:基礎情報 国 ka:თარგი:ქვეყანა kn:ಟೆಂಪ್ಲೇಟು:Infobox ದೇಶ ko:Template:나라 정보 ln:Template:Infobox Esé ms:Templat:Negeri nl:Sjabloon:Landtabel nn:Mal:Infoboks land2 no:Mal:Infoboks land pl:Szablon:PaństwoX pt:Predefinição:Info País ro:Format:CutieŢări rmy:Format:MoxtonThema ru:Шаблон:Страна sl:Predloga:Infopolje Država sr:Шаблон:Кутијица за државе th:Template:Infobox Country tr:Şablon:Ülkeler ur:سانچہ:خانۂ معلومات ملک vi:Tiêu bản:Tóm tắt về quốc gia zh:Template:Infobox Country