Difference between revisions of "Template:Infobox City"

MyWikiBiz, Author Your Legacy — Friday May 17, 2024
Jump to navigationJump to search
 
(10 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
{{!}} 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>}}
 
{{!}} 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>}}
 
{{!}}-class="mergedtoprow"
 
{{!}}-class="mergedtoprow"
}}<!-- ***** Flag and Seal and Coat of arms ***** -->
 
{{#if:{{{image_flag|}}}{{{image_seal|}}}{{{image_shield|}}}|
 
{{!}} class="maptable" colspan="2" align="center" style="padding: 0.4em 0.8em 0.4em 0.8em;" {{!}}
 
{{{!}} style="width: 100%; background: none; text-align: center;"
 
{{!}}-
 
{{#if:{{{image_flag|}}}| {{!}} style="vertical-align: middle;" {{!}}  <center>{{border{{!}}[[Image:{{{image_flag|}}}|125px|Official flag of {{{official_name|}}}]]}}</center> }}
 
{{#if:{{{image_seal|}}}| {{!}} style="vertical-align: middle;" {{!}} [[Image:{{{image_seal|}}}|100px|Official seal of {{{official_name|}}}]] }}
 
{{#if:{{{image_shield|}}}| {{!}} style="vertical-align: middle;" {{!}} [[Image:{{{image_shield|}}}|100px|Coat of arms of {{{official_name|}}}]] }}
 
{{!}}-
 
{{#if:{{{image_flag|}}}| {{!}} <small>'''[[Flag of {{{official_name}}}|Flag]]'''</small> }}
 
{{#if:{{{image_seal|}}}| {{!}} <small>'''[[Seal of {{{official_name}}}|Seal]]'''</small>}}
 
{{#if:{{{image_shield|}}}| {{!}} <small>'''[[Coat of arms of {{{official_name}}}|Coat of arms]]'''</small>}}
 
 
{{!}}}
 
{{!}}}
 
{{!}}- class="mergedrow"
 
{{!}}- class="mergedrow"
 
}}<!-- ***** Nickname ***** -->
 
}}<!-- ***** Nickname ***** -->
 
{{#if:{{{nickname|}}}|
 
{{#if:{{{nickname|}}}|
{{!}} colspan="2" align="center" {{!}} [[Nickname]]: "''{{{nickname|}}}''"  
+
{{!}} colspan="2" align="center" {{!}} Nickname: "''{{{nickname|}}}''"  
 
{{!}}-class="mergedrow"
 
{{!}}-class="mergedrow"
 
}}<!-- ***** Motto ***** -->
 
}}<!-- ***** Motto ***** -->
 
{{#if:{{{motto|}}}|
 
{{#if:{{{motto|}}}|
{{!}} colspan="2" align="center" {{!}} [[Motto]]: {{{motto|}}}
+
{{!}} colspan="2" align="center" {{!}} Motto: {{{motto|}}}
 
{{!}}-class="mergedrow"
 
{{!}}-class="mergedrow"
 
}}<!-- ***** Map ***** -->
 
}}<!-- ***** Map ***** -->
Line 102: Line 90:
 
}} }} }} }}<!-- ***** Geographical characteristics ***** -->
 
}} }} }} }}<!-- ***** Geographical characteristics ***** -->
 
|- <!-- ***** Area ***** --> class="mergedtoprow"
 
|- <!-- ***** Area ***** --> class="mergedtoprow"
! [[Area]] || &nbsp;
+
! Area || &nbsp;
 
|- class="mergedrow"
 
|- class="mergedrow"
 
! &nbsp;- City  
 
! &nbsp;- City  
| {{#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]]) }}
+
| {{#if:{{{area_magnitude|}}}|{{{area_total}}} {{{area_magnitude}}}|{{{area_total}}} km²}} {{#if:{{{TotalArea_sq_mi|}}} |&nbsp;({{{TotalArea_sq_mi}}}&nbsp;sq&nbsp;mi) }}
 
|- class="mergedrow"
 
|- class="mergedrow"
 
{{#if:{{{area_land|}}}|
 
{{#if:{{{area_land|}}}|
Line 124: Line 112:
 
|- <!-- ***** Elevation ***** --> class="mergedbottomrow"
 
|- <!-- ***** Elevation ***** --> class="mergedbottomrow"
 
{{#if:{{{elevation|}}}|
 
{{#if:{{{elevation|}}}|
! [[Elevation]]
+
! Elevation
{{!}} {{{elevation}}} [[metre|m]] {{#if:{{{elevation_ft|}}}|&nbsp;({{{elevation_ft}}} [[foot (unit of length)|ft]])}}
+
{{!}} {{{elevation}}} m {{#if:{{{elevation_ft|}}}|&nbsp;({{{elevation_ft}}} [[foot (unit of length)|ft]])}}
 
{{!}}-
 
{{!}}-
 
}}|- <!-- ***** Population ***** --> class="mergedtoprow"
 
}}|- <!-- ***** Population ***** --> class="mergedtoprow"
Line 134: Line 122:
 
|- class="mergedrow"
 
|- class="mergedrow"
 
{{#if:{{{population_density|}}}|
 
{{#if:{{{population_density|}}}|
! &nbsp;- [[Population density|Density]]
+
! &nbsp;- Density
 
{{!}} {{{population_density}}}/km²{{#if:{{{population_density_mi2|}}}|&nbsp;({{{population_density_mi2}}}/sq&nbsp;mi)}} }}
 
{{!}} {{{population_density}}}/km²{{#if:{{{population_density_mi2|}}}|&nbsp;({{{population_density_mi2}}}/sq&nbsp;mi)}} }}
 
|- class="mergedrow"
 
|- class="mergedrow"
 
{{#if:{{{population_urban|}}}|  
 
{{#if:{{{population_urban|}}}|  
!  &nbsp;- [[Urban area|Urban]]
+
!  &nbsp;- Urban
 
{{!}} {{{population_urban}}} }}
 
{{!}} {{{population_urban}}} }}
 
|- class="mergedrow"
 
|- class="mergedrow"
Line 146: Line 134:
 
|- class="mergedrow"
 
|- class="mergedrow"
 
{{#if:{{{population_metro|}}}|  
 
{{#if:{{{population_metro|}}}|  
! &nbsp;- [[Metropolitan area|Metro]]
+
! &nbsp;- Metro
 
{{!}} {{{population_metro}}} }}
 
{{!}} {{{population_metro}}} }}
 
|- class="mergedrow"
 
|- class="mergedrow"
Line 158: Line 146:
 
|- <!-- ***** Time Zone ***** --> class="mergedtoprow"
 
|- <!-- ***** Time Zone ***** --> class="mergedtoprow"
 
{{#if:{{{timezone|}}}|
 
{{#if:{{{timezone|}}}|
! [[Time zone]]
+
! Time zone
{{!}} {{{timezone}}} ([[UTC{{{utc_offset}}}]])  
+
{{!}} {{{timezone}}} (UTC{{{utc_offset}}})  
 
{{!}}- class="mergedbottomrow"
 
{{!}}- class="mergedbottomrow"
{{#if:{{{timezone_DST|}}}| ! <span style="white-space: nowrap;">&nbsp;-&nbsp;Summer&nbsp;([[Daylight saving time|DST]])</span>
+
{{#if:{{{timezone_DST|}}}| ! <span style="white-space: nowrap;">&nbsp;-&nbsp;Summer&nbsp;(DST)</span>
{{!}} {{{timezone_DST|}}} ([[UTC{{{utc_offset_DST|}}}]]) }}
+
{{!}} {{{timezone_DST|}}} (UTC{{{utc_offset_DST|}}}) }}
 
{{!}}-
 
{{!}}-
 
}}  <!-- ***** Postal Code(s) ***** -->
 
}}  <!-- ***** Postal Code(s) ***** -->
Line 182: Line 170:
 
{{!}} colspan="2" align="center" {{!}} '''Website:'''  {{{website}}}
 
{{!}} colspan="2" align="center" {{!}} '''Website:'''  {{{website}}}
 
{{!}}-
 
{{!}}-
}}
+
}}  
 
|}
 
|}
 
<noinclude>
 
<noinclude>
Line 270: Line 258:
 
</pre>
 
</pre>
 
</noinclude>
 
</noinclude>
 
{{esoteric}}
 

Latest revision as of 22:18, 7 March 2007

{{{official_name}}}
{{{subdivision_type}}} {{{subdivision_name}}}
Area  
 - City {{{area_total}}} km²
Population  
 - City ({{{population_as_of}}}) {{{population_total}}}




For question or examples see the talk page.

<!-- Infobox begins -->{{Infobox City
|official_name          = 
|native_name            =  <!-- for cities whose native name is not in English -->
|nickname               = 
|motto                  = 
|image_skyline          = 
|imagesize              = 
|image_caption          = 
|image_flag             = 
|image_seal             = 
|image_shield           = 
|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        = 
|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 -->