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 | | label81 = {{#if:{{{elevation_link|}}}|[[{{{elevation_link|}}}|Elevation]]|Elevation}}<div style="font-weight:normal;display:inline;">{{{elevation_footnotes|}}}{{#if:{{{elevation_point|}}}| ({{{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 elevation<div | | label82 = Highest elevation<div style="font-weight:normal;display:inline;">{{{elevation_max_footnotes|}}}{{#if:{{{elevation_max_point|}}}| ({{{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 elevation<div | | label84 = Lowest elevation<div style="font-weight:normal;display:inline;">{{{elevation_min_footnotes|}}}{{#if:{{{elevation_min_point|}}}| ({{{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 | | label91 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• {{#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|}}} | ([[ | -->{{#if:{{{population_estimate_rank|}}} | ([[List of countries and dependencies by population|{{{population_estimate_rank}}}]])}} | ||
}} | }} | ||
| rowclass92 = mergedrow | | rowclass92 = mergedrow | ||
| label92= <div | | label92= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• {{{population_label2|}}}</div> | ||
| data92= {{#if:{{{population_label2|}}}|{{{population_data2|}}}}} | | data92= {{#if:{{{population_label2|}}}|{{{population_data2|}}}}} | ||
| rowclass93= mergedrow | | rowclass93= mergedrow | ||
| label93= <div | | label93= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• {{{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 | | label95= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• {{#if:{{{population_census_year|}}} |{{{population_census_year}}} census|Census}}</div> | ||
| data95= {{#if:{{{population_census|}}} | | data95= {{#if:{{{population_census|}}} | ||
|{{{population_census}}}<!-- | |{{{population_census}}}<!-- | ||
-->{{#if:{{{population_census_rank|}}} | ([[ | -->{{#if:{{{population_census_rank|}}} | ([[List of countries and dependencies by population|{{{population_census_rank}}}]])}} | ||
}} | }} | ||
| rowclass96 = mergedbottomrow | | rowclass96 = mergedbottomrow | ||
| label96= <div | | label96= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• Density{{{FR_foot5|}}}</div> | ||
| data96= {{ | | data96= {{#if:{{{population_density_km2|}}}{{{population_density_sq_mi|}}} | ||
| {{convinfobox|{{{population_density_km2|}}}|/km2|{{{population_density_sq_mi|}}}|/sqmi|1|abbr=on}}{{{pop_den_footnote|}}}<!-- | |||
-->{{#if:{{{population_density_rank|}}} | ([[List of countries and dependencies by population density|{{{population_density_rank}}}]])}} | |||
}} | |||
| rowclass107= mergedtoprow | | rowclass107= mergedtoprow | ||
| Line 535: | Line 527: | ||
| rowclass108= mergedrow | | rowclass108= mergedrow | ||
| label108= <div | | label108= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• Total</div> | ||
| data108= {{#if:{{{GVA|}}} | | data108= {{#if:{{{GVA|}}} | ||
|{{{GVA}}}<!-- | |{{{GVA}}}<!-- | ||
| Line 541: | Line 533: | ||
}} | }} | ||
| rowclass109= mergedbottomrow | | rowclass109= mergedbottomrow | ||
| label109= <div | | label109= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• 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]] | | label110= [[Gross domestic product|GDP]] <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}}} }}estimate | |{{#if:{{{GDP_PPP_year|}}} |{{{GDP_PPP_year}}} }}estimate | ||
}} | }} | ||
| rowclass111= mergedrow | | rowclass111= mergedrow | ||
| label111= <div | | label111= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• Total</div> | ||
| data111= {{#if:{{{GDP_PPP|}}} | | data111= {{#if:{{{GDP_PPP|}}} | ||
|{{{GDP_PPP}}}<!-- | |{{{GDP_PPP}}}<!-- | ||
| Line 559: | Line 551: | ||
}} | }} | ||
| rowclass112= mergedbottomrow | | rowclass112= mergedbottomrow | ||
| label112= <div | | label112= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• 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]] | | label113= [[Gross domestic product|GDP]] <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}}} }}estimate | |{{#if:{{{GDP_nominal_year|}}} |{{{GDP_nominal_year}}} }}estimate | ||
| Line 572: | Line 564: | ||
| rowclass114= mergedrow | | rowclass114= mergedrow | ||
| label114= <div | | label114= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• Total</div> | ||
| data114= {{#if:{{{GDP_nominal|}}} | | data114= {{#if:{{{GDP_nominal|}}} | ||
|{{{GDP_nominal}}}<!-- | |{{{GDP_nominal}}}<!-- | ||
-->{{#if:{{{GDP_nominal_rank|}}} | ([[ | -->{{#if:{{{GDP_nominal_rank|}}} | ([[List of countries by GDP (nominal)|{{{GDP_nominal_rank}}}]])}} | ||
}} | }} | ||
| rowclass115= mergedbottomrow | | rowclass115= mergedbottomrow | ||
| label115= <div | | label115= <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;">• 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|}}} | ([[ | -->{{#if:{{{GDP_nominal_per_capita_rank|}}} | ([[List of countries by GDP (nominal) per capita|{{{GDP_nominal_per_capita_rank}}}]])}} | ||
}} | }} | ||
| label116= [[Gini_coefficient|Gini]]{{#if:{{{Gini_year|}}} | | | label116= [[Gini_coefficient|Gini]]{{#if:{{{Gini_year|}}} | <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:---------- | ||
--> | --><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|}}} | | | label117= [[Human Development Index|HDI]]{{#if:{{{HDI_year|}}} | <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:--------- | ||
--> | --><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|}}} | ||
| · [[ | | · [[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|}}} }}} | ||
|[[ | |[[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 | | label121 = <div style="text-indent:-0.9em;margin-left:1.2em;font-weight:normal;"> • Summer ([[Daylight saving time|DST]])</div> | ||
| data121 = {{#if:{{{utc_offset1_DST|{{{utc_offset_DST|}}}}}} | | data121 = {{#if:{{{utc_offset1_DST|{{{utc_offset_DST|}}}}}} | ||
|[[ | |[[UTC{{{utc_offset1_DST|{{{utc_offset_DST|}}}}}}]] {{#if:{{{timezone1_DST|{{{timezone_DST|}}}}}}|({{{timezone1_DST|{{{timezone_DST}}}}}})}} | ||
|{{{timezone1_DST|{{{timezone_DST|} | |{{{timezone1_DST|{{{timezone_DST|}}}}}} | ||
}} | }} | ||
| Line 680: | Line 673: | ||
<!-- ***Electricity*** --> | <!-- ***Electricity*** --> | ||
| label131 = [[ | | label131 = [[Mains electricity]] | ||
| data131= {{{electricity|}}} | | data131= {{{electricity|}}} | ||
<!-- ***Driving side*** --> | <!-- ***Driving side*** --> | ||
| label132= [[ | | 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
| Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |