Template:Infobox political division: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 439: Line 439:
<!-- ***Elevation*** -->
<!-- ***Elevation*** -->
| rowclass81 = {{#if:{{{elevation_max_m|}}}{{{elevation_max_ft|}}}|mergedtoprow|}}
| rowclass81 = {{#if:{{{elevation_max_m|}}}{{{elevation_max_ft|}}}|mergedtoprow|}}
| label81 = {{#if:{{{elevation_link|}}}|[[{{{elevation_link|}}}|Elevation]]|Elevation}}<div class="ib-pol-div-elevation">{{{elevation_footnotes|}}}{{#if:{{{elevation_point|}}}|&#32;({{{elevation_point}}})}}</div>
| label81 = {{#if:{{{elevation_link|}}}|[[{{{elevation_link|}}}|Elevation]]|Elevation}}<div style="font-weight:normal;display:inline;">{{{elevation_footnotes|}}}{{#if:{{{elevation_point|}}}|&#32;({{{elevation_point}}})}}</div>
|  data81 = {{#if:{{{elevation_m|}}}{{{elevation_ft|}}}
|  data81 = {{#if:{{{elevation_m|}}}{{{elevation_ft|}}}
  |{{infobox_settlement/lengthdisp
  |{{infobox_settlement/lengthdisp
Line 449: Line 449:


| rowclass82 = {{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|mergedrow|{{#if:{{{elevation_min_m|}}}{{{elevation_min_ft|}}}|mergedtoprow|}}}}
| rowclass82 = {{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|mergedrow|{{#if:{{{elevation_min_m|}}}{{{elevation_min_ft|}}}|mergedtoprow|}}}}
| label82 = Highest&nbsp;elevation<div class="ib-pol-div-elevation">{{{elevation_max_footnotes|}}}{{#if:{{{elevation_max_point|}}}|&#32;({{{elevation_max_point}}})}}</div>
| label82 = Highest&nbsp;elevation<div style="font-weight:normal;display:inline;">{{{elevation_max_footnotes|}}}{{#if:{{{elevation_max_point|}}}|&#32;({{{elevation_max_point}}})}}</div>
|  data82 = {{#if:{{{elevation_max_m|}}}{{{elevation_max_ft|}}}
|  data82 = {{#if:{{{elevation_max_m|}}}{{{elevation_max_ft|}}}
  |{{infobox_settlement/lengthdisp
  |{{infobox_settlement/lengthdisp
Line 463: Line 463:


| rowclass84 = {{#if:{{{elevation_min_rank|}}}|mergedrow|mergedbottomrow}}
| rowclass84 = {{#if:{{{elevation_min_rank|}}}|mergedrow|mergedbottomrow}}
| label84 = Lowest&nbsp;elevation<div class="ib-pol-div-elevation">{{{elevation_min_footnotes|}}}{{#if:{{{elevation_min_point|}}}|&#32;({{{elevation_min_point}}})}}</div>
| label84 = Lowest&nbsp;elevation<div style="font-weight:normal;display:inline;">{{{elevation_min_footnotes|}}}{{#if:{{{elevation_min_point|}}}|&#32;({{{elevation_min_point}}})}}</div>
|  data84 = {{#if:{{{elevation_min_m|}}}{{{elevation_min_ft|}}}
|  data84 = {{#if:{{{elevation_min_m|}}}{{{elevation_min_ft|}}}
   |{{infobox_settlement/lengthdisp
   |{{infobox_settlement/lengthdisp
Line 490: Line 490:


| rowclass91 = mergedrow
| rowclass91 = mergedrow
| label91 = <div class="ib-pol-div-fake-li">•&nbsp;{{#if:{{{population_estimate_year|}}} |{{{population_estimate_year}}} estimate|Estimate}}</div>
| label91 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{#if:{{{population_estimate_year|}}} |{{{population_estimate_year}}} estimate|Estimate}}</div>
| data91 = {{#if:{{{population_estimate|}}}
| data91 = {{#if:{{{population_estimate|}}}
         |{{{population_estimate}}}<!--
         |{{{population_estimate}}}<!--
               -->{{#if:{{{population_estimate_rank|}}} |&#32;([[{{#if:{{{population_rank_link|}}}|{{{population_rank_link|}}}|List of countries and dependencies by population}}|{{{population_estimate_rank}}}]])}}
               -->{{#if:{{{population_estimate_rank|}}} |&#32;([[List of countries and dependencies by population|{{{population_estimate_rank}}}]])}}
         }}
         }}
| rowclass92 = mergedrow
| rowclass92 = mergedrow
| label92= <div class="ib-pol-div-fake-li">•&nbsp;{{{population_label2|}}}</div>
| label92= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{{population_label2|}}}</div>
| data92= {{#if:{{{population_label2|}}}|{{{population_data2|}}}}}
| data92= {{#if:{{{population_label2|}}}|{{{population_data2|}}}}}


| rowclass93= mergedrow
| rowclass93= mergedrow
| label93= <div class="ib-pol-div-fake-li">•&nbsp;{{{population_label3|}}}</div>
| label93= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{{population_label3|}}}</div>
| data93= {{#if:{{{population_label3|}}}|{{{population_data3|}}}}}
| data93= {{#if:{{{population_label3|}}}|{{{population_data3|}}}}}


Line 507: Line 507:


| rowclass95= mergedrow
| rowclass95= mergedrow
| label95= <div class="ib-pol-div-fake-li">•&nbsp;{{#if:{{{population_census_year|}}} |{{{population_census_year}}}&nbsp;census|Census}}</div>
| label95= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;{{#if:{{{population_census_year|}}} |{{{population_census_year}}}&nbsp;census|Census}}</div>
| data95= {{#if:{{{population_census|}}}
| data95= {{#if:{{{population_census|}}}
   |{{{population_census}}}<!--
   |{{{population_census}}}<!--
               -->{{#if:{{{population_census_rank|}}} |&#32;([[{{#if:{{{population_rank_link|}}}|{{{population_rank_link|}}}|List of countries and dependencies by population}}|{{{population_census_rank}}}]])}}
               -->{{#if:{{{population_census_rank|}}} |&#32;([[List of countries and dependencies by population|{{{population_census_rank}}}]])}}
   }}
   }}


| rowclass96 = mergedbottomrow
| rowclass96 = mergedbottomrow
| label96= <div class="ib-pol-div-fake-li">•&nbsp;Density{{{FR_foot5|}}}</div>
| label96= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Density{{{FR_foot5|}}}</div>
| data96= {{infobox_settlement/densdisp
| data96= {{#if:{{{population_density_km2|}}}{{{population_density_sq_mi|}}}
      |/km2 ={{{population_density_km2|}}}
    | {{convinfobox|{{{population_density_km2|}}}|/km2|{{{population_density_sq_mi|}}}|/sqmi|1|abbr=on}}{{{pop_den_footnote|}}}<!--
      |/sqmi={{{population_density_sq_mi|}}}
            -->{{#if:{{{population_density_rank|}}} |&#32;([[List of countries and dependencies by population density|{{{population_density_rank}}}]])}}
      |pop  ={{{population_total|}}}
    }}
      |dunam={{{area_total_dunam|}}}
      |ha  ={{{area_total_ha|}}}
      |km2  ={{{area_total_km2|}}}
      |acre ={{{area_total_acre|}}}
      |sqmi ={{{area_total_sq_mi|}}}
      |pref ={{{unit_pref}}}
      |name ={{{subdivision_name}}}
    }}
      
      
| rowclass107= mergedtoprow
| rowclass107= mergedtoprow
Line 535: Line 527:


| rowclass108= mergedrow
| rowclass108= mergedrow
| label108= <div class="ib-pol-div-fake-li">•&nbsp;Total</div>
| label108= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Total</div>
| data108= {{#if:{{{GVA|}}}
| data108= {{#if:{{{GVA|}}}
     |{{{GVA}}}<!--
     |{{{GVA}}}<!--
Line 541: Line 533:
     }}
     }}
| rowclass109= mergedbottomrow
| rowclass109= mergedbottomrow
| label109= <div class="ib-pol-div-fake-li">•&nbsp;Per capita</div>
| label109= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Per capita</div>
| data109= {{#if:{{{GVA_per_capita|}}}
| data109= {{#if:{{{GVA_per_capita|}}}
         | {{{GVA_per_capita}}}<!--
         | {{{GVA_per_capita}}}<!--
Line 548: Line 540:


| rowclass110= mergedtoprow
| rowclass110= mergedtoprow
| label110= [[Gross domestic product|GDP]]&nbsp;{{nobold|([[Purchasing power parity|PPP]])}}
| label110= [[Gross domestic product|GDP]]&nbsp;<span style="font-weight:normal;">([[Purchasing power parity|PPP]])</span>
| data110= {{#if:{{{GDP_PPP|}}}{{{GDP_PPP_per_capita|}}}
| data110= {{#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
     }}
     }}
| rowclass111= mergedrow
| rowclass111= mergedrow
| label111= <div class="ib-pol-div-fake-li">•&nbsp;Total</div>
| label111= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Total</div>
| data111= {{#if:{{{GDP_PPP|}}}
| data111= {{#if:{{{GDP_PPP|}}}
     |{{{GDP_PPP}}}<!--
     |{{{GDP_PPP}}}<!--
Line 559: Line 551:
     }}
     }}
| rowclass112= mergedbottomrow
| rowclass112= mergedbottomrow
| label112= <div class="ib-pol-div-fake-li">•&nbsp;Per capita</div>
| label112= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Per capita</div>
| data112= {{#if:{{{GDP_PPP_per_capita|}}}
| data112= {{#if:{{{GDP_PPP_per_capita|}}}
     |{{{GDP_PPP_per_capita}}}<!--
     |{{{GDP_PPP_per_capita}}}<!--
Line 566: Line 558:


| rowclass113= mergedtoprow
| rowclass113= mergedtoprow
| label113= [[Gross domestic product|GDP]]&nbsp;{{nobold|(nominal)}}
| label113= [[Gross domestic product|GDP]]&nbsp;<span style="font-weight:normal;">(nominal)</span>
| data113= {{#if:{{{GDP_nominal|}}}{{{GDP_nominal_per_capita|}}}
| data113= {{#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 572: Line 564:


| rowclass114= mergedrow
| rowclass114= mergedrow
| label114= <div class="ib-pol-div-fake-li">•&nbsp;Total</div>
| label114= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Total</div>
| data114= {{#if:{{{GDP_nominal|}}}
| data114= {{#if:{{{GDP_nominal|}}}
     |{{{GDP_nominal}}}<!--
     |{{{GDP_nominal}}}<!--
             -->{{#if:{{{GDP_nominal_rank|}}} |&#32;([[{{#if:{{{GDP_nominal_rank_link|}}}|{{{GDP_nominal_rank_link|}}}|List of countries by GDP (nominal)}}|{{{GDP_nominal_rank}}}]])}}  
             -->{{#if:{{{GDP_nominal_rank|}}} |&#32;([[List of countries by GDP (nominal)|{{{GDP_nominal_rank}}}]])}}
     }}
     }}
| rowclass115= mergedbottomrow
| rowclass115= mergedbottomrow
| label115= <div class="ib-pol-div-fake-li">•&nbsp;Per capita</div>
| label115= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">•&nbsp;Per capita</div>
| data115= {{#if:{{{GDP_nominal_per_capita|}}}
| data115= {{#if:{{{GDP_nominal_per_capita|}}}
         | {{{GDP_nominal_per_capita}}}<!--
         | {{{GDP_nominal_per_capita}}}<!--
                 -->{{#if:{{{GDP_nominal_per_capita_rank|}}} |&#32;([[{{#if:{{{GDP_nominal_per_capita_rank_link|}}}|{{{GDP_nominal_per_capita_rank_link|}}}|List of countries by GDP (nominal) per capita}}|{{{GDP_nominal_per_capita_rank}}}]])}}
                 -->{{#if:{{{GDP_nominal_per_capita_rank|}}} |&#32;([[List of countries by GDP (nominal) per capita|{{{GDP_nominal_per_capita_rank}}}]])}}
       }}
       }}


| label116= [[Gini_coefficient|Gini]]{{#if:{{{Gini_year|}}} |&nbsp;{{nobold|1=({{{Gini_year}}})}}}}
| label116= [[Gini_coefficient|Gini]]{{#if:{{{Gini_year|}}} |&nbsp;<span style="font-weight:normal;">({{{Gini_year}}})</span>}}
| data116= {{#if:{{{Gini|}}}
| data116= {{#if:{{{Gini|}}}
     | {{#switch:{{{Gini_change|}}}
     | {{#switch:{{{Gini_change|}}}
Line 592: Line 584:
           -->}}{{{Gini}}}{{{Gini_ref|}}}<br/><!--
           -->}}{{{Gini}}}{{{Gini_ref|}}}<br/><!--
           ---------Evaluate and add Gini category:----------
           ---------Evaluate and add Gini category:----------
           -->{{nowrap|1=<!--
           --><span style="white-space:nowrap;"><!--
             -->{{#iferror:<!--
             -->{{#iferror:<!--
                 -->{{#ifexpr:{{{Gini}}}>100 <!--
                 -->{{#ifexpr:{{{Gini}}}>100 <!--
Line 609: Line 601:
                   -->}}<!--
                   -->}}<!--
                 -->}}<!--
                 -->}}<!--
               -->| {{error|Error: Invalid Gini value}}<!--
               -->| {{error|Error: Invalid Gini value}}{{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[Category:Country articles requiring maintenance]] }}<!--
             -->}}<!--
             -->}}<!--
           -->}}<!--
           --></span><!--
           -----------Add Gini_rank (if supplied):----------
           -----------Add Gini_rank (if supplied):----------
           -->{{#if:{{{Gini_rank|}}}
           -->{{#if:{{{Gini_rank|}}}
Line 618: Line 610:
       -->}}
       -->}}


| label117= [[Human Development Index|HDI]]{{#if:{{{HDI_year|}}} |&nbsp;{{nobold|1=({{{HDI_year}}})}}}}
| label117= [[Human Development Index|HDI]]{{#if:{{{HDI_year|}}} |&nbsp;<span style="font-weight:normal;">({{{HDI_year}}})</span>}}
| data117= {{#if:{{{HDI|}}}
| data117= {{#if:{{{HDI|}}}
     | {{#switch:{{{HDI_change|}}}
     | {{#switch:{{{HDI_change|}}}
Line 626: Line 618:
           -->}}{{{HDI}}}{{{HDI_ref|}}}<br/><!--
           -->}}{{{HDI}}}{{{HDI_ref|}}}<br/><!--
           ---------Evaluate and add HDI category:---------
           ---------Evaluate and add HDI category:---------
           -->{{nowrap|1=<!--
           --><span style="white-space:nowrap;"><!--
               -->{{#iferror:<!--
               -->{{#iferror:<!--
                 -->{{#ifexpr:{{{HDI}}}>1 <!--
                 -->{{#ifexpr:{{{HDI}}}>1 <!--
Line 644: Line 636:
                   -->}}<!--
                   -->}}<!--
                 -->}}<!--
                 -->}}<!--
               -->| {{error|Error: Invalid HDI value}}<!--
               -->| {{error|Error: Invalid HDI value}}{{#ifeq: {{NAMESPACE}} | {{ns:0}} | [[Category:Country articles requiring maintenance]] }}<!--
               -->}}<!--
               -->}}<!--
           -->}}<!--
           --></span><!--
           ----------Add HDI_rank (if supplied):-----------
           ----------Add HDI_rank (if supplied):-----------
           -->{{#if:{{{HDI_rank|}}}
           -->{{#if:{{{HDI_rank|}}}
               |&nbsp;·&nbsp;[[{{#if:{{{HDI_rank_link|}}}|{{{HDI_rank_link|}}}|List of countries by Human Development Index}}|{{{HDI_rank}}}]]<!--
               |&nbsp;·&nbsp;[[List of countries by Human Development Index|{{{HDI_rank}}}]]<!--
           -->}}<!--
           -->}}<!--
       -->}}
       -->}}
Line 657: Line 649:
     | {{{currency}}} {{#if:{{{currency_code|}}} |([[ISO 4217|{{{currency_code}}}]])}}
     | {{{currency}}} {{#if:{{{currency_code|}}} |([[ISO 4217|{{{currency_code}}}]])}}
   }}
   }}


<!-- ***Time Zones*** -->
<!-- ***Time Zones*** -->
Line 664: Line 657:
|  label120 = {{#if:{{{timezone1_location|}}}|{{{timezone1_location}}}|{{#if:{{{timezone2_location|}}}|{{{timezone2_location}}}|{{#if:{{{timezone2|}}}|[[{{#if:{{{timezone_link|}}}|{{{timezone_link}}}|Time zone}}|Time zone]]s|[[{{#if:{{{timezone_link|}}}|{{{timezone_link}}}|Time zone}}|Time zone]]}}}}}}
|  label120 = {{#if:{{{timezone1_location|}}}|{{{timezone1_location}}}|{{#if:{{{timezone2_location|}}}|{{{timezone2_location}}}|{{#if:{{{timezone2|}}}|[[{{#if:{{{timezone_link|}}}|{{{timezone_link}}}|Time zone}}|Time zone]]s|[[{{#if:{{{timezone_link|}}}|{{{timezone_link}}}|Time zone}}|Time zone]]}}}}}}
|  data120 = {{#if:{{{utc_offset1|{{{utc_offset|}}} }}}
|  data120 = {{#if:{{{utc_offset1|{{{utc_offset|}}} }}}
  |[[CMT{{{utc_offset1|{{{utc_offset}}}}}}]] {{#if:{{{timezone1|{{{timezone|}}}}}}|({{{timezone1|{{{timezone}}}}}})}}
  |[[UTC{{{utc_offset1|{{{utc_offset}}}}}}]] {{#if:{{{timezone1|{{{timezone|}}}}}}|({{{timezone1|{{{timezone}}}}}})}}
  |{{{timezone1|{{{timezone|}}}}}}{{#if:{{{utc_offset_list|}}}|{{{utc_offset_list}}} {{#if:{{{timezone1|{{{timezone|}}}}}}|({{{timezone1|{{{timezone}}}}}})}}}}
  |{{{timezone1|{{{timezone|}}}}}}{{#if:{{{utc_offset_list|}}}|{{{utc_offset_list}}} {{#if:{{{timezone1|{{{timezone|}}}}}}|({{{timezone1|{{{timezone}}}}}})}}}}
  }}  
  }}  


| rowclass121 = mergedbottomrow
| rowclass121 = mergedbottomrow
| label121 = <div class="ib-pol-div-fake-li">&nbsp;•&nbsp;Summer ([[wikipedia:Daylight saving time|DST]])</div>
| label121 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">&nbsp;•&nbsp;Summer ([[Daylight saving time|DST]])</div>
|  data121 = {{#if:{{{utc_offset1_DST|{{{utc_offset_DST|}}}}}}
|  data121 = {{#if:{{{utc_offset1_DST|{{{utc_offset_DST|}}}}}}
     |[[CMT{{{utc_offset1_DST|{{{utc_offset_DST|}}}}}}]] {{#if:{{{timezone1_DST|{{{timezone_DST|}}}}}}|({{{timezone1_DST|{{{timezone_DST}}}}}})}}
     |[[UTC{{{utc_offset1_DST|{{{utc_offset_DST|}}}}}}]] {{#if:{{{timezone1_DST|{{{timezone_DST|}}}}}}|({{{timezone1_DST|{{{timezone_DST}}}}}})}}
     |{{{timezone1_DST|{{{timezone_DST|}}}}}}{{#if:{{{utc_offset_list_DST|}}}|{{{utc_offset_list_DST}}}}}
     |{{{timezone1_DST|{{{timezone_DST|}}}}}}
     }}
     }}
      
      
Line 680: Line 673:


<!-- ***Electricity*** -->
<!-- ***Electricity*** -->
| label131 = [[wikipedia:Mains electricity|Mains electricity]]
| label131 = [[Mains electricity]]
| data131= {{{electricity|}}}
| data131= {{{electricity|}}}


<!-- ***Driving side*** -->
<!-- ***Driving side*** -->
| label132= [[List of left- and right-hand traffic|Driving side]]
| label132= [[Left- and right-hand traffic|Driving side]]
| data132= {{#if:{{{drives_on|}}} | {{lcfirst:{{{drives_on}}}}} }}
| data132= {{#if:{{{drives_on|}}} | {{lcfirst:{{{drives_on}}}}} }}


Line 785: Line 778:


<!-- ***Footnotes*** -->
<!-- ***Footnotes*** -->
| belowstyle = text-align:left;
| belowrowclass = mergedtoprow
| belowrowclass = mergedtoprow
| below = {{{footnotes|}}}
| below = {{{footnotes|}}}

Revision as of 09:57, 21 August 2022

[create] Template documentation