Template:Infobox country: Difference between revisions

From TEPwiki, Urth's Encyclopedia
Jump to navigation Jump to search
Content added Content deleted
(Undid revision 939290157 by Primefac (talk). Undo because of parser errors due to extra text and refs in the year field. Let's test more in the sandbox.)
No edit summary
 
(18 intermediate revisions by 5 users not shown)
Line 18: Line 18:
}}<!--
}}<!--
-->{{#ifeq:{{{micronation|}}}|yes
-->{{#ifeq:{{{micronation|}}}|yes
|<div style="display:inline" class=" fn org">[[Micronation]]</div>
|<div style="display:inline" class=" fn org">[[w:Micronation|Micronation]]</div>
}}
}}
}}
}}
Line 49: Line 49:
|
|
<hr/>
<hr/>
<div style="line-height:1.2em;">'''[[Royal anthem]]:&nbsp;'''{{{royal_anthem}}}</div>
<div style="line-height:1.2em;">'''[[w:Royal anthem|Royal anthem]]:&nbsp;'''{{{royal_anthem}}}</div>
}}{{#if:{{{flag_anthem|}}}
}}{{#if:{{{flag_anthem|}}}
|
|
<hr/>
<hr/>
<div style="line-height:1.2em;">'''[[Flag anthem]]:&nbsp;'''{{{flag_anthem}}}</div>
<div style="line-height:1.2em;">'''[[w:Flag anthem|Flag anthem]]:&nbsp;'''{{{flag_anthem}}}</div>
}}{{#if:{{{national_march|}}}
}}{{#if:{{{national_march|}}}
|
|
Line 169: Line 169:
| data18 = {{{languages2|}}}
| data18 = {{{languages2|}}}
| label19 = [[Ethnic group|Ethnic&nbsp;groups]] <!--
| label19 = [[w:Ethnic group|Ethnic&nbsp;groups]] <!--
-->{{#if:{{{ethnic_groups_year|}}} |<div style="font-weight:normal;display:inline;"> ({{{ethnic_groups_year}}}){{{ethnic_groups_ref|}}}</div>|<div style="font-weight:normal;display:inline;">{{{ethnic_groups_ref|}}}</div>}}
-->{{#if:{{{ethnic_groups_year|}}} |<div style="font-weight:normal;display:inline;"> ({{{ethnic_groups_year}}}){{{ethnic_groups_ref|}}}</div>|<div style="font-weight:normal;display:inline;">{{{ethnic_groups_ref|}}}</div>}}
| data19 = {{{ethnic_groups|}}}
| data19 = {{{ethnic_groups|}}}
Line 177: Line 177:
| data20 = {{{religion|}}}
| data20 = {{{religion|}}}


| label21 = [[Demonym|Demonym(s)]]
| label21 = [[w:Demonym|Demonym(s)]]
| data21 = {{#if:{{{demonym|}}}
| data21 = {{#if:{{{demonym|}}}
|{{#ifexist:{{{demonym}}} people
|{{#ifexist:{{{demonym}}} people
Line 233: Line 233:
| data40 = {{{legislature|}}}
| data40 = {{{legislature|}}}
| rowclass41 = mergedrow
| rowclass41 = mergedrow
| label41 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{#if:{{{type_house1|}}}|{{{type_house1}}}|[[Upper house]]}}</div>
| label41 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{#if:{{{type_house1|}}}|{{{type_house1}}}|[[w:Upper house|Upper house]]}}</div>
| data41 = {{{upper_house|{{{house1|}}}}}}
| data41 = {{{upper_house|{{{house1|}}}}}}
| rowclass42 = mergedbottomrow
| rowclass42 = mergedbottomrow
| label42 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{#if:{{{type_house2|}}}|{{{type_house2}}}|[[Lower house]]}}</div>
| label42 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{#if:{{{type_house2|}}}|{{{type_house2}}}|[[w:Lower house|Lower house]]}}</div>
| data42 = {{{lower_house|{{{house2|}}}}}}
| data42 = {{{lower_house|{{{house2|}}}}}}


Line 256: Line 256:
| data45 = {{#if:{{{era|}}} |{{#ifexist:{{{era|}}}|[[{{{era}}}]]|{{{era}}}}} | {{#if:{{{date_start|}}}{{{year_start|}}}|&nbsp;}}}}
| data45 = {{#if:{{{era|}}} |{{#ifexist:{{{era|}}}|[[{{{era}}}]]|{{{era}}}}} | {{#if:{{{date_start|}}}{{{year_start|}}}|&nbsp;}}}}


| rowclass46 = {{#if:{{{established_event2|}}} |mergedrow |mergedbottomrow}}
| rowclass46 = {{#if:{{{established_event1|}}} |mergedrow |mergedbottomrow}}
| data46 = {{#if:{{{established_date1|}}}|{{Infobox country/multirow |{{{established_event1|}}} |{{{established_date1||}}} |{{{established_event2|}}} |{{{established_date2||}}} |{{{established_event3|}}} |{{{established_date3|}}} |{{{established_event4|}}} |{{{established_date4|}}} |{{{established_event5|}}} |{{{established_date5|}}} |{{{established_event6|}}} |{{{established_date6|}}} |{{{established_event7|}}} |{{{established_date7|}}} |{{{established_event8|}}} |{{{established_date8|}}} |{{{established_event9|}}} |{{{established_date9|}}} |{{{established_event10|}}} |{{{established_date10|}}} |{{{established_event11|}}} |{{{established_date11|}}} |{{{established_event12|}}} |{{{established_date12|}}} |{{{established_event13|}}} |{{{established_date13|}}} |{{{established_event14|}}} |{{{established_date14|}}} |{{{established_event15|}}} |{{{established_date15|}}} |{{{established_event16|}}} |{{{established_date16|}}} |{{{established_event17|}}} |{{{established_date17|}}} |{{{established_event18|}}} |{{{established_date18|}}} |{{{established_event19|}}} |{{{established_date19|}}} |{{{established_event20|}}} |{{{established_date20|}}} }} }}
| data46 = {{#if:{{{established_date1|}}}|{{Infobox country/multirow |{{{established_event1|}}} |{{{established_date1||}}} |{{{established_event2|}}} |{{{established_date2||}}} |{{{established_event3|}}} |{{{established_date3|}}} |{{{established_event4|}}} |{{{established_date4|}}} |{{{established_event5|}}} |{{{established_date5|}}} |{{{established_event6|}}} |{{{established_date6|}}} |{{{established_event7|}}} |{{{established_date7|}}} |{{{established_event8|}}} |{{{established_date8|}}} |{{{established_event9|}}} |{{{established_date9|}}} |{{{established_event10|}}} |{{{established_date10|}}} |{{{established_event11|}}} |{{{established_date11|}}} |{{{established_event12|}}} |{{{established_date12|}}} |{{{established_event13|}}} |{{{established_date13|}}} |{{{established_event14|}}} |{{{established_date14|}}} |{{{established_event15|}}} |{{{established_date15|}}} |{{{established_event16|}}} |{{{established_date16|}}} |{{{established_event17|}}} |{{{established_date17|}}} |{{{established_event18|}}} |{{{established_date18|}}} |{{{established_event19|}}} |{{{established_date19|}}} |{{{established_event20|}}} |{{{established_date20|}}} }} }}


Line 418: Line 418:


| rowclass101= mergedtoprow
| rowclass101= mergedtoprow
| label101= {{#ifeq:{{{micronation|}}}|yes|Claimed|}} [[Gross domestic product|GDP]]&nbsp;<span style="font-weight:normal;">([[Purchasing power parity|PPP]])</span>
| label101= {{#ifeq:{{{micronation|}}}|yes|Claimed|}} [[w:Gross domestic product|GDP]]&nbsp;<span style="font-weight:normal;">([[w:Purchasing power parity|PPP]])</span>
| data101= {{#if:{{{GDP_PPP|}}}{{{GDP_PPP_per_capita|}}}
| data101= {{#if:{{{GDP_PPP|}}}{{{GDP_PPP_per_capita|}}}
|{{#if:{{{GDP_PPP_year|}}} |{{{GDP_PPP_year}}}&nbsp;}}estimate
|{{#if:{{{GDP_PPP_year|}}} |{{{GDP_PPP_year}}}&nbsp;}}estimate
Line 436: Line 436:


| rowclass104= mergedtoprow
| rowclass104= mergedtoprow
| label104= {{#ifeq:{{{micronation|}}}|yes|Claimed|}} [[Gross domestic product|GDP]]&nbsp;<span style="font-weight:normal;">(nominal)</span>
| label104= {{#ifeq:{{{micronation|}}}|yes|Claimed|}} [[w:Gross domestic product|GDP]]&nbsp;<span style="font-weight:normal;">(nominal)</span>
| data104= {{#if:{{{GDP_nominal|}}}{{{GDP_nominal_per_capita|}}}
| data104= {{#if:{{{GDP_nominal|}}}{{{GDP_nominal_per_capita|}}}
|{{#if:{{{GDP_nominal_year|}}} |{{{GDP_nominal_year}}}&nbsp;}}estimate
|{{#if:{{{GDP_nominal_year|}}} |{{{GDP_nominal_year}}}&nbsp;}}estimate
Line 454: Line 454:
}}
}}


| label107= [[Gini_coefficient|Gini]]{{#if:{{{Gini_year|}}} |&nbsp;<span style="font-weight:normal;">({{{Gini_year}}})</span>}}
| label107= [[w:Gini_coefficient|Gini]]{{#if:{{{Gini_year|}}} |&nbsp;<span style="font-weight:normal;">({{{Gini_year}}})</span>}}
| data107= {{#if:{{{Gini|}}}
| data107= {{#if:{{{Gini|}}}
| {{#switch:{{{Gini_change|}}}
| {{#switch:{{{Gini_change|}}}
Line 488: Line 488:
-->}}
-->}}


| label108= [[Human Development Index|HDI]]{{#if:{{{HDI_year|}}} |&nbsp;<span style="font-weight:normal;">({{{HDI_year}}})</span>}}
| label108= [[w:Human Development Index|SDI]]{{#if:{{{HDI_year|}}} |&nbsp;<span style="font-weight:normal;">({{{HDI_year}}})</span>}}
| data108= {{#if:{{{HDI|}}}
| data108= {{#if:{{{HDI|}}}
| {{#switch:{{{HDI_change|}}}
| {{#switch:{{{HDI_change|}}}
Line 525: Line 525:
| label109= {{#ifeq:{{{micronation|}}}|yes|Purported currency|Currency}}
| label109= {{#ifeq:{{{micronation|}}}|yes|Purported currency|Currency}}
| data109= {{#if:{{{currency|}}}
| data109= {{#if:{{{currency|}}}
| {{{currency}}} {{#if:{{{currency_code|}}} |([[ISO 4217|{{{currency_code}}}]])}}
| {{{currency}}} {{#if:{{{currency_code|}}} |([[w:ISO 4217|{{{currency_code}}}]])}}
}}
}}


Line 531: Line 531:
| label119= Time zone
| label119= Time zone
| data119= {{#if:{{{utc_offset|}}}
| data119= {{#if:{{{utc_offset|}}}
|{{nowrap|[[Coordinated Universal Time|UTC]]{{{utc_offset}}}}} {{#if:{{{time_zone|}}}|({{{time_zone}}})}}
|{{nowrap|[[w:Coordinated Universal Time|UTC]]{{{utc_offset}}}}} {{#if:{{{time_zone|}}}|({{{time_zone}}})}}
|{{{time_zone|}}}
|{{{time_zone|}}}
}}
}}
| rowclass120= {{#if:{{{DST_note|}}} |mergedrow |mergedbottomrow}}
| rowclass120= {{#if:{{{DST_note|}}} |mergedrow |mergedbottomrow}}
| label120= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Summer&nbsp;([[Daylight saving time|DST]])</div>
| label120= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Summer&nbsp;([[w:Daylight saving time|DST]])</div>
| data120= {{#if:{{{utc_offset_DST|}}}
| data120= {{#if:{{{utc_offset_DST|}}}
|{{nowrap|[[Coordinated Universal Time|UTC]]{{{utc_offset_DST}}}}} {{#if:{{{time_zone_DST|}}}|({{{time_zone_DST}}})|{{#if:{{{DST|}}}|({{{DST}}})}}}}
|{{nowrap|[[w:Coordinated Universal Time|UTC]]{{{utc_offset_DST}}}}} {{#if:{{{time_zone_DST|}}}|({{{time_zone_DST}}})|{{#if:{{{DST|}}}|({{{DST}}})}}}}
|{{#if:{{{time_zone_DST|}}}|{{{time_zone_DST}}}|{{{DST|}}}}}
|{{#if:{{{time_zone_DST|}}}|{{{time_zone_DST}}}|{{{DST|}}}}}
}}
}}
Line 545: Line 545:
| data121= {{{DST_note|}}}
| data121= {{{DST_note|}}}
| label122 = [[Antipodes]]
| label122 = [[w:Antipodes|Antipodes]]
| data122= {{{antipodes|}}}
| data122= {{{antipodes|}}}


Line 551: Line 551:
| data123= {{{date_format|}}}
| data123= {{{date_format|}}}


| label124= [[Mains electricity]]
| label124= [[w:Mains electricity|Mains electricity]]
| data124= {{{electricity|}}}
| data124= {{{electricity|}}}


| label125= [[Left- and right-hand traffic|Driving side]]
| label125= [[w:Left- and right-hand traffic|Driving side]]
| data125= {{#if:{{{drives_on|}}} | {{lcfirst:{{{drives_on}}}}} }}
| data125= {{#if:{{{drives_on|}}} | {{lcfirst:{{{drives_on}}}}} }}


Line 565: Line 565:
| data126= {{{calling_code|}}}
| data126= {{{calling_code|}}}


| label127= [[ISO 3166|ISO 3166 code]]
| label127= [[w:ISO 3166|ISO 3166 code]]
| data127= {{#switch:{{{iso3166code|}}}
| data127= {{#switch:{{{iso3166code|}}}
|omit = <!--(do nothing)-->
|omit = <!--(do nothing)-->
Line 577: Line 577:
}}
}}


| label128= [[Country code top-level domain|Internet TLD]]
| label128= [[w:Country code top-level domain|Internet TLD]]
| data128= {{{cctld|}}}
| data128= {{{cctld|}}}



Latest revision as of 20:32, 21 August 2022