Template:Infobox country/Sandbox: Difference between revisions

Jump to navigation Jump to search
(Created page with "{{infobox | bodyclass = geography vcard | bodystyle = font-size:88%; | headerstyle= text-align:left; | aboveclass = adr | abovestyle = font-size:125%; line-height:1.2em; | abo...")
 
No edit summary
Line 169: Line 169:
| data18 = {{{languages2|}}}
| data18 = {{{languages2|}}}
    
    
| label19 = [[Ethnic group|Ethnic&nbsp;groups]] <!--
| label19 = {{wp|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 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|}} {{wp|Gross domestic product|GDP}}&nbsp;<span style="font-weight:normal;">([[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|}} {{wp|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= {{wp|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= {{wp|Human Development Index|HDI}}{{#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|}}} |({{wp|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|{{wp|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;({{wp|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|{{wp|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 = {{wp|Antipodes}}
| data122= {{{antipodes|}}}
| data122= {{{antipodes|}}}


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


| label124= [[Mains electricity]]
| label124= {{wp|Mains electricity}}
| data124= {{{electricity|}}}
| data124= {{{electricity|}}}


| label125= [[Left- and right-hand traffic|Driving side]]
| label125= {{wp|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= {{wp|ISO 3166|ISO 3166 code}}
| data127= {{#switch:{{{iso3166code|}}}
| data127= {{#switch:{{{iso3166code|}}}
     |omit = <!--(do nothing)-->
     |omit = <!--(do nothing)-->
     | = <!--if iso3166code is not supplied:
     | = <!--if iso3166code is not supplied:
           -->{{#if:{{{common_name|}}}
           -->{{#if:{{{common_name|}}}
               | {{#if:{{ISO 3166 code|{{{common_name}}}|nocat=true}}
               | {{#if:{{wp|ISO 3166 code|{{{common_name}}}|nocat=true}}
                 | [[ISO 3166-2:{{ISO 3166 code|{{{common_name}}}}}|{{ISO 3166 code|{{{common_name}}}}}]]
                 | {{wp|ISO 3166-2:{{ISO 3166 code|{{{common_name}}}}}|{{ISO 3166 code|{{{common_name}}}}}}}
                 }}
                 }}
             }}
             }}
     |#default = [[ISO 3166-2:{{uc:{{{iso3166code}}}}}|{{uc:{{{iso3166code}}}}}]]
     |#default = {{wp|ISO 3166-2:{{uc:{{{iso3166code}}}}}|{{uc:{{{iso3166code}}}}}}}
     }}
     }}


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



Revision as of 02:18, 28 March 2022