Template:Infobox settlement: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
revert accidental delete
meta>OWL
mNo edit summary
Line 1: Line 1:
<includeonly>{| class="infobox geography" style="width: 23em;"
<noinclude>{{userpage}}</noinclude><includeonly>
|-
{| class="infobox geography" style="width: 267px;"
| 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>}}'''
|-class="mergedtoprow"
|-<!-- ***** Skyline Image ***** -->
 
{{#if:{{{image_skyline|}}}|
{{ #if: {{{city_name|}}} |  
{{!}} 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; font-size: 1.25em; padding-bottom: .33em;" {{!}} {{{city_name}}}
{{!}}-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"
}}<!-- ***** Nickname ***** -->
{{#if:{{{nickname|}}}|
{{!}} colspan="2" align="center" {{!}} [[Nickname]]: "''{{{nickname|}}}''"
{{!}}-class="mergedrow"
{{!}}-class="mergedrow"
}}<!-- ***** Motto ***** -->
{{ #if: {{{city_name_alt|}}} |
{{#if:{{{motto|}}}|
{{!}} colspan="2" style="text-align: center; font-size: 1em; padding-bottom: .33em;" {{!}} {{{city_name_alt}}}
{{!}} colspan="2" align="center" {{!}} [[Motto]]: {{{motto|}}}
{{!}}-class="mergedrow" }}
{{ #if: {{{city_nickname|}}} |  
{{!}} colspan="2" style="text-align: center; font-size: 1em; padding-bottom: .33em;" {{!}} {{{city_nickname}}}
{{!}}-class="mergedrow" }}
}}
 
{{ #if: {{{city_image1_file|}}}{{{city_image2a_file|}}} |
{{!}} colspan="2" style="border: 0; padding: .2em 0 .6em;" {{!}} <div style="height: 1px; background: #ccd2d9;"></div> <!-- BoxRule -->
{{!}}-class="mergedrow"
{{!}}-class="mergedrow"
}}<!-- ***** Map ***** -->
{{ #if: {{{city_image1_file|}}} |
{{#if:{{{image_map|}}}|
{{!}} colspan="2" style="text-align: center; padding: .2em 8px .4em;" {{!}} [[Image:{{{city_image1_file}}}|{{{city_image1_width}}}|none]]<small>{{{city_image1_caption|}}}</small> }}
{{!}} colspan="2" style="text-align: center; padding: 0.7em 0.8em 0.7em 0.8em;" {{!}}  
{{ #if: {{{city_image2a_file|}}} |  
[[Image:{{{image_map|}}}|{{#if:{{{mapsize|}}}|{{{mapsize}}}|250px}}|none|{{{map_caption|Location of {{{official_name|}}}}}}]]{{#if:{{{map_caption|}}}|<small>{{{map_caption|}}}</small>}}
{{!}}-class="mergedrow"
{{!}}-class="mergedbottomrow"
{{!}} colspan="2" style="text-align: center; padding: .2em 8px .4em;" {{!}}
}}<!-- ***** Coordinates ***** -->
{{{!}} width="250" class="maptable" border="000" cellpadding="000" style="border-collapse:collapse;"
{{!}}-style="background:#f9f9f9;"
{{ #if: {{{city_image2a_file|}}} | {{!}} style="vertical-align: middle;" {{!}} <center>{{border{{!}}[[Image:{{{city_image2a_file}}}|{{{city_image2a_width}}}]]}}</center><small>{{{city_image2a_caption|}}}</small> 
{{ #if: {{{city_image2b_file|}}} |  
{{!}} align="center" style="vertical-align: middle;" {{!}} [[Image:{{{city_image2b_file}}}|{{{city_image2b_width}}}|none]]<small>{{{city_image2b_caption|}}}</small>
{{ #if: {{{city_image2c_file|}}} |
{{!}} align="center" style="vertical-align: middle;" {{!}} [[Image:{{{city_image2c_file}}}|{{{city_image2c_width}}}|none]]<small>{{{city_image2c_caption|}}}</small> }} }} }}
{{!}}} }}
{{!}}-class="mergedrow"  
}}


{{#if:{{{latNS|}}}|
{{ #if: {{{polity1_label|}}} |  
! colspan="2" style="text-align: center; font-size: smaller; {{#if:{{{image_map|}}}|padding-bottom: 0.7em;|border-top: solid 1px #ccd2d9;}}" {{!}} Coordinates:  {{#if:{{{lats|}}}
{{!}} colspan="2" style="border: 0; padding: .2em 0 .6em;" {{!}} <div style="height: 1px; background: #ccd2d9;"></div> <!-- BoxRule -->
| {{coor dms|{{{latd}}}|{{{latm}}}|{{{lats|0}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longs|0}}}|{{{longEW}}}|type:city}}
{{!}}-class="mergedrow"
| {{coor dm|{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longEW}}}|type:city}}
! {{{polity1_label}}}
{{!}} {{{polity1_name|}}}
{{!}}-class="mergedrow"
{{ #if: {{{polity2_label|}}} |
! {{{polity2_label}}}
{{!}} {{{polity2_name|}}}
{{!}}-class="mergedrow"
{{ #if: {{{polity3_label|}}} |
! {{{polity3_label}}}
{{!}} {{{polity3_name|}}}
{{!}}-class="mergedrow"
{{ #if: {{{polity4_label|}}} |
! {{{polity4_label}}}
{{!}} {{{polity4_name|}}}
{{!}}-class="mergedrow"
{{ #if: {{{polity5_label|}}} |
! {{{polity5_label}}}
{{!}} {{{polity5_name|}}}
{{!}}-class="mergedrow" }} }} }} }}  
}}
}}
{{!}}-
 
}}<!--***** Government *****-->
{{ #if: {{{population|}}}{{{area_whole|}}} |
|- class="mergedtoprow"
{{!}} colspan="2" style="border: 0; padding: .2em 0 .6em;" {{!}} <div style="height: 1px; background: #ccd2d9;"></div> <!-- BoxRule -->
! {{{subdivision_type}}}
{{!}}-class="mergedrow" }}
| {{{subdivision_name}}}
 
|- class="mergedrow"
{{ #if: {{{population|}}} |  
{{#if:{{{subdivision_type1|}}}|
! Population
! {{!}} {{{subdivision_type1}}}
{{!}} {{ formatnum: {{{population}}} }} {{ #if: {{{population_as_of_yr|}}} | (as of {{{population_as_of_yr}}}) }}  
{{!}} {{!}} {{{subdivision_name1}}}
{{!}}-class="mergedrow"
{{!}}-class="mergedrow"
}}
{{ #if: {{{area_whole|}}} |
{{#if:{{{subdivision_type2|}}}|
{{!}} colspan="2" style="border: 0; padding: 0;" {{!}} <div style="height: .4em;"></div> <!-- BoxBreak -->
! {{!}} {{{subdivision_type2}}}
{{!}}-class="mergedrow" }} }}
{{!}} {{!}} {{{subdivision_name2}}}
 
{{ #if: {{{area_whole|}}} |
! Area
{{ #ifexpr: not {{ #if: {{{area_land|}}}{{{area_water|}}} | 1 | 0 }}
|
{{ #ifeq: {{{mi_or_km|}}} | mi |  
{{!}} {{ #expr: {{{area_whole}}} round 1}}{{ #ifexpr: {{ #expr: {{{area_whole}}} round 1}} = {{ #expr: {{{area_whole}}} round 0}} | .0 |}}&nbsp;[[square mile|sq&nbsp;mi]]&nbsp;({{ formatnum: {{ #expr: {{{area_whole}}}*2.59 round 0 }}&nbsp;[[Square kilometre|km&#178;]]}}) }}
{{ #ifeq: {{{mi_or_km|}}} | km |
{{!}} {{ formatnum: {{ #expr: {{{area_whole}}} round 0 }}&nbsp;[[Square kilometre|km&#178;]]}}&nbsp;({{ #expr: {{{area_whole}}}*.386 round 1}}{{ #ifexpr: {{ #expr: {{{area_whole}}}*.386 round 1}} = {{ #expr: {{{area_whole}}}*.386 round 0}} | .0 |}}&nbsp;[[square mile|sq&nbsp;mi]]) }}  
|
{{!}} rowspan="3" style="padding: 0;" {{!}}  
{{{!}} class="infobox geography" style="float: none; width: 100%; margin: 0; border: 0; font-size: 1em; white-space: nowrap;"
{{!}}-class="mergedrow"
{{!}}-class="mergedrow"
}}
{{ #ifeq: {{{mi_or_km|}}} | mi |
{{#if:{{{subdivision_type3|}}}|
{{!}} align="right" {{!}} {{ #expr: {{{area_whole}}} round 1}}{{ #ifexpr: {{ #expr: {{{area_whole}}} round 1}} = {{ #expr: {{{area_whole}}} round 0}} | .0 |}} [[square mile|sq&nbsp;mi]]
! {{!}} {{{subdivision_type3}}}
{{!}} width="100%" style="padding-left: 0; padding-right: 0;" {{!}} &nbsp;({{ formatnum: {{ #expr: {{{area_whole}}}*2.59 round 0 }} [[Square kilometre|km&#178;]]}}) }}
{{!}} {{!}} {{{subdivision_name3}}}
{{ #ifeq: {{{mi_or_km|}}} | km |
{{!}} align="right" {{!}} {{ formatnum: {{ #expr: {{{area_whole}}} round 0 }} [[Square kilometre|km&#178;]]}}
{{!}} width="100%" style="padding-left: 0; padding-right: 0;" {{!}} &nbsp;({{ #expr: {{{area_whole}}}*.386 round 1}}{{ #ifexpr: {{ #expr: {{{area_whole}}}*.386 round 1}} = {{ #expr: {{{area_whole}}}*.386 round 0}} | .0 |}} [[square mile|sq&nbsp;mi]]) }}
{{!}}-class="mergedrow"
{{ #if: {{{area_water}}} |
{{ #ifeq: {{{mi_or_km|}}} | mi |
{{!}} align="right" {{!}} {{ #expr: {{{area_water}}} round 1}}{{ #ifexpr: {{ #expr: {{{area_water}}} round 1}} = {{ #expr: {{{area_water}}} round 0}} | .0 |}}&nbsp;sq&nbsp;mi
{{!}} style="padding-left: 0; padding-right: 0;" {{!}} &nbsp;({{ #expr: 100*{{{area_water}}}/{{{area_whole}}} round 0 }}%) }}
{{ #ifeq: {{{mi_or_km|}}} | km |
{{!}} align="right" {{!}} {{ #expr: {{{area_water}}} round 0}}&nbsp;km&#178;
{{!}} style="padding-left: 0; padding-right: 0;" {{!}} &nbsp;({{ #expr: 100*{{{area_water}}}/{{{area_whole}}} round 0 }}%) }}
|
{{!}} &nbsp; {{!}}{{!}} &nbsp; }}
{{!}}-class="mergedrow"
{{ #if: {{{area_land}}} |
{{ #ifeq: {{{mi_or_km|}}} | mi |
{{!}} align="right" {{!}} {{ #expr: {{{area_land}}} round 1}}{{ #ifexpr: {{ #expr: {{{area_land}}} round 1}} = {{ #expr: {{{area_land}}} round 0}} | .0 |}} sq&nbsp;mi
{{!}} style="padding-left: 0; padding-right: 0;" {{!}} &nbsp;({{ #expr: 100*{{{area_land}}}/{{{area_whole}}} round 0 }}%) }}
{{ #ifeq: {{{mi_or_km|}}} | km |
{{!}} align="right" {{!}} {{ #expr: {{{area_land}}} round 0}} km&#178;
{{!}} style="padding-left: 0; padding-right: 0;" {{!}} &nbsp;({{ #expr: 100*{{{area_land}}}/{{{area_whole}}} round 0 }}%) }}
|
{{!}} &nbsp; {{!}}{{!}} &nbsp; }}
{{!}}}
{{!}}-class="mergedrow"
{{!}}-class="mergedrow"
}}
{{!}} &nbsp;Water
{{#if:{{{subdivision_type4|}}}|
! {{!}} {{{subdivision_type4}}}
{{!}} {{!}} {{{subdivision_name4}}}
{{!}}-class="mergedrow"
{{!}}-class="mergedrow"
}} <!--***** Established *****-->
{{!}} &nbsp;Land
{{#if:{{{established_title|}}}|
! {{{established_title}}}
{{!}} {{{established_date}}}
{{!}}- class="mergedrow"
}}
}}
{{#if:{{{established_title2|}}}|
{{!}}-class="mergedrow"
! {{{established_title2}}}
{{ #if: {{{population_density|}}} |  
{{!}} {{{established_date2}}}
{{!}} colspan="2" style="border: 0; padding: 0;" {{!}} <div style="height: .4em;"></div> <!-- BoxBreak -->
{{!}}- class="mergedrow"
{{!}}-class="mergedrow" }}
}}
}}
{{#if:{{{established_title3|}}}|
 
! {{{established_title3}}}
{{ #if: {{{population_density|}}} |  
{{!}} {{{established_date3}}}
! Density
{{!}}- class="mergedrow"
{{ #ifeq: {{{mi_or_km|}}} | mi |
}}<!-- ***** Government type and Leader ***** -->
{{!}} {{ formatnum: {{ #expr: {{{population_density}}} round 0 }} }}/sq&nbsp;mi ({{ formatnum: {{ #expr: {{{population_density}}}*.386 round 0 }} }}/km&#178;) }}  
{{#if:{{{government_type|}}}|
{{ #ifeq: {{{mi_or_km|}}} | km |
! Government type
{{!}} {{ formatnum: {{ #expr: {{{population_density}}} round 0 }} }}/km&#178; ({{ formatnum: {{ #expr: {{{population_density}}}*2.59 round 0 }}/sq&nbsp;mi }}) }}
{{!}} {{{government_type}}}
{{!}}-class="mergedrow" }}  
{{!}}- class="mergedrow" }}
 
{{#if:{{{leader_title|}}}|
{{#if:{{{pop_area_notes|}}} |  
! {{{leader_title}}}
{{!}} colspan="2" style="text-align: center; font-size: xx-small; padding-top: .4em;" {{!}} {{{pop_area_notes}}}  
{{!}} {{{leader_name}}}
{{!}}-class="mergedrow" }}
{{#if:{{{leader_title1|}}}|
 
{{!}}- class="mergedrow"
{{ #if: {{{map_image_file|}}}{{{latNS|}}}{{{elevation|}}}{{{coord_elev_notes|}}} |  
! {{{leader_title1}}}
{{!}} colspan="2" style="border: 0; padding: .2em 0 .6em;" {{!}} <div style="height: 1px; background: #ccd2d9;"></div> <!-- BoxRule -->
{{!}} {{{leader_name1}}}
{{!}}-class="mergedrow"
{{#if:{{{leader_title2|}}}|
 
{{!}}- class="mergedrow"
{{ #if: {{{map_image_file|}}} |  
! {{{leader_title2}}}
{{!}} colspan="2" style="text-align: center; padding: .2em 8px .4em;" {{!}} [[Image:{{{map_image_file}}}|{{{map_image_width}}}|none]]<small>{{{map_image_caption|}}}</small>
{{!}} {{{leader_name2}}}
{{!}}-class="mergedrow" }}
{{#if:{{{leader_title3|}}}|
 
{{!}}- class="mergedbottomrow"
{{#if:{{{latNS|}}} |  
! {{{leader_title3}}}
{{!}} colspan="2" style="text-align: center; padding-top: .2em;" {{!}} [[Geographic coordinate system|Coordinates:]]  {{{latd}}}°&nbsp;{{{latm}}}'&nbsp;{{{lats}}}"&nbsp;{{{latNS}}},&nbsp;{{{longd}}}°&nbsp;{{{longm}}}'&nbsp;{{{longs}}}"&nbsp;{{{longEW}}}  
{{!}} {{{leader_name3}}}
{{!}}-class="mergedrow" }}
}} }} }} }}<!-- ***** Geographical characteristics ***** -->
 
|- <!-- ***** Area ***** --> class="mergedtoprow"
{{#if:{{{elevation|}}} |  
! [[Area]] || &nbsp;
{{ #ifeq: {{{mi_or_km|}}} | mi |
|- class="mergedrow"
{{!}} colspan="2" style="text-align: center; padding-top: .2em;" {{!}} [[Elevation|Elevation]]:&nbsp;{{ formatnum: {{{elevation}}} }}&nbsp;[[foot (unit of length)|ft]] ({{ formatnum: {{#expr: {{{elevation}}}*0.3048 round 0}} }}&nbsp;[[metre|m]]) }}
! &nbsp;- City
{{ #ifeq: {{{mi_or_km|}}} | km |
| {{#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]]) }}
{{!}} colspan="2" style="text-align: center; padding-top: .2em;" {{!}} [[Elevation|Elevation]]:&nbsp;{{ formatnum: {{#expr: {{{elevation}}} round 1}} }}&nbsp;[[metre|m]]&nbsp;({{ formatnum: {{#expr:{{{elevation}}}*3.281 round 0}} }}&nbsp;[[foot (unit of length)|ft]]) }}
|- class="mergedrow"
{{!}}-class="mergedrow" }}
{{#if:{{{area_land|}}}|
 
! &nbsp;- Land
{{#if:{{{latNS|}}} |  
{{!}} {{{area_land}}} km²  {{#if:{{{LandArea_sq_mi|}}} | &nbsp;({{{LandArea_sq_mi}}}&nbsp;sq&nbsp;mi)}} }}
{{!}} colspan="2" style="text-align: center; padding-top: .4em; padding-bottom: .6em;" {{!}} <span class="plainlinksneverexpand">{{bsm}}<nowiki>[</nowiki>'''[http://maps.google.com/maps?f=q&hl=en&q={{{latd}}}%C2%B0+{{{latm}}}%27+{{{lats}}}%22+{{{latNS}}},+{{{longd}}}%C2%B0+{{{longm}}}%27+{{{longs}}}%22+{{{longEW}}}&ie=UTF8&z=12&t=h&om=1&iwloc=addr view map &amp; satellite photo]'''<nowiki>]</nowiki>{{esm}}</span>
|- class="mergedrow"
{{!}}-class="mergedrow" }}
{{#if:{{{area_water|}}}|
 
! &nbsp;- Water
{{#if:{{{coord_elev_notes|}}} |  
{{!}} {{{area_water}}} km²{{#if:{{{WaterArea_sq_mi|}}} | &nbsp;({{{WaterArea_sq_mi}}}&nbsp;sq&nbsp;mi)}} {{#if:{{{area_water_percent|}}}| &nbsp;{{{area_water_percent}}}%}}}}
{{!}} colspan="2" style="text-align: center; font-size: xx-small; padding-top: .4em;" {{!}} {{{coord_elev_notes}}}  
|- class="mergedrow"
{{!}}-class="mergedrow" }}
{{#if:{{{area_urban|}}}|
! &nbsp;- Urban
{{!}} {{{area_urban}}} km²{{#if:{{{UrbanArea_sq_mi|}}} | &nbsp;({{{UrbanArea_sq_mi}}}&nbsp;sq&nbsp;mi)}} }}
|- class="mergedrow"
{{#if:{{{area_metro|}}}|  
! &nbsp;- Metro
{{!}}  {{{area_metro}}} km²{{#if:{{{MetroArea_sq_mi|}}} | &nbsp;({{{MetroArea_sq_mi}}}&nbsp;sq&nbsp;mi)}} }}
|- <!-- ***** Elevation ***** --> class="mergedbottomrow"
{{#if:{{{elevation|}}}|
! [[Elevation]]
{{!}} {{{elevation}}} [[metre|m]] {{#if:{{{elevation_ft|}}}|&nbsp;({{{elevation_ft}}} [[foot (unit of length)|ft]])}}
{{!}}-
}}|- <!-- ***** Population ***** --> class="mergedtoprow"
! Population ||&nbsp;
|- class="mergedrow"
! &nbsp;- City ({{{population_as_of}}})
|{{{population_total}}}  
|- class="mergedrow"
{{#if:{{{population_density|}}}|
! &nbsp;- [[Population density|Density]]  
{{!}} {{{population_density}}}/km²{{#if:{{{population_density_mi2|}}}|&nbsp;({{{population_density_mi2}}}/sq&nbsp;mi)}} }}
|- class="mergedrow"
{{#if:{{{population_urban|}}}|
!  &nbsp;- [[Urban area|Urban]]  
{{!}} {{{population_urban}}} }}
|- class="mergedrow"
{{#if:{{{population_density_urban_km2|}}}|
! &nbsp;- Urban Density
{{!}} &nbsp;&nbsp;{{{population_density_urban_km2}}}/km²&nbsp;({{{population_density_urban_mi2}}}/sq&nbsp;mi) }}
|- class="mergedrow"
{{#if:{{{population_metro|}}}|
! &nbsp;- [[Metropolitan area|Metro]]
{{!}} {{{population_metro}}} }}
|- class="mergedrow"
{{#if:{{{population_density_metro_km2|}}}|
! &nbsp;- Metro Density
{{!}} &nbsp;&nbsp;{{{population_density_metro_km2}}}/km²&nbsp;({{{population_density_metro_mi2}}}/sq&nbsp;mi) }}
|- class="mergedbottomrow"
{{#if:{{{population_note|}}}|
! &nbsp;
{{!}} <small>{{{population_note}}}</small> }}
|- <!-- ***** Time Zone ***** --> class="mergedtoprow"
{{#if:{{{timezone|}}}|
! [[Time zone]]
{{!}} {{{timezone}}} ([[UTC{{{utc_offset}}}]])
{{!}}- class="mergedbottomrow"
{{#if:{{{timezone_DST|}}}| ! <span style="white-space: nowrap;">&nbsp;-&nbsp;Summer&nbsp;([[Daylight saving time|DST]])</span>
{{!}} {{{timezone_DST|}}} ([[UTC{{{utc_offset_DST|}}}]]) }}
{{!}}-
}} <!-- ***** Postal Code(s) ***** -->
{{#if:{{{postal_code_type|}}}|
{{!}} '''[[{{{postal_code_type}}}]]''' {{!}}{{!}}  {{{postal_code}}}
{{!}}-
}}
}}
<!-- ***** Area Code(s) ***** -->
 
{{#if:{{{area_code|}}}|
{{ #if: {{{time_zone_indicator|}}} |
{{!}} '''Area code(s)''' {{!}}{{!}} {{{area_code}}}
{{ #ifexpr: not
{{!}}-
{{ #ifeq:  {{{time_zone_indicator|}}} | A | 1
}}<!-- ***** Footnotes ***** -->
| {{ #ifeq: {{{time_zone_indicator|}}} | E | 1
{{#if:{{{footnotes|}}}|
| {{ #ifeq: {{{time_zone_indicator|}}} | C | 1
{{!}} colspan="2" align="center" {{!}} <small>{{{footnotes}}}</small>
| {{ #ifeq: {{{time_zone_indicator|}}} | M | 1
{{!}}-
| {{ #ifeq: {{{time_zone_indicator|}}} | P | 1
}} <!-- ***** Website ***** -->
| {{ #ifeq: {{{time_zone_indicator|}}} | AK | 1
{{#if:{{{website|}}}|
| {{ #ifeq: {{{time_zone_indicator|}}} | HA | 1
{{!}}-
| 0 }} }} }} }} }} }} }} | Invalid time_zone_indicator ERROR
{{!}} colspan="2" align="center" {{!}} '''Website:'''  {{{website}}}
|
{{!}}-
{{!}} colspan="2" style="border: 0; padding: .2em 0 .6em;" {{!}} <div style="height: 1px; background: #ccd2d9;"></div> <!-- BoxRule -->
{{!}}-class="mergedrow"
{{!}} colspan="2" style="text-align: center;" {{!}} '''Local Time'''
{{!}}-class="mergedrow"
{{!}} colspan="2" style="text-align: center; padding-top: .4em; padding-bottom: .4em;" {{!}} (U.S.) [[ {{ #switch: {{{time_zone_indicator|}}} | A = Atlantic| E = Eastern| C = Central| M = Mountain| P = Pacific| AK = Alaska| HA = Hawaii-Aleutian}} Time Zone]]:
{{!}}-class="mergedrow"
{{!}} colspan="2" style="padding-left:0; padding-right: 0;" {{!}}
{{{!}} class="infobox geography" style="float: none; margin: 0 auto; border: 0; font-size: 1em; white-space: nowrap;"
{{!}}-class="mergedrow"
{{!}} align="right" style="padding: .2em 0;" {{!}} [[Standard time|Standard Time]] ({{{time_zone_indicator}}}ST) =&nbsp;
{{!}} style="padding: .2em 0;" {{!}}[[UTC{{ #switch: {{{time_zone_indicator|}}} | A = -4 | E = -5 | C = -6 | M = -7 | P = -8 | AK = -9 | HA = -10 }}]]
{{!}}-class="mergedrow"
{{ #ifexpr: not
{{ #ifeq: {{{dst_or_std_only|}}} | d | 1
| {{ #ifeq: {{{dst_or_std_only|}}} | s | 1
| 0 }} }} | Invalid dst_or_std_only ERROR
|
{{ #ifeq: {{{dst_or_std_only|}}} | d |
{{!}} align="right" style="padding: 0 0 .2em;" {{!}} [[Daylight saving time|Daylight Saving Time]] ({{{time_zone_indicator}}}DT) =&nbsp;
{{!}} style="padding: 0 0 .2em;" {{!}}[[UTC{{ #switch: {{{time_zone_indicator|}}} | A = -3 | E = -4 | C = -5 | M = -6 | P = -7 | AK = -8 | HA = -9 }}]]
}} }}
{{!}}}
{{!}}-class="mergedrow"
{{!}} colspan="2" style="text-align: center; padding-top: .4em; padding-bottom: .6em;" {{!}} <span class="plainlinksneverexpand">{{bsm}}<nowiki>[</nowiki>'''[http://time.gov/timezone.cgi?{{ #switch: {{{time_zone_indicator|}}} | A = Atlantic| E = Eastern| C = Central| M = Mountain| P = Pacific| AK = Alaska| HA = Hawaii-Aleutian}}/{{ #ifeq: {{{dst_or_std_only|}}} | d | d | s }}/{{ #switch: {{{time_zone_indicator|}}} | A = -4 | E = -5 | C = -6 | M = -7 | P = -8 | AK = -9 | HA = -10 }}/java view local time clock]'''<nowiki>]</nowiki>{{esm}}</span>
{{!}}-class="mergedrow"
}} }}
 
{{ #if: {{{weather_url|}}} |
{{ #if: {{{time_zone_indicator|}}} |  
{{!}} colspan="2" style="border: 0; padding: 0;" {{!}} <div style="height: .4em;"></div> <!-- BoxBreak -->
{{!}}-class="mergedrow"|
{{!}} colspan="2" style="border: 0; padding: .2em 0 .6em;" {{!}} <div style="height: 1px; background: #ccd2d9;"></div> <!-- BoxRule -->
{{!}}-class="mergedrow" }}
{{!}} colspan="2" style="text-align: center;" {{!}} '''Current Weather'''  
{{!}}-class="mergedrow"
{{!}} colspan="2" style="text-align: center; padding-top: .4em; padding-bottom: .6em;" {{!}} <span class="plainlinksneverexpand">{{bsm}}<nowiki>[</nowiki>'''[{{{weather_url}}} view local weather report]'''<nowiki>]</nowiki>{{esm}}</span>
{{!}}-class="mergedrow" }}
 
{{ #if: {{{seal_image_file|}}}{{{city_motto|}}}{{{historic_date1_label|}}}{{{form_of_government|}}}{{{office1_label|}}} |
{{!}} colspan="2" style="border: 0; padding: .2em 0 .6em;" {{!}} <div style="height: 1px; background: #ccd2d9;"></div> <!-- BoxRule -->
{{!}}-class="mergedrow"
 
{{ #if: {{{seal_image_file|}}} |  
{{!}} colspan="2" style="text-align: center; padding: .2em 8px .4em;" {{!}} [[Image:{{{seal_image_file}}}|{{{seal_image_width}}}|none]]<small>{{{seal_image_caption|}}}</small>
{{!}}-class="mergedrow" }}
 
{{ #if: {{{city_motto|}}} |
{{!}} colspan="2" style="text-align: center; padding-top: .2em; padding-bottom: 1em;" {{!}} <small>{{{city_motto}}}</small>  
{{!}}-class="mergedrow" }}
 
{{ #if: {{{historic_date1_label|}}} |
{{!}} colspan="2" {{!}}
{{{!}} class="infobox geography" style="float: none; margin: 0 auto; border: 0; font-size: 1em; white-space: nowrap;"
{{!}}-class="mergedrow"
! style="padding-left:0; padding-right: 0;" {{!}} {{{historic_date1_label}}}&nbsp;&nbsp;
{{!}} style="padding-left:0; padding-right: 0;" {{!}} {{{historic_date1_date}}}
{{ #if: {{{historic_date2_label|}}} |  
{{!}}-class="mergedrow"
! style="padding-left:0; padding-right: 0;" {{!}} {{{historic_date2_label}}}&nbsp;&nbsp;
{{!}} style="padding-left:0; padding-right: 0;" {{!}} {{{historic_date2_date}}}
{{ #if: {{{historic_date3_label|}}} |
{{!}}-class="mergedrow"
! style="padding-left:0; padding-right: 0;" {{!}} {{{historic_date3_label}}}&nbsp;&nbsp;
{{!}} style="padding-left:0; padding-right: 0;" {{!}} {{{historic_date3_date}}} }} }}
{{!}}}
{{!}}-class="mergedrow"
{{ #if: {{{form_of_government|}}}{{{office1_label|}}} |
{{!}} colspan="2" style="border: 0; padding: 0;" {{!}} <div style="height: .4em;"></div> <!-- BoxBreak -->
{{!}}-class="mergedrow" }}
}}
}}
|}</includeonly><noinclude>
 
<div style="display:inline;
{{ #if: {{{form_of_government|}}}{{{office1_label|}}} |
width:50%; float:left;">
! Government
{{!}} {{ #if: {{{form_of_government|}}} | {{{form_of_government}}} | &nbsp; }}
{{!}}-class="mergedrow"
{{ #if: {{{office1_label|}}} |
{{!}}&nbsp;{{{office1_label}}}
{{!}} {{{office1_name|}}}
{{!}}-class="mergedrow"
{{ #if: {{{office2_label|}}} |
{{!}}&nbsp;{{{office2_label}}}
{{!}} {{{office2_name|}}}
{{!}}-class="mergedrow"
{{ #if: {{{office3_label|}}} |
{{!}}&nbsp;{{{office3_label}}}
{{!}} {{{office3_name|}}}
{{!}}-class="mergedrow" }} }} }} }}
}}
 
{{#if:{{{web_site1_url|}}} |
{{!}} colspan="2" style="border: 0; padding: .2em 0 .6em;" {{!}} <div style="height: 1px; background: #ccd2d9;"></div> <!-- BoxRule -->
{{!}}-class="mergedrow"
! colspan="2" style="text-align: center;" {{!}} Official Web Sites
{{!}}-class="mergedrow"
{{!}} colspan="2" style="border: 0; padding: 0;" {{!}} <div style="height: .4em;"></div> <!-- BoxBreak -->
{{!}}-class="mergedrow"
{{!}} colspan="2" style="text-align: center;" {{!}} <span class="plainlinksneverexpand">[{{{web_site1_url}}} {{{web_site1_link_text}}}]</span>
{{!}}-class="mergedrow"
{{#if:{{{web_site2_url|}}} |
{{!}} colspan="2" style="text-align: center;" {{!}} <span class="plainlinksneverexpand">[{{{web_site2_url}}} {{{web_site2_link_text}}}]</span>
{{!}}-class="mergedrow"
{{#if:{{{web_site3_url|}}} |  
{{!}} colspan="2" style="text-align: center;" {{!}} <span class="plainlinksneverexpand">[{{{web_site3_url}}} {{{web_site3_link_text}}}]</span>
{{!}}-class="mergedrow" }} }} }}
 
{{!}} colspan="2" style="border: 0; padding: 0;" {{!}} <div style="height: .4em;"></div> <!-- BoxEnd -->
|}
</includeonly>
<noinclude>
<div style="display:inline; float:left;">
'''Empty Syntax'''
'''Empty Syntax'''
For question or examples see the [[Template_talk:Infobox_City|talk]] page.
 
For question or examples see Discussion page.
<pre>
<pre>
<!-- Infobox begins -->{{Infobox City
<!-- Start Infobox -->
|official_name          =
{{User:OWL/Infobox City KISS mi
|native_name            =  <!-- for cities whose native name is not in English -->
 
|nickname              =  
|city_name              = New London, Connecticut <!-- Next two ignored if "city_name" blank. -->
|motto                  =  
|city_name_alt          =  
|image_skyline          =  
|city_nickname          = "The Whaling City"
|imagesize              =  
 
|image_caption          =  
|city_image1_file      = View of City of New London.jpg
|image_flag            =  
|city_image1_width      = 250px  <!-- Greater than 250px not recommended. -->
|image_seal            =  
|city_image1_caption    = [[Downtown]] New London on the [[Thames River (Connecticut)|]]
|image_shield          =  
                        <!--
|image_map              =  
                        "city_image2a", "2b", and "2c" (below) share one row.
|mapsize                =  
                        Sum of three widths greater than 250px not recommended.
|map_caption            =  
                        All three are optional, but fill "2a" first, "2b" next, and "2c" last.
|subdivision_type      =  
                        Trailing items ignored if "city_image2*_file" is blank.
|subdivision_name      =  
                        -->
|subdivision_type1      =  
|city_image2a_file      = Flag of Connecticut.svg
|subdivision_name1      =  
|city_image2a_width    = 83px  <!-- Sum of three widths greater than 250px not recommended. -->
|subdivision_type2      =  
|city_image2a_caption  = Flag
|subdivision_name2      =  
 
|subdivision_type3      =  
|city_image2b_file      = Seal of City of New London.png
|subdivision_name3      =  
|city_image2b_width    = 83px  <!-- Sum of three widths greater than 250px not recommended. -->
|subdivision_type4      =  
|city_image2b_caption  = Seal
|subdivision_name4      =  
 
|government_type        =  
|city_image2c_file      = Montrealcoa.gif
|leader_title          =  
|city_image2c_width    = 83px  <!-- Sum of three widths greater than 250px not recommended. -->
|leader_name            =  
|city_image2c_caption  = Arms
|leader_title1          =  <!-- for places with, say, both a mayor and a city manager -->
 
|leader_name1          =  
|polity1_label          = [[Country]]
|leader_title2          =
|polity1_name          = [[United States|United States of America]]
|leader_name2          =
|polity2_label          = [[U.S. State|State]]
|leader_title3          =
|polity2_name          = [[Connecticut]]
|leader_name3          =  
|polity3_label          = [[County (United States)#Scope_of_power|County]]
|established_title      =  <!-- Settled -->
|polity3_name          = [[New London County, Connecticut|]]
|established_date      =  
|polity4_label          =  
|established_title2    = <!-- Incorporated (town) -->
|polity4_name          =  
|established_date2      =  
|polity5_label          =  
|established_title3    =  <!-- Incorporated (city) -->
|polity5_name          =  
|established_date3     =  
 
|area_magnitude        =  
|population            = 25671 <!-- Digits only. No commas. -->
|area_total            =  
|population_as_of_yr    = 2000
|TotalArea_sq_mi        =  
 
|area_land              =  
                        <!-- SET INPUT UNITS AND DISPLAY PRIORITY HERE -->
|LandArea_sq_mi        =  
|mi_or_km              = mi  <!-- "mi" for miles and feet, "km" for metric. -->
|area_water            =  
 
|WaterArea_sq_mi        =  
                        <!-- Digits, optional decimal point only. No commas.
|area_water_percent    =  
                            Units set by "mi_or_km" above. -->
|area_urban            =  
|area_whole            = 10.76
|UrbanArea_sq_mi        =  
|area_water            = 5.23
|area_metro            =  
|area_land              = 5.54
|MetroArea_sq_mi       =  
 
|population_as_of      =  
                        <!-- Digits, optional decimal point only. No commas.
|population_note       =  
                            Units set by "mi_or_km" above. -->
|population_total       =  
|population_density    = 4635.5
|population_density     =  
 
|population_density_mi2 =  
|pop_area_notes        = Per U.S. Census Bureau (<span class="plainlinksneverexpand">[http://factfinder.census.gov/servlet/GCTTable?_bm=y&-tree_id=4001&-amp;-format=ST-7{{!}}ST-7S&-amp;-ds_name=DEC_2000_SF1_U&-_caller=geoselect&-context=gct&-amp;-mt_name=DEC_2000_SF1_U_GCTPH1_ST7&-mt_name=DEC_2000_SF1_U_GCTPH1_ST7&-redoLog=true&-amp;-_lang=en%20U.S.%20Census%20Bureau&-_lang=en&-geo_id=05000US09011&-CONTEXT=gct&-format=CO-2&-ds_name=DEC_2000_SF1_U&-amp;-tree_id=4001&-amp;-geo_id=04000US09&-amp;-context=gct&-amp;-CONTEXT=gct ''qv'']</span>)
|population_metro      =
 
|population_density_metro_km2 =
|map_image_file        = US-CT-New London.png
|population_density_metro_mi2 =
|map_image_width        = 250px <!-- Greater than 250px not recommended. -->
|population_urban      =  
|map_image_caption     = Location of New London in Connecticut
|population_density_urban_km2 =
 
|population_density_urban_mi2 =
|latd  = 41 |latm  = 21 |lats  = 20 |latNS  = N  <!-- If "latNS" is blank, coordinates section ignored. -->
|timezone              =  
|longd = 72 |longm = 05 |longs = 58 |longEW = W
|utc_offset            =
 
|timezone_DST          =  
|elevation              = 56  <!-- Digits only. No commas. Units set by "mi_or_km" above. -->
|utc_offset_DST        =
 
|latd= |latm= |lats= |latNS=
|coord_elev_notes      = Per U.S. Geological Survey (<span class="plainlinksneverexpand">[http://geonames.usgs.gov/pls/gnispublic/f?p=135:3:8268117628245346792::NO::P3_FID:209237 ''qv'']</span>)
|longd= |longm= |longs= |longEW=
 
|elevation              =  
                        <!-- SET TIME ZONE HERE -->
|elevation_ft           =  
|time_zone_indicator    = E  <!-- Upper-case initial(s) A/E/C/M/P/AK/HA for
|postal_code_type      = <!-- enter ZIP code, Postcode, Post code, Postal code... -->
                                  Atlantic/Eastern/Central/Mountain/Pacific/AlasKa/Hawaii-Aleutian time zone -->
|postal_code            =
|dst_or_std_only       = d  <!-- "d" to observe Daylight Saving Time, "s" for year-round Standard Time. -->
|area_code              =
 
|website                =  
|weather_url            = http://www.erh.noaa.gov/forecast/MapClick.php?CityName=New+London&state=CT&site=OKX&mp=1
|footnotes              =  
 
}} <!-- Infobox ends -->
|seal_image_file       = Seal of City of New London.png
|seal_image_width       = 155px  <!-- Greater than 250px not recommended. -->
|seal_image_caption     = Seal of the City of New London
 
|city_motto            = City Motto: {{bsm}}"[[Hugo_Grotius#De_Indis_and_Mare_Liberum|MARE LIBERUM]]"{{esm}} ("Free Seas")
 
|historic_date1_label  = Settled
|historic_date1_date    = 1646
|historic_date2_label  = Named
|historic_date2_date    = 1658
|historic_date3_label  = [[Municipal corporation|Incorporated]]
|historic_date3_date    = 1784
 
|form_of_government    = [[Council-manager government|Council - Manager]]
 
|office1_label          = [[Mayor#United_States|Mayor]]
|office1_name          = Beth Sabilla
|office2_label          = [[City manager|City Manager]]
|office2_name          = Martin Berliner
|office3_label          = [[Superintendent (education)|Supt. of Schools]]
|office3_name           = Christopher Clouet
 
|web_site1_url          = http://www.ci.new-london.ct.us
|web_site1_link_text    = City of New London
|web_site2_url          = http://www.newlondon.org/
|web_site2_link_text    = New London Public Schools
|web_site3_url          =  
|web_site3_link_text    =  
 
}}
<!-- End Infobox -->
</pre>
</pre>
</div>
</div>
{{esoteric}}
[[Category:Esoteric templates|{{PAGENAME}}]]
[[Category:City infobox templates| ]]
[[Category:Templates using ParserFunctions|Infobox City]]
[[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]]
</noinclude>
</noinclude>

Revision as of 02:06, 22 November 2006

Template:Userpage

Empty Syntax

For question or examples see Discussion page.

<!-- Start Infobox -->
{{User:OWL/Infobox City KISS mi 

|city_name              = New London, Connecticut  <!-- Next two ignored if "city_name" blank. -->
|city_name_alt          = 
|city_nickname          = "The Whaling City"

|city_image1_file       = View of City of New London.jpg
|city_image1_width      = 250px  <!-- Greater than 250px not recommended. -->
|city_image1_caption    = [[Downtown]] New London on the [[Thames River (Connecticut)|]]
                        <!-- 
                        "city_image2a", "2b", and "2c" (below) share one row. 
                        Sum of three widths greater than 250px not recommended. 
                        All three are optional, but fill "2a" first, "2b" next, and "2c" last.
                        Trailing items ignored if "city_image2*_file" is blank. 
                        -->
|city_image2a_file      = Flag of Connecticut.svg
|city_image2a_width     = 83px  <!-- Sum of three widths greater than 250px not recommended. -->
|city_image2a_caption   = Flag

|city_image2b_file      = Seal of City of New London.png
|city_image2b_width     = 83px  <!-- Sum of three widths greater than 250px not recommended. -->
|city_image2b_caption   = Seal

|city_image2c_file      = Montrealcoa.gif
|city_image2c_width     = 83px  <!-- Sum of three widths greater than 250px not recommended. -->
|city_image2c_caption   = Arms

|polity1_label          = [[Country]]
|polity1_name           = [[United States|United States of America]]
|polity2_label          = [[U.S. State|State]]
|polity2_name           = [[Connecticut]] 
|polity3_label          = [[County (United States)#Scope_of_power|County]]
|polity3_name           = [[New London County, Connecticut|]] 
|polity4_label          = 
|polity4_name           = 
|polity5_label          = 
|polity5_name           = 

|population             = 25671  <!-- Digits only. No commas. -->
|population_as_of_yr    = 2000

                        <!-- SET INPUT UNITS AND DISPLAY PRIORITY HERE -->
|mi_or_km               = mi  <!-- "mi" for miles and feet, "km" for metric. -->

                        <!-- Digits, optional decimal point only. No commas. 
                             Units set by "mi_or_km" above. -->
|area_whole             = 10.76
|area_water             = 5.23
|area_land              = 5.54

                        <!-- Digits, optional decimal point only. No commas. 
                             Units set by "mi_or_km" above. -->
|population_density     = 4635.5

|pop_area_notes         = Per U.S. Census Bureau (<span class="plainlinksneverexpand">[http://factfinder.census.gov/servlet/GCTTable?_bm=y&-tree_id=4001&-amp;-format=ST-7{{!}}ST-7S&-amp;-ds_name=DEC_2000_SF1_U&-_caller=geoselect&-context=gct&-amp;-mt_name=DEC_2000_SF1_U_GCTPH1_ST7&-mt_name=DEC_2000_SF1_U_GCTPH1_ST7&-redoLog=true&-amp;-_lang=en%20U.S.%20Census%20Bureau&-_lang=en&-geo_id=05000US09011&-CONTEXT=gct&-format=CO-2&-ds_name=DEC_2000_SF1_U&-amp;-tree_id=4001&-amp;-geo_id=04000US09&-amp;-context=gct&-amp;-CONTEXT=gct ''qv'']</span>)

|map_image_file         = US-CT-New London.png
|map_image_width        = 250px  <!-- Greater than 250px not recommended. -->
|map_image_caption      = Location of New London in Connecticut

|latd  = 41 |latm  = 21 |lats  = 20 |latNS  = N  <!-- If "latNS" is blank, coordinates section ignored. -->
|longd = 72 |longm = 05 |longs = 58 |longEW = W

|elevation              = 56  <!-- Digits only. No commas. Units set by "mi_or_km" above. -->

|coord_elev_notes       = Per U.S. Geological Survey (<span class="plainlinksneverexpand">[http://geonames.usgs.gov/pls/gnispublic/f?p=135:3:8268117628245346792::NO::P3_FID:209237 ''qv'']</span>)

                        <!-- SET TIME ZONE HERE -->
|time_zone_indicator    = E  <!-- Upper-case initial(s) A/E/C/M/P/AK/HA for 
                                  Atlantic/Eastern/Central/Mountain/Pacific/AlasKa/Hawaii-Aleutian time zone -->
|dst_or_std_only        = d  <!-- "d" to observe Daylight Saving Time, "s" for year-round Standard Time. -->

|weather_url            = http://www.erh.noaa.gov/forecast/MapClick.php?CityName=New+London&state=CT&site=OKX&mp=1

|seal_image_file        = Seal of City of New London.png
|seal_image_width       = 155px  <!-- Greater than 250px not recommended. -->
|seal_image_caption     = Seal of the City of New London

|city_motto             = City Motto: {{bsm}}"[[Hugo_Grotius#De_Indis_and_Mare_Liberum|MARE LIBERUM]]"{{esm}} ("Free Seas")

|historic_date1_label   = Settled
|historic_date1_date    = 1646
|historic_date2_label   = Named
|historic_date2_date    = 1658
|historic_date3_label   = [[Municipal corporation|Incorporated]]
|historic_date3_date    = 1784

|form_of_government     = [[Council-manager government|Council - Manager]]

|office1_label          = [[Mayor#United_States|Mayor]]
|office1_name           = Beth Sabilla
|office2_label          = [[City manager|City Manager]]
|office2_name           = Martin Berliner
|office3_label          = [[Superintendent (education)|Supt. of Schools]]
|office3_name           = Christopher Clouet

|web_site1_url          = http://www.ci.new-london.ct.us
|web_site1_link_text    = City of New London
|web_site2_url          = http://www.newlondon.org/
|web_site2_link_text    = New London Public Schools
|web_site3_url          = 
|web_site3_link_text    = 

}}
<!-- End Infobox -->