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> • {{{national_representation_type1}}}</th> | <th> • {{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> • {{{national_representation_type2}}}</th> | <th> • {{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}}}| ||<tr class="mergedrow"> | {{#ifeq:{{{total_type}}}| ||<tr class="mergedrow"> | ||
<th> • {{#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> • {{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> • Land</th> | <th> • {{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> • Water</th> | <th> • {{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|}}}| ({{{elevation_point}}})}}</div></td> | <td>{{#if:{{{elevation_link|}}}|'''[[{{{elevation_link|}}}|Elevation]]'''|'''Elevation'''}}<div class="ib-pol-div-elevation">{{{elevation_footnotes|}}}{{#if:{{{elevation_point|}}}| {{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 elevation<div class="ib-pol-div-elevation">{{{elevation_max_footnotes|}}}{{#if:{{{elevation_max_point|}}}| ({{{elevation_max_point}}})}}</div></th> | <th>Highest elevation<div class="ib-pol-div-elevation">{{{elevation_max_footnotes|}}}{{#if:{{{elevation_max_point|}}}| {{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> | <th>Lowest elevation<div class="ib-pol-div-elevation">{{{elevation_min_footnotes|}}}{{#if:{{{elevation_min_point|}}}| {{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> • Total</th> | <th> • {{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> • Per capita</th> | <th> • {{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> • Total</th> | <th> • {{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> • Per capita</th> | <th> • {{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|}}} | ([[List of countries by GDP (PPP) per capita|{{{GDP_PPP_per_capita_rank}}}]])}} | -->{{#if:{{{GDP_PPP_per_capita_rank|}}} | ([[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> • Total</th> | <th> • {{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> • Per capita</th> | <th> • {{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">{{{ | <td class="adr"><span class="postal-code">{{#if:{{{postal_code_type|}}}|{{#if:{{{postal2_code_type|}}}|{{#if:{{{postal2_code|}}}|{{{postal2_code}}}}} }} }}</span></td> | ||
{{#if:{{{ | |||
</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>[[ | <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> | </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
| 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. |