Template:Infobox political division: Difference between revisions

From MicrasWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 580: Line 580:
{{#if:{{{national_representation_type1}}}|
{{#if:{{{national_representation_type1}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>&nbsp;•&nbsp;{{{national_representation_type1}}}</th>
<th>&nbsp;•&nbsp;{{nobold|{{{national_representation_type1}}}}}</th>
<td>{{#if:{{{national_representation_type1|}}}|{{{national_representation1|}}} }}</td>
<td>{{#if:{{{national_representation_type1|}}}|{{{national_representation1|}}} }}</td>
</tr>
</tr>
}}{{#if:{{{national_representation_type2}}}|
}}{{#if:{{{national_representation_type2}}}|
<tr class="mergedbottomrow">
<tr class="mergedbottomrow">
<th>&nbsp;•&nbsp;{{{national_representation_type2}}}</th>
<th>&nbsp;•&nbsp;{{nobold|{{{national_representation_type2}}}}}</th>
<td>{{#if:{{{national_representation_type2|}}}|{{{national_representation2|}}} }}</td>
<td>{{#if:{{{national_representation_type2|}}}|{{{national_representation2|}}} }}</td>
</tr>
</tr>
Line 597: Line 597:
{{#if:{{{area_total_km2|}}}{{{area_total_ha|}}}{{{area_total_acre|}}}{{{area_total_sq_mi|}}}{{{area_total_dunam|}}}|
{{#if:{{{area_total_km2|}}}{{{area_total_ha|}}}{{{area_total_acre|}}}{{{area_total_sq_mi|}}}{{{area_total_dunam|}}}|
{{#ifeq:{{{total_type}}}|&nbsp;||<tr class="mergedrow">
{{#ifeq:{{{total_type}}}|&nbsp;||<tr class="mergedrow">
<th> &nbsp;•&nbsp;{{#if:{{{total_type|}}}|{{{total_type}}}|{{#if:{{{area_metro_km2|}}}{{{area_metro_sq_mi|}}}{{{area_urban_km2|}}}{{{area_urban_sq_mi|}}}{{{area_rural_km2|}}}{{{area_rural_sq_mi|}}}{{{population_metro|}}}{{{population_urban|}}}{{{population_rural|}}}|{{#if:{{{settlement_type|{{{type|}}}}}}|{{{settlement_type|{{{type}}}}}}|City}}|Total}}}}</th>}}
<th> &nbsp;•&nbsp;{{nobold|{{#if:{{{total_type|}}}|{{{total_type}}}|{{#if:{{{area_metro_km2|}}}{{{area_metro_sq_mi|}}}{{{area_urban_km2|}}}{{{area_urban_sq_mi|}}}{{{area_rural_km2|}}}{{{area_rural_sq_mi|}}}{{{population_metro|}}}{{{population_urban|}}}{{{population_rural|}}}|{{#if:{{{settlement_type|{{{type|}}}}}}|{{{settlement_type|{{{type}}}}}}|City}}|Total}}}}}}</th>}}
<td>{{infobox_settlement/areadisp
<td>{{infobox_settlement/areadisp
   |km2  ={{{area_total_km2|}}}
   |km2  ={{{area_total_km2|}}}
Line 612: Line 612:
}}{{#if:{{{area_land_km2|}}}{{{area_land_ha|}}}{{{area_land_acre|}}}{{{area_land_sq_mi|}}}{{{area_land_dunam|}}}|
}}{{#if:{{{area_land_km2|}}}{{{area_land_ha|}}}{{{area_land_acre|}}}{{{area_land_sq_mi|}}}{{{area_land_dunam|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>&nbsp;•&nbsp;Land</th>
<th>&nbsp;•&nbsp;{{nobold|Land}}</th>
<td>{{infobox_settlement/areadisp
<td>{{infobox_settlement/areadisp
   |km2  ={{{area_land_km2|}}}
   |km2  ={{{area_land_km2|}}}
Line 626: Line 626:
}}{{#if:{{{area_water_km2|}}}{{{area_water_ha|}}}{{{area_water_acre|}}}{{{area_water_sq_mi|}}}{{{area_water_dunam|}}}|
}}{{#if:{{{area_water_km2|}}}{{{area_water_ha|}}}{{{area_water_acre|}}}{{{area_water_sq_mi|}}}{{{area_water_dunam|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>&nbsp;•&nbsp;Water</th>
<th>&nbsp;•&nbsp;{{nobold|Water}}</th>
<td>{{infobox_settlement/areadisp
<td>{{infobox_settlement/areadisp
   |km2  ={{{area_water_km2|}}}
   |km2  ={{{area_water_km2|}}}
Line 696: Line 696:
{{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|
{{#if:{{{elevation_m|}}}{{{elevation_ft|}}}|
<tr class="mergedtoprow">
<tr class="mergedtoprow">
<td>{{#if:{{{elevation_link|}}}|'''[[{{{elevation_link|}}}|Elevation]]'''|'''Elevation'''}}<div class="ib-pol-div-elevation">{{{elevation_footnotes|}}}{{#if:{{{elevation_point|}}}|&#32;({{{elevation_point}}})}}</div></td>
<td>{{#if:{{{elevation_link|}}}|'''[[{{{elevation_link|}}}|Elevation]]'''|'''Elevation'''}}<div class="ib-pol-div-elevation">{{{elevation_footnotes|}}}{{#if:{{{elevation_point|}}}|&#32;{{nobold|({{{elevation_point}}})}}}}</div></td>
<td>{{infobox_settlement/lengthdisp
<td>{{infobox_settlement/lengthdisp
       |m  ={{{elevation_m|}}}
       |m  ={{{elevation_m|}}}
Line 706: Line 706:
}}{{#if:{{{elevation_max_m|}}}{{{elevation_max_ft|}}}|
}}{{#if:{{{elevation_max_m|}}}{{{elevation_max_ft|}}}|
<tr class="mergedtoprow">
<tr class="mergedtoprow">
<th>Highest&nbsp;elevation<div class="ib-pol-div-elevation">{{{elevation_max_footnotes|}}}{{#if:{{{elevation_max_point|}}}|&#32;({{{elevation_max_point}}})}}</div></th>
<th>Highest&nbsp;elevation<div class="ib-pol-div-elevation">{{{elevation_max_footnotes|}}}{{#if:{{{elevation_max_point|}}}|&#32;{{nobold|({{{elevation_max_point}}})}}}}</div></th>
<td>{{infobox_settlement/lengthdisp
<td>{{infobox_settlement/lengthdisp
       |m  ={{{elevation_max_m|}}}
       |m  ={{{elevation_max_m|}}}
Line 721: Line 721:
}}{{#if:{{{elevation_min_m|}}}{{{elevation_min_ft|}}}|
}}{{#if:{{{elevation_min_m|}}}{{{elevation_min_ft|}}}|
<tr class="{{#if:{{{elevation_min_rank|}}}|mergedrow|mergedbottomrow}}">
<tr class="{{#if:{{{elevation_min_rank|}}}|mergedrow|mergedbottomrow}}">
<th>Highest&nbsp;elevation<div class="ib-pol-div-elevation">{{{elevation_max_footnotes|}}}{{#if:{{{elevation_max_point|}}}|&#32;({{{elevation_max_point}}})}}</div></th>
<th>Lowest&nbsp;elevation<div class="ib-pol-div-elevation">{{{elevation_min_footnotes|}}}{{#if:{{{elevation_min_point|}}}|&#32;{{nobold|({{{elevation_min_point}}})}}}}</div></th>
<td>{{infobox_settlement/lengthdisp
<td>{{infobox_settlement/lengthdisp
       |m  ={{{elevation_min_m|}}}
       |m  ={{{elevation_min_m|}}}
Line 866: Line 866:
}}{{#if:{{{GVA|}}}|
}}{{#if:{{{GVA|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>&nbsp;•&nbsp;Total</th>
<th>&nbsp;•&nbsp;{{nobold|Total}}</th>
<td>{{#if:{{{GVA|}}}
<td>{{#if:{{{GVA|}}}
     |{{{GVA}}}<!--
     |{{{GVA}}}<!--
Line 874: Line 874:
}}{{#if:{{{GVA_per_capita|}}}|
}}{{#if:{{{GVA_per_capita|}}}|
<tr class="mergedbottomrow">
<tr class="mergedbottomrow">
<th>&nbsp;•&nbsp;Per capita</th>
<th>&nbsp;•&nbsp;{{nobold|Per capita}}</th>
<td>{{#if:{{{GVA_per_capita|}}}
<td>{{#if:{{{GVA_per_capita|}}}
         | {{{GVA_per_capita}}}<!--
         | {{{GVA_per_capita}}}<!--
Line 889: Line 889:
}}{{#if:{{{GDP_PPP|}}}|
}}{{#if:{{{GDP_PPP|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>&nbsp;•&nbsp;Total</th>
<th>&nbsp;•&nbsp;{{nobold|Total}}</th>
<td>{{#if:{{{GDP_PPP|}}}
<td>{{#if:{{{GDP_PPP|}}}
     |{{{GDP_PPP}}}<!--
     |{{{GDP_PPP}}}<!--
Line 897: Line 897:
}}{{#if:{{{GDP_PPP_per_capita|}}}|
}}{{#if:{{{GDP_PPP_per_capita|}}}|
<tr class="mergedbottomrow">
<tr class="mergedbottomrow">
<th>&nbsp;•&nbsp;Per capita</th>
<th>&nbsp;•&nbsp;{{nobold|Per capita}}</th>
<td>{{#if:{{{GDP_PPP_per_capita|}}}
<td>{{#if:{{{GDP_PPP_per_capita|}}}
     |{{{GDP_PPP_per_capita}}}<!--
     |{{{GDP_PPP_per_capita}}}<!--
                 -->{{#if:{{{GDP_PPP_per_capita_rank|}}} |&#32;([[List of countries by GDP (PPP) per capita|{{{GDP_PPP_per_capita_rank}}}]])}}
                 -->{{#if:{{{GDP_PPP_per_capita_rank|}}} |&#32;([[wikipedia"List of countries by GDP (PPP) per capita|{{{GDP_PPP_per_capita_rank}}}]])}}
     }}</td>
     }}</td>
</tr>
</tr>
Line 912: Line 912:
}}{{#if:{{{GDP_nominal|}}}|
}}{{#if:{{{GDP_nominal|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>&nbsp;•&nbsp;Total</th>
<th>&nbsp;•&nbsp;{{nobold|Total}}</th>
<td>{{#if:{{{GDP_nominal|}}}
<td>{{#if:{{{GDP_nominal|}}}
     |{{{GDP_nominal}}}<!--
     |{{{GDP_nominal}}}<!--
Line 920: Line 920:
}}{{#if:{{{GDP_nominal_per_capita|}}}|
}}{{#if:{{{GDP_nominal_per_capita|}}}|
<tr class="mergedbottomrow">
<tr class="mergedbottomrow">
<th>&nbsp;•&nbsp;Per capita</th>
<th>&nbsp;•&nbsp;{{nobold|Per capita}}</th>
<td>{{#if:{{{GDP_nominal_per_capita|}}}
<td>{{#if:{{{GDP_nominal_per_capita|}}}
         | {{{GDP_nominal_per_capita}}}<!--
         | {{{GDP_nominal_per_capita}}}<!--
Line 1,040: Line 1,040:
<th>[[List of left- and right-hand traffic|Driving side]]</th>
<th>[[List of left- and right-hand traffic|Driving side]]</th>
<td>{{#if:{{{drives_on|}}} | {{lcfirst:{{{drives_on}}}}} }}</td>
<td>{{#if:{{{drives_on|}}} | {{lcfirst:{{{drives_on}}}}} }}</td>
</tr>
}}<!-- Calling Code(s)*** -->
{{#if:{{{calling_code|}}}{{{area_code|}}}|
<tr class="mergedtoprow">
<th>{{#if:{{{calling_code|}}}
    |{{#ifexist:Telephone numbers in {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}}
              | [[wikipedia:Telephone numbers in {{{linking_name|{{{common_name|{{{name|{{PAGENAME}}}}}}}}}}}|Calling code]]
              | Calling code
              }}
  }}</th>
<td>{{#if:{{{calling_code|}}}{{{area_code|}}}|{{{calling_code|}}}{{{area_code|}}}}}</td>
</tr>
</tr>
}}<!-- ***Postal Code(s)*** -->
}}<!-- ***Postal Code(s)*** -->
Line 1,045: Line 1,056:
<tr class="mergedtoprow">
<tr class="mergedtoprow">
<th>{{{postal_code_type}}}</th>
<th>{{{postal_code_type}}}</th>
<td class="adr"><span class="postal-code">{{{postal_code|}}}</span></td>
<td class="adr"><span class="postal-code">{{#if:{{{postal_code_type|}}}|{{#if:{{{postal_code|}}}|{{{postal_code}}}}}}}</span></td>
</tr>
</tr>
{{#if:{{{postal2_code_type|}}}|
{{#if:{{{postal2_code_type|}}}|
<tr class="mergedbottomrow">
<tr class="mergedbottomrow">
<th>{{{postal2_code_type}}}</th>
<th>{{{postal2_code_type}}}</th>
<td class="adr"><span class="postal-code">{{{postal2_code|}}}</span></td>
<td class="adr"><span class="postal-code">{{#if:{{{postal_code_type|}}}|{{#if:{{{postal2_code_type|}}}|{{#if:{{{postal2_code|}}}|{{{postal2_code}}}}} }} }}</span></td>
</tr>
}} }}<!-- ***Area Code(s)*** -->
{{#if:{{{area_code|}}}|
<tr class="mergedrow">
<th>{{#if:{{{area_code_type|}}}|{{{area_code_type}}}|[[wikipedia:Telephone numbering plan|Area code(s)]]}}</th>
<td>{{{area_code|}}}</td>
</tr>
</tr>
}}<!-- Geocode-->
}} }}<!-- Geocode-->
{{#if:{{{geocode|}}}|
{{#if:{{{geocode|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>[[Geocode]]</th>
<th>[[wikipedia:Geocode|Geocode]]</th>
<td class="nickname">{{{geocode}}}</td>
<td class="nickname">{{{geocode}}}</td>
</tr>
</tr>
Line 1,067: Line 1,072:
{{#if:{{{iso_code|}}}|
{{#if:{{{iso_code|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>[[ISO 3166|ISO 3166 code]]</th>
<th>[[List of two-letter country codes|MOS-1 code]]</th>
<td class="nickname">{{{iso_code}}}</td>
<td class="nickname">{{{iso_code}}}</td>
</tr>
}}<!-- ccTLD -->
{{#if:{{{cctld|}}}|
<tr class="mergedrow">
<th>[[wikipedia:Country code top-level domain|Internet TLD]]</th>
<td>{{{cctld|}}}</td>
</tr>
</tr>
}}<!-- Vehicle registration plate-->
}}<!-- Vehicle registration plate-->
{{#if:{{{registration_plate|}}}|
{{#if:{{{registration_plate|}}}|
<tr class="mergedrow">
<tr class="mergedrow">
<th>[[Vehicle registration plate|Vehicle registration]]</th>
<th>[[Vehicle registration plate of {{{country|}}}|Vehicle registration]]</th>
<td>{{{registration_plate}}}</td>
<td>{{{registration_plate}}}</td>
</tr>
}}<!-- ***Twin Cities*** -->
{{#if:{{{twin1|}}}|
<tr class="mergedtoprow">
<th colspan="2">[[List of twin towns and sister cities|Twin cities]]</td>
</tr>
<tr class="mergedrow">
<th>&nbsp;•&nbsp;{{{twin1}}}</th>
<td>{{{twin1_country}}}</td>
</tr>
{{#if:{{{twin2|}}}|
<tr class="mergedrow">
<th>&nbsp;•&nbsp;{{{twin2}}}</th>
<td>{{{twin2_country}}}</td>
</tr>
}}{{#if:{{{twin3|}}}|
<tr class="mergedrow">
<th>&nbsp;•&nbsp;{{{twin3}}}</th>
<td>{{{twin3_country}}}</td>
</tr>
}}{{#if:{{{twin4|}}}|
<tr class="mergedrow">
<th>&nbsp;•&nbsp;{{{twin4}}}</th>
<td>{{{twin4_country}}}</td>
</tr>
}}{{#if:{{{twin5|}}}|
<tr class="mergedrow">
<th>&nbsp;•&nbsp;{{{twin5}}}</th>
<td>{{{twin5_country}}}</td>
</tr>
}}{{#if:{{{twin6|}}}|
<tr class="mergedrow">
<th>&nbsp;•&nbsp;{{{twin6}}}</th>
<td>{{{twin6_country}}}</td>
</tr>
}}{{#if:{{{twin7|}}}|
<tr class="mergedrow">
<th>&nbsp;•&nbsp;{{{twin7}}}</th>
<td>{{{twin7_country}}}</td>
</tr>
}}{{#if:{{{twin8|}}}|
<tr class="mergedrow">
<th>&nbsp;•&nbsp;{{{twin8}}}</th>
<td>{{{twin8_country}}}</td>
</tr>
}}{{#if:{{{twin9|}}}|
<tr class="mergedrow">
<th>&nbsp;•&nbsp;{{{twin9}}}</th>
<td>{{{twin9_country}}}</td>
</tr>
</tr>
}}}}<!-- ***Blank Fields (two sections)*** -->
}}}}<!-- ***Blank Fields (two sections)*** -->

Revision as of 23:43, 21 August 2022

}}
Infobox political division
Capital
Official languages
[create] Template documentation