Template:Infobox settlement: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Caroig
m removed the use of unit template, sometimes the elevation is a range
meta>MJCdetroit
Revamped template using 52_Pickup's Design to fix the extra spacing issue. See the Template_talk:Infobox_City#It is really screwed up. Revert if needed
Line 1: Line 1:
<includeonly>{| class="infobox geography" style="width: 23em;"
<includeonly><table class="infobox geography" style="width: 23em;">
|-
<tr>
| colspan="2" align=center style="width:100%; font-size: 1.25em;" | '''{{{official_name}}}{{#if:{{{native_name|}}}|&#x0020;<span style="white-space: nowrap;">({{{native_name}}})</span>}}'''<br>
<td colspan="2" align="center" style="width:100%; font-size: 1.25em; white-space: nowrap;">'''{{{official_name}}}{{#if:{{{native_name|}}}|<br>({{{native_name}}})}}{{#if:{{{other_name|}}}|<br>{{{other_name}}}}}'''</td>
{{#if:{{{other_name|}}}|&#x0020;<span style="white-space: nowrap;">{{{other_name}}}</span>}}'''
</tr>
|-<!-- ***** Skyline Image ***** -->
<!-- ***** Skyline Image ***** -->
{{#if:{{{image_skyline|}}}|
{{#if:{{{image_skyline|}}}|
{{!}} colspan="2" style="text-align: center; padding: 0.7em 0.8em 0.7em 0.8em;" {{!}} [[Image:{{{image_skyline|}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|250px}}|none|{{{image_caption|Skyline of {{{official_name|}}}}}}]]{{#if:{{{image_caption|}}}|<small>{{{image_caption|}}}</small>}}
<tr>
{{!}}-class="mergedtoprow"
<td colspan="2" style="text-align: center; padding: 0.7em 0.8em 0.7em 0.8em;;">
}}<!-- ***** Flag and Seal and Coat of arms ***** -->
[[Image:{{{image_skyline|}}}|{{#if:{{{imagesize|}}}|{{{imagesize}}}|250px}}|none|{{{image_caption|Skyline of {{{official_name|}}}}}}]]{{#if:{{{image_caption|}}}|<small>{{{image_caption|}}}</small>}}
{{#if:{{{image_flag|}}}{{{image_seal|}}} {{{image_shield|}}}{{{city_logo|}}}|
</td>
{{!}} class="maptable" colspan="2" align="center" style="padding: 0.4em 0.8em 0.4em 0.8em;" {{!}}
</tr>
{{{!}} style="width: 100%; background: none; text-align: center;"
}}<!-- ***** Flag, Seal, Shield and Coat of arms ***** -->
{{!}}-
{{#if:{{{image_flag|}}}{{{image_seal|}}}{{{image_shield|}}}{{{city_logo|}}}|  
{{#if:{{{image_flag|}}}| {{!}} style="vertical-align: middle;" {{!}}  <center>{{border{{!}}[[Image:{{{image_flag|}}}|{{#if:{{{flag_size|}}}|{{{flag_size}}}|125px}}|Official flag of {{{official_name|}}}]]}}<br><small>'''{{#ifexist: Flag of {{{official_name}}}|[[Flag of {{{official_name}}}|Flag]]|Flag}}'''</small> </center> }}
<tr class="mergedtoprow">
{{#if:{{{image_seal|}}}| {{!}} style="vertical-align: middle;" {{!}} <center>[[Image:{{{image_seal|}}}|{{#if:{{{seal_size|}}}|{{{seal_size}}}|100px}}|Official seal of {{{official_name|}}}]] <br/><small>'''{{#ifexist: Seal of {{{official_name}}}|[[Seal of {{{official_name}}}|Seal]]|Seal}}'''</small></center>}}
<td class="maptable" colspan="2" align="center" style="padding: 0.4em 0.8em 0.4em 0.8em;">
{{#ifeq:{{#expr:{{#expr: {{#if:{{{image_flag|}}}|1|0}}+{{#if:{{{image_seal|}}}|1|0}}+{{#if:{{{image_shield|}}}|1|0}}+{{#if:{{{city_logo|}}}|1|0}}}}>2}}|1|
<table style="width: 100%; background: none;" align="center">
{{!}}-}}
{{#ifeq:{{#expr:{{#if:{{{image_flag|}}}|1|0}}+{{#if:{{{image_seal|}}}|1|0}}+{{#if:{{{image_shield|}}}|1|0}}+{{#if:{{{city_logo|}}}|1|0}}}}|2|
{{#if:{{{image_shield|}}}| {{!}} style="vertical-align: middle;" {{#if:{{{city_logo|}}} | | colspan="2" }} {{!}} <center>[[Image:{{{image_shield|}}}|{{#if:{{{shield_size|}}}|{{{shield_size}}}|100px}}|Coat of arms of {{{official_name|}}}]] <br/><small>'''{{#ifexist: Coat of arms of {{{official_name}}}| [[Coat of arms of {{{official_name}}}|Coat of arms]]| Coat of arms}}'''</small></center>}}
            <tr> <td style="vertical-align: middle;" align="center"> {{#if:{{{image_flag|}}}|[[Image:{{{image_flag|}}}|{{#if:{{{flag_size|}}}|{{{flag_size}}}|100px}}|Official flag of {{{official_name|}}}]]<br><small>'''[[Flag of {{{official_name}}}|Flag]]'''</small> |{{#if:{{{image_seal|}}}|[[Image:{{{image_seal|}}}|{{#if:{{{seal_size|}}}|{{{seal_size}}}|100px}}|Official seal of {{{official_name|}}}]]<br><small>'''[[Seal of {{{official_name}}}|Seal]]'''</small> |{{#if:{{{image_shield|}}}|[[Image:{{{image_shield|}}}|{{#if:{{{shield_size|}}}|{{{shield_size}}}|100px}}|Coat of arms of {{{official_name|}}}]]<br><small>'''[[Coat of arms of {{{official_name}}}|Coat of arms]]'''</small>|{{#if:{{{city_logo|}}}|[[Image:{{{city_logo|}}}|{{#if:{{{citylogo_size|}}}|{{{citylogo_size}}}|100px}}|Official logo of {{{official_name|}}}]]<br><small>'''[[Official logo of {{{official_name}}}|Logo]]'''</small>}}}}}}}}</td>
{{#if:{{{city_logo|}}}| {{!}} style="vertical-align: middle;" {{#if:{{{image_shield|}}} | | colspan="2" }} {{!}} <center>[[Image:{{{city_logo|}}}|{{#if:{{{citylogo_size|}}}|{{{citylogo_size}}}|100px}}|Official logo of {{{official_name|}}}]] <br/><small>'''[[Official logo of {{{official_name}}}|Logo]]'''</small></center>}}
            <td style="vertical-align: middle;" align="center"> {{#if:{{{city_logo|}}}|[[Image:{{{city_logo|}}}|{{#if:{{{citylogo_size|}}}|{{{citylogo_size}}}|100px}}|Official logo of {{{official_name|}}}]]<br><small>'''[[Official logo of {{{official_name}}}|Logo]]'''</small> |{{#if:{{{image_shield|}}}|[[Image:{{{image_shield|}}}|{{#if:{{{shield_size|}}}|{{{shield_size}}}|100px}}|Coat of arms of {{{official_name|}}}]]<br><small>'''[[Coat of arms of {{{official_name}}}|Coat of arms]]'''</small> |{{#if:{{{image_seal|}}}|[[Image:{{{image_seal|}}}|{{#if:{{{seal_size|}}}|{{{seal_size}}}|100px}}|Official seal of {{{official_name|}}}]]<br><small>'''[[Seal of {{{official_name}}}|Seal]]'''</small> |{{#if:{{{image_flag|}}}|[[Image:{{{image_flag|}}}|{{#if:{{{flag_size|}}}|{{{flag_size}}}|100px}}|Official flag of {{{official_name|}}}]]<br><small>'''[[Flag of {{{official_name}}}|Flag]]'''</small>}}}}}}}}</td>
{{!}}}
|{{#if:{{{image_flag|}}}{{{image_seal|}}}|
{{!}}- class="mergedrow"
<tr>{{#if:{{{image_flag|}}}|
<td style="vertical-align: middle;" align="center" {{#if:{{{image_seal|}}}| |colspan="2"}}> [[Image:{{{image_flag|}}}|{{#if:{{{flag_size|}}}|{{{flag_size}}}|100px}}|Official flag of {{{official_name|}}}]]<br><small>'''[[Flag of {{{official_name}}}|Flag]]'''</small></td>}}{{#if:{{{image_seal|}}}|
<td style="vertical-align: middle;" align="center" {{#if:{{{image_flag|}}}| |colspan="2"}}> [[Image:{{{image_seal|}}}|{{#if:{{{seal_size|}}}|{{{seal_size}}}|100px}}|Official seal of {{{official_name|}}}]]<br><small>'''[[Seal of {{{official_name}}}|Seal]]'''</small></td>}}
</tr>
}}{{#if:{{{image_shield|}}}{{{city_logo|}}}|
<tr>{{#if:{{{image_shield|}}}|
<td style="vertical-align: middle;" align="center" {{#if:{{{city_logo|}}}| |colspan="2"}}> [[Image:{{{image_shield|}}}|{{#if:{{{shield_size|}}}|{{{shield_size}}}|100px}}|Coat of arms of {{{official_name|}}}]]<br><small>'''[[Coat of arms of {{{official_name}}}|Coat of arms]]'''</small></td>}}{{#if:{{{city_logo|}}}|
<td style="vertical-align: middle;" align="center" {{#if:{{{image_shield|}}}| |colspan="2"}}> [[Image:{{{city_logo|}}}|{{#if:{{{citylogo_size|}}}|{{{citylogo_size}}}|100px}}|Official logo of {{{official_name|}}}]]<br><small>'''[[Official logo of {{{official_name}}}|Logo]]'''</small></td>}}
</tr>
}}}}
</table>
</td>
</tr>
}}<!-- ***** Nickname ***** -->
}}<!-- ***** Nickname ***** -->
{{#if:{{{nickname|}}}|
{{#if:{{{nickname|}}}|
{{!}} colspan="2" align="center" {{!}} [[Nickname]]: "''{{{nickname|}}}''"  
<tr class="mergedrow">
{{!}}-class="mergedrow"
<td colspan="2" align="center">[[Nickname]]: "''{{{nickname|}}}''"</td>
</tr>
}}<!-- ***** Motto ***** -->
}}<!-- ***** Motto ***** -->
{{#if:{{{motto|}}}|
{{#if:{{{motto|}}}|
{{!}} colspan="2" align="center" {{!}} [[Motto]]: {{{motto|}}}
<tr class="mergedrow">
{{!}}-class="mergedrow"
<td colspan="2" align="center">[[Motto]]: {{{motto|}}}</td>
</tr>
}}<!-- ***** Map ***** -->
}}<!-- ***** Map ***** -->
{{#if:{{{image_map|}}}|
{{#if:{{{image_map|}}}|
{{!}} colspan="2" style="text-align: center; padding: 0.7em 0.8em 0.7em 0.8em;" {{!}}
<tr class="mergedrow">
[[Image:{{{image_map|}}}|{{#if:{{{mapsize|}}}|{{{mapsize}}}|250px}}|none|{{{map_caption|Location of {{{official_name|}}}}}}]]{{#if:{{{map_caption|}}}|<small>{{{map_caption|}}}</small>}}
<td colspan="2" style="text-align: center;">[[Image:{{{image_map|}}}|{{#if:{{{mapsize|}}}|{{{mapsize}}}|250px}}|none|{{{map_caption|Location of {{{official_name|}}}}}}]]{{#if:{{{map_caption|}}}|<small>{{{map_caption|}}}</small>}}
{{!}}-class="mergedbottomrow"
</td>
</tr>
}}<!-- ***** Coordinates ***** -->
}}<!-- ***** Coordinates ***** -->
{{#if:{{{latNS|}}}|
{{#if:{{{latNS|}}}|
! colspan="2" style="text-align: center; font-size: smaller; {{#if:{{{image_map|}}}|padding-bottom: 0.7em;|border-top: solid 1px #ccd2d9;}}" {{!}} Coordinates: {{#if:{{{lats|}}}
<tr class="mergedbottomrow">
<th colspan="2" style="text-align: center; font-size: smaller; padding-bottom: 0.7em;">Coordinates: {{#if:{{{lats|}}}
| {{coor dms|{{{latd}}}|{{{latm}}}|{{{lats|0}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longs|0}}}|{{{longEW}}}|type:city}}
| {{coor dms|{{{latd}}}|{{{latm}}}|{{{lats|0}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longs|0}}}|{{{longEW}}}|type:city}}
| {{coor dm|{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longEW}}}|type:city}}
| {{coor dm|{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longEW}}}|type:city}}}}</th>
}}
</tr>
{{!}}-
}}<!-- ***** Subdivisions ***** -->
}}<!--***** Government *****-->
{{#if:{{{subdivision_type|}}}|
|- class="mergedtoprow"
<tr class="mergedrow">
! {{{subdivision_type}}}
<th>{{{subdivision_type}}}
| {{{subdivision_name}}}
<th>{{{subdivision_name}}}
|- class="mergedrow"
</tr>
{{#if:{{{subdivision_type1|}}}|
}}{{#if:{{{subdivision_type1|}}}|
! {{!}} {{{subdivision_type1}}}
<tr class="mergedrow">
{{!}} {{!}} {{{subdivision_name1}}}
<th>{{{subdivision_type1}}}
{{!}}-class="mergedrow"
<th>{{{subdivision_name1}}}
}}
</tr>
{{#if:{{{subdivision_type2|}}}|
}}{{#if:{{{subdivision_type2|}}}|
! {{!}} {{{subdivision_type2}}}
<tr class="mergedrow">
{{!}} {{!}} {{{subdivision_name2}}}
<th>{{{subdivision_type2}}}
{{!}}-class="mergedrow"
<th>{{{subdivision_name2}}}
}}
</tr>
{{#if:{{{subdivision_type3|}}}|
}}{{#if:{{{subdivision_type3|}}}|
! {{!}} {{{subdivision_type3}}}
<tr class="mergedrow">
{{!}} {{!}} {{{subdivision_name3}}}
<th>{{{subdivision_type3}}}
{{!}}-class="mergedrow"
<th>{{{subdivision_name3}}}
}}
</tr>
{{#if:{{{subdivision_type4|}}}|
}}{{#if:{{{subdivision_type4|}}}|
! {{!}} {{{subdivision_type4}}}
<tr class="mergedrow">
{{!}} {{!}} {{{subdivision_name4}}}
<th>{{{subdivision_type4}}}
{{!}}-class="mergedrow"
<th>{{{subdivision_name4}}}
}} <!--***** Established *****-->
</tr>
}}<!--***** Established *****-->
{{#if:{{{established_title|}}}|
{{#if:{{{established_title|}}}|
! {{{established_title}}}
<tr class="mergedrow">
{{!}} {{{established_date}}}
<th>{{{established_title}}}</th>
{{!}}- class="mergedrow"
<td>{{{established_date}}}</td>
}}
</tr>
{{#if:{{{established_title2|}}}|
}}{{#if:{{{established_title2|}}}|
! {{{established_title2}}}
<tr class="mergedrow">
{{!}} {{{established_date2}}}
<th>{{{established_title2}}}</th>
{{!}}- class="mergedrow"
<td>{{{established_date2}}}</td>
}}
</tr>
{{#if:{{{established_title3|}}}|
}}{{#if:{{{established_title3|}}}|
! {{{established_title3}}}
<tr class="mergedrow">
{{!}} {{{established_date3}}}
<th>{{{established_title3}}}</th>
{{!}}- class="mergedrow"
<td>{{{established_date3}}}</td>
</tr>
}}<!-- ***** Government type and Leader ***** -->
}}<!-- ***** Government type and Leader ***** -->
{{#if:{{{government_type|}}}|
{{#if:{{{government_type|}}}|
! Government type
<tr class="mergedrow">
{{!}} {{{government_type}}}
<th>Government type</th>
{{!}}- class="mergedrow" }}
<td>{{{government_type}}}</td>
{{#if:{{{leader_title|}}}|
</tr>
! {{{leader_title}}}
}}{{#if:{{{leader_title|}}}|
{{!}} {{{leader_name}}}
<tr class="mergedrow">
<th>{{{leader_title}}}
<td>{{{leader_name}}}</td>
</tr>
{{#if:{{{leader_title1|}}}|
{{#if:{{{leader_title1|}}}|
{{!}}- class="mergedrow"
<tr class="mergedrow">
! {{{leader_title1}}}
<th>{{{leader_title1}}}
{{!}} {{{leader_name1}}}
<td>{{{leader_name1}}}</td>
</tr>
{{#if:{{{leader_title2|}}}|
{{#if:{{{leader_title2|}}}|
{{!}}- class="mergedrow"
<tr class="mergedrow">
! {{{leader_title2}}}
<th>{{{leader_title2}}}
{{!}} {{{leader_name2}}}
<td>{{{leader_name2}}}</td>
</tr>
{{#if:{{{leader_title3|}}}|
{{#if:{{{leader_title3|}}}|
{{!}}- class="mergedbottomrow"
<tr class="mergedrow">
! {{{leader_title3}}}
<th>{{{leader_title3}}}
{{!}} {{{leader_name3}}}
<td>{{{leader_name3}}}</td>
</tr>
}} }} }} }}<!-- ***** Geographical characteristics ***** -->
}} }} }} }}<!-- ***** Geographical characteristics ***** -->
|- <!-- ***** Area ***** --> class="mergedtoprow"
{{#if:{{{area_total|}}}{{{area_land|}}}{{{area_water|}}}{{{area_urban|}}}{{{area_metro|}}}|
! [[Area]] || &nbsp;
<tr <!-- ***** Area ***** --> class="mergedtoprow">
|- class="mergedrow"
<th>[[Area]]</th><td>&nbsp;</td>
! &nbsp;- {{#if:{{{settlement_type|}}}|{{{settlement_type}}}|City}}  
</tr>
| {{#if:{{{area_magnitude|}}}|{{{area_total}}} [[{{{area_magnitude}}}_m²|km²]]|{{{area_total}}} [[Square kilometre|km²]]}} {{#if:{{{TotalArea_sq_mi|}}} |&nbsp;({{{TotalArea_sq_mi}}}&nbsp;[[square mile|sq&nbsp;mi]]) }}
<tr class="mergedrow">
|- class="mergedrow"
<th> &nbsp;-&nbsp;{{#if:{{{settlement_type|}}}|{{{settlement_type}}}|City}}
</th>
<td>{{#if:{{{area_magnitude|}}}|{{{area_total}}} [[{{{area_magnitude}}}_m²|km²]]|{{{area_total}}} [[Square kilometre|km²]]}} {{#if:{{{TotalArea_sq_mi|}}} |&nbsp;({{{TotalArea_sq_mi}}}&nbsp;[[square mile|sq&nbsp;mi]]) }}</td>
</tr>
{{#if:{{{area_land|}}}|
{{#if:{{{area_land|}}}|
! &nbsp;- Land  
<tr class="mergedrow">
{{!}} {{{area_land}}} km²  {{#if:{{{LandArea_sq_mi|}}} | &nbsp;({{{LandArea_sq_mi}}}&nbsp;sq&nbsp;mi)}} }}
<th>&nbsp;-&nbsp;Land</th>
|- class="mergedrow"
<td>{{{area_land}}} km²  {{#if:{{{LandArea_sq_mi|}}} | &nbsp;({{{LandArea_sq_mi}}}&nbsp;sq&nbsp;mi)}}</td>
{{#if:{{{area_water|}}}|
</tr>
! &nbsp;- Water  
}}{{#if:{{{area_water|}}}|
{{!}} {{{area_water}}} km²{{#if:{{{WaterArea_sq_mi|}}} | &nbsp;({{{WaterArea_sq_mi}}}&nbsp;sq&nbsp;mi)}} {{#if:{{{area_water_percent|}}}| &nbsp;{{{area_water_percent}}}%}}}}
<tr class="mergedrow">
|- class="mergedrow"
<th>&nbsp;- Water</th>
{{#if:{{{area_urban|}}}|
<td>{{{area_water}}} km²{{#if:{{{WaterArea_sq_mi|}}} | &nbsp;({{{WaterArea_sq_mi}}}&nbsp;sq&nbsp;mi)}} {{#if:{{{area_water_percent|}}}| &nbsp;{{{area_water_percent}}}%}}</td>
! &nbsp;- Urban  
</tr>
{{!}} {{{area_urban}}} km²{{#if:{{{UrbanArea_sq_mi|}}} | &nbsp;({{{UrbanArea_sq_mi}}}&nbsp;sq&nbsp;mi)}} }}
}}{{#if:{{{area_urban|}}}|
|- class="mergedrow"
<tr class="mergedrow">
{{#if:{{{area_metro|}}}|  
<th>&nbsp;- Urban</th>
! &nbsp;- Metro  
<td>{{{area_urban}}} km²{{#if:{{{UrbanArea_sq_mi|}}} | &nbsp;({{{UrbanArea_sq_mi}}}&nbsp;sq&nbsp;mi)}}</td>
{{!}}  {{{area_metro}}} km²{{#if:{{{MetroArea_sq_mi|}}} | &nbsp;({{{MetroArea_sq_mi}}}&nbsp;sq&nbsp;mi)}} }}
</tr>
|- <!-- ***** Elevation ***** --> class="mergedbottomrow"
}}{{#if:{{{area_metro|}}}|
{{#if:{{{elevation| {{{elevation_ft|}}} }}}|
<tr class="mergedrow">
! [[Elevation]]
<th>&nbsp;- Metro</th>
{{!}} {{{elevation}}} [[metre|m]] {{#if:{{{elevation_ft|}}}|&nbsp;({{{elevation_ft}}} [[foot (unit of length)|ft]])}}
<td>{{{area_metro}}} km²{{#if:{{{MetroArea_sq_mi|}}} | &nbsp;({{{MetroArea_sq_mi}}}&nbsp;sq&nbsp;mi)}}</td>
{{!}}-
</tr>
}}|- <!-- ***** Population ***** --> class="mergedrow"  
}} }}<!-- ***** Elevation ***** -->
! colspan="2" | Population <span style="font-weight: normal;">({{{population_as_of}}})</span>  
{{#if:{{{elevation|}}}|
|- class="mergedrow"
<tr class="mergedbottomrow">
! &nbsp;- {{#if:{{{settlement_type|}}}|{{{settlement_type}}}|City}}
<th>[[Elevation]]</th>
|{{{population_total}}}  
<td>{{{elevation}}} [[metre|m]] {{#if:{{{elevation_ft|}}}|&nbsp;({{{elevation_ft}}} [[foot (unit of length)|ft]])}}</td>
|- class="mergedrow"
</tr>
{{#if:{{{population_density|}}}|
}}<!-- ***** Population ***** -->
! &nbsp;- [[Population density|Density]]  
{{#if:{{{population_total|}}}{{{population_urban|}}}{{{population_metro|}}}|
{{!}} {{{population_density}}}/km²{{#if:{{{population_density_mi2|}}}|&nbsp;({{{population_density_mi2}}}/sq&nbsp;mi)}} }}
<tr class="mergedtoprow">
|- class="mergedrow"
<td colspan="2">'''Population''' {{#if:{{{population_as_of|}}}|({{{population_as_of}}})}}</th>
{{#if:{{{population_urban|}}}|  
</tr>
&nbsp;- [[Urban area|Urban]]  
{{#if:{{{population_total|}}}|
{{!}} {{{population_urban}}} }}
<tr class="mergedrow">
|- class="mergedrow"
<th>&nbsp;- {{#if:{{{settlement_type|}}}|{{{settlement_type}}}|City}}</th>
{{#if:{{{population_density_urban_km2|}}}|
<td>{{{population_total}}}</td>
! &nbsp;- Urban Density
</tr>
{{!}} &nbsp;&nbsp;{{{population_density_urban_km2}}}/km²&nbsp;({{{population_density_urban_mi2}}}/sq&nbsp;mi) }}
}}{{#if:{{{population_density|}}}|
|- class="mergedrow"
<tr class="mergedrow">
{{#if:{{{population_metro|}}}|  
<th>&nbsp;- [[Population density|Density]]</th>
! &nbsp;- [[Metropolitan area|Metro]]
<td>{{{population_density}}}/km²{{#if:{{{population_density_mi2|}}}|&nbsp;({{{population_density_mi2}}}/sq&nbsp;mi)}}</td>
{{!}} {{{population_metro}}} }}
</tr>
|- class="mergedrow"
}}{{#if:{{{population_urban|}}}|  
{{#if:{{{population_density_metro_km2|}}}|
<tr class="mergedrow">
! &nbsp;- Metro Density  
<th>&nbsp;- [[Urban area|Urban]]</th>
{{!}} &nbsp;&nbsp;{{{population_density_metro_km2}}}/km²&nbsp;({{{population_density_metro_mi2}}}/sq&nbsp;mi) }}
<td>{{{population_urban}}}</td>
|- class="mergedbottomrow"
</tr>
{{#if:{{{population_note|}}}|
}}{{#if:{{{population_density_urban_km2|}}}|
! &nbsp;
<tr class="mergedrow">
{{!}} <small>{{{population_note}}}</small> }}
<th>&nbsp;- Urban Density
|- <!-- ***** Time Zone ***** --> class="mergedtoprow"
<td>&nbsp;&nbsp;{{{population_density_urban_km2}}}/km²{{#if:{{{population_density_urban_mi2|}}}|&nbsp;({{{population_density_urban_mi2}}}/sq&nbsp;mi) }}</td>
</tr>
}}{{#if:{{{population_metro|}}}|  
<tr class="mergedrow">
<th>&nbsp;- [[Metropolitan area|Metro]]</th>
<td>{{{population_metro}}}</td>
</tr>
}}{{#if:{{{population_density_metro_km2|}}}|
<tr class="mergedrow">
<th>&nbsp;- Metro Density</th>
<td>&nbsp;&nbsp;{{{population_density_metro_km2}}}/km²{{#if:{{{population_density_metro_mi2|}}}|&nbsp;({{{population_density_metro_mi2}}}/sq&nbsp;mi) }}</td>
</tr>
}}{{#if:{{{population_note|}}}|
<tr class="mergedbottomrow">
<td>&nbsp;</td>
<td><small>{{{population_note}}}</small></td>
</tr>
}} }}<!-- ***** Time Zone ***** -->
{{#if:{{{timezone|}}}|
{{#if:{{{timezone|}}}|
! [[Time zone]]
<tr class="mergedtoprow">
{{!}} {{{timezone}}} ([[UTC{{{utc_offset}}}]])  
<th>[[Time zone]]</th>
{{!}}- class="mergedbottomrow"
<td>{{{timezone}}} ([[UTC{{{utc_offset}}}]])
{{#if:{{{timezone_DST|}}}| ! <span style="white-space: nowrap;">&nbsp;-&nbsp;Summer&nbsp;([[Daylight saving time|DST]])</span>
</tr>
{{!}} {{{timezone_DST|}}} ([[UTC{{{utc_offset_DST|}}}]]) }}
{{#if:{{{timezone_DST|}}}|
{{!}}-
<tr class="mergedbottomrow">
}} <!-- ***** Postal Code(s) ***** -->
<th style="white-space: nowrap;">&nbsp;-&nbsp;Summer&nbsp;([[Daylight saving time|DST]])</th>
<td>{{{timezone_DST|}}} ([[UTC{{{utc_offset_DST|}}}]])</td>
</tr>
}} }}<!-- ***** Postal Code(s) ***** -->
{{#if:{{{postal_code_type|}}}|
{{#if:{{{postal_code_type|}}}|
{{!}} '''[[{{{postal_code_type}}}]]''' {{!}}{{!}}  {{{postal_code}}}
<tr class="mergedrow">
{{!}}-
<th>[[{{{postal_code_type}}}]]</th>
}}
<td>{{{postal_code}}}</td>
<!-- ***** Area Code(s) ***** -->
</tr>
}}<!-- ***** Area Code(s) ***** -->
{{#if:{{{area_code|}}}|
{{#if:{{{area_code|}}}|
{{!}} '''Area code(s)''' {{!}}{{!}}  {{{area_code}}}
<tr class="mergedrow">
{{!}}-
<th>Area code(s)</th>
<td>{{{area_code}}}</td>
</tr>
}}<!-- ***** Footnotes ***** -->
}}<!-- ***** Footnotes ***** -->
{{#if:{{{footnotes|}}}|
{{#if:{{{footnotes|}}}|
{{!}} colspan="2" align="center" {{!}} <small>{{{footnotes}}}</small>
<tr class="mergedrow">
{{!}}-
<td colspan="2" align="center"><small>{{{footnotes}}}</small></td>
}} <!-- ***** Website ***** -->
</tr>
}}<!-- ***** Website ***** -->
{{#if:{{{website|}}}|
{{#if:{{{website|}}}|
{{!}}-
<tr class="mergedrow">
{{!}} colspan="2" align="center" {{!}} '''Website:'''  {{{website}}}
<td colspan="2" align="center">'''Website:'''  {{{website}}}
{{!}}-
</tr>
}}
}}
|}{{#if:{{{_noautocat|}}}||{{#if:{{{established_date|}}}|{{#ifexist:Category:{{{established_date}}} establishments|[[Category:{{{established_date}}} establishments|{{{official_name}}}]]}}}}}}</includeonly><noinclude>
</table>
</includeonly><noinclude>
{{esoteric}}
{{esoteric}}
<div style="display:inline;
<div style="display:inline;
Line 290: Line 341:
[[zh:Template:Infobox City]]
[[zh:Template:Infobox City]]
</noinclude>
</noinclude>
|

Revision as of 03:04, 8 January 2007

Template:Esoteric

Empty Syntax For question or examples see the talk page.

<!-- Infobox begins -->{{Infobox City
|official_name          = 
|other_name             =
|native_name            =  <!-- for cities whose native name is not in English -->
|nickname               = 
|motto                  = 
|image_skyline          = 
|imagesize              = 
|image_caption          = 
|image_flag             = 
|flag_size              =
|image_seal             = 
|seal_size              =
|image_shield           = 
|shield_size            =
|city_logo              =
|citylogo_size          =
|image_map              = 
|mapsize                = 
|map_caption            = 
|subdivision_type       = 
|subdivision_name       = 
|subdivision_type1      = 
|subdivision_name1      = 
|subdivision_type2      = 
|subdivision_name2      = 
|subdivision_type3      = 
|subdivision_name3      = 
|subdivision_type4      = 
|subdivision_name4      = 
|government_type        = 
|leader_title           = 
|leader_name            = 
|leader_title1          =  <!-- for places with, say, both a mayor and a city manager -->
|leader_name1           = 
|leader_title2          =
|leader_name2           =
|leader_title3          =
|leader_name3           = 
|established_title      =  <!-- Settled -->
|established_date       = 
|established_title2     =  <!-- Incorporated (town) -->
|established_date2      = 
|established_title3     =  <!-- Incorporated (city) -->
|established_date3      = 
|area_magnitude         = 
|area_total             = 
|TotalArea_sq_mi        = 
|area_land              = 
|LandArea_sq_mi         = 
|area_water             = 
|WaterArea_sq_mi        = 
|area_water_percent     = 
|area_urban             = 
|UrbanArea_sq_mi        = 
|area_metro             = 
|MetroArea_sq_mi        = 
|population_as_of       = 
|population_note        = 
|settlement_type        = <!--For Town or Village (Leave blank for the default City)-->
|population_total       = 
|population_density     = 
|population_density_mi2 = 
|population_metro       =
|population_density_metro_km2 =
|population_density_metro_mi2 =
|population_urban       = 
|population_density_urban_km2 =
|population_density_urban_mi2 =
|timezone               = 
|utc_offset             = 
|timezone_DST           = 
|utc_offset_DST         = 
|latd= |latm= |lats= |latNS=
|longd= |longm= |longs= |longEW=
|elevation              = 
|elevation_ft           = 
|postal_code_type       =  <!-- enter ZIP code, Postcode, Post code, Postal code... -->
|postal_code            =
|area_code              =
|website                = 
|footnotes              = 
}} <!-- Infobox ends -->

hu:Sablon:Infobox város ja:Template:Infobox City pt:Predefinição:Infobox Cidade ro:Format:Infobox City simple:Template:Infobox City sv:Mall:Ortsfakta vi:Tiêu bản:Tóm tắt về thành phố zh:Template:Infobox City

|