Template:Infobox settlement: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>OWL
mNo edit summary
meta>OWL
rv accidental edit
Line 1: Line 1:
<noinclude>{{userpage}}</noinclude><includeonly>
<includeonly>{| class="infobox geography" style="width: 23em;"
{| class="infobox geography" style="width: 267px;"
|-
|-class="mergedtoprow"
| 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>}}'''
|-<!-- ***** Skyline Image ***** -->
{{#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>}}
{{!}}-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"
}}<!-- ***** Motto ***** -->
{{#if:{{{motto|}}}|
{{!}} colspan="2" align="center" {{!}} [[Motto]]: {{{motto|}}}
{{!}}-class="mergedrow"
}}<!-- ***** Map ***** -->
{{#if:{{{image_map|}}}|
{{!}} colspan="2" style="text-align: center; padding: 0.7em 0.8em 0.7em 0.8em;" {{!}}
[[Image:{{{image_map|}}}|{{#if:{{{mapsize|}}}|{{{mapsize}}}|250px}}|none|{{{map_caption|Location of {{{official_name|}}}}}}]]{{#if:{{{map_caption|}}}|<small>{{{map_caption|}}}</small>}}
{{!}}-class="mergedbottomrow"
}}<!-- ***** Coordinates ***** -->


{{ #if: {{{city_name|}}} |  
{{#if:{{{latNS|}}}|
! colspan="2" style="text-align: center; font-size: 1.25em; padding-bottom: .33em;" {{!}} {{{city_name}}}
! colspan="2" style="text-align: center; font-size: smaller; {{#if:{{{image_map|}}}|padding-bottom: 0.7em;|border-top: solid 1px #ccd2d9;}}" {{!}} Coordinates:  {{#if:{{{lats|}}}
| {{coor dms|{{{latd}}}|{{{latm}}}|{{{lats|0}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longs|0}}}|{{{longEW}}}|type:city}}
| {{coor dm|{{{latd}}}|{{{latm}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longEW}}}|type:city}}
}}
{{!}}-
}}<!--***** Government *****-->
|- class="mergedtoprow"
! {{{subdivision_type}}}
| {{{subdivision_name}}}
|- class="mergedrow"
{{#if:{{{subdivision_type1|}}}|
! {{!}} {{{subdivision_type1}}}
{{!}} {{!}} {{{subdivision_name1}}}
{{!}}-class="mergedrow"
{{!}}-class="mergedrow"
{{ #if: {{{city_name_alt|}}} |
{{!}} colspan="2" style="text-align: center; font-size: 1em; padding-bottom: .33em;" {{!}} {{{city_name_alt}}}
{{!}}-class="mergedrow" }}
{{ #if: {{{city_nickname|}}} |
{{!}} colspan="2" style="text-align: center; font-size: 1em; padding-bottom: .33em;" {{!}} {{{city_nickname}}}
{{!}}-class="mergedrow" }}
}}
}}
 
{{#if:{{{subdivision_type2|}}}|
{{ #if: {{{city_image1_file|}}}{{{city_image2a_file|}}} |
! {{!}} {{{subdivision_type2}}}
{{!}} colspan="2" style="border: 0; padding: .2em 0 .6em;" {{!}} <div style="height: 1px; background: #ccd2d9;"></div> <!-- BoxRule -->
{{!}} {{!}} {{{subdivision_name2}}}
{{!}}-class="mergedrow"
{{!}}-class="mergedrow"
{{ #if: {{{city_image1_file|}}} |
{{!}} colspan="2" style="text-align: center; padding: .2em 8px .4em;" {{!}} [[Image:{{{city_image1_file}}}|{{{city_image1_width}}}|none]]<small>{{{city_image1_caption|}}}</small> }}
{{ #if: {{{city_image2a_file|}}} |
{{!}}-class="mergedrow"
{{!}} colspan="2" style="text-align: center; padding: .2em 8px .4em;" {{!}}
{{{!}} 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:{{{subdivision_type3|}}}|
{{ #if: {{{polity1_label|}}} |  
! {{!}} {{{subdivision_type3}}}
{{!}} colspan="2" style="border: 0; padding: .2em 0 .6em;" {{!}} <div style="height: 1px; background: #ccd2d9;"></div> <!-- BoxRule -->
{{!}} {{!}} {{{subdivision_name3}}}
{{!}}-class="mergedrow"
{{!}}-class="mergedrow"
! {{{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" }} }} }} }}
}}
}}
 
{{#if:{{{subdivision_type4|}}}|
{{ #if: {{{population|}}}{{{area_whole|}}} |  
! {{!}} {{{subdivision_type4}}}
{{!}} colspan="2" style="border: 0; padding: .2em 0 .6em;" {{!}} <div style="height: 1px; background: #ccd2d9;"></div> <!-- BoxRule -->
{{!}} {{!}} {{{subdivision_name4}}}
{{!}}-class="mergedrow" }}
 
{{ #if: {{{population|}}} |
! Population
{{!}} {{ formatnum: {{{population}}} }} {{ #if: {{{population_as_of_yr|}}} | (as of {{{population_as_of_yr}}}) }}  
{{!}}-class="mergedrow"
{{!}}-class="mergedrow"
{{ #if: {{{area_whole|}}} |
}} <!--***** Established *****-->
{{!}} colspan="2" style="border: 0; padding: 0;" {{!}} <div style="height: .4em;"></div> <!-- BoxBreak -->
{{#if:{{{established_title|}}}|
{{!}}-class="mergedrow" }} }}
! {{{established_title}}}
 
{{!}} {{{established_date}}}
{{ #if: {{{area_whole|}}} |
{{!}}- class="mergedrow"
! 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"
{{ #ifeq: {{{mi_or_km|}}} | mi |
{{!}} align="right" {{!}} {{ #expr: {{{area_whole}}} round 1}}{{ #ifexpr: {{ #expr: {{{area_whole}}} round 1}} = {{ #expr: {{{area_whole}}} round 0}} | .0 |}} [[square mile|sq&nbsp;mi]]
{{!}} width="100%" style="padding-left: 0; padding-right: 0;" {{!}} &nbsp;({{ formatnum: {{ #expr: {{{area_whole}}}*2.59 round 0 }} [[Square kilometre|km&#178;]]}}) }}
{{ #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"
{{!}} &nbsp;Water
{{!}}-class="mergedrow"
{{!}} &nbsp;Land
}}
}}
{{!}}-class="mergedrow"
{{#if:{{{established_title2|}}}|
{{ #if: {{{population_density|}}} |  
! {{{established_title2}}}
{{!}} colspan="2" style="border: 0; padding: 0;" {{!}} <div style="height: .4em;"></div> <!-- BoxBreak -->
{{!}} {{{established_date2}}}
{{!}}-class="mergedrow" }}
{{!}}- class="mergedrow"
}}
}}
 
{{#if:{{{established_title3|}}}|
{{ #if: {{{population_density|}}} |  
! {{{established_title3}}}
! Density
{{!}} {{{established_date3}}}
{{ #ifeq: {{{mi_or_km|}}} | mi |
{{!}}- class="mergedrow"
{{!}} {{ formatnum: {{ #expr: {{{population_density}}} round 0 }} }}/sq&nbsp;mi ({{ formatnum: {{ #expr: {{{population_density}}}*.386 round 0 }} }}/km&#178;) }}  
}}<!-- ***** Government type and Leader ***** -->
{{ #ifeq: {{{mi_or_km|}}} | km |
{{#if:{{{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" }}  
{{!}} {{{government_type}}}
 
{{!}}- class="mergedrow" }}
{{#if:{{{pop_area_notes|}}} |  
{{#if:{{{leader_title|}}}|
{{!}} colspan="2" style="text-align: center; font-size: xx-small; padding-top: .4em;" {{!}} {{{pop_area_notes}}}  
! {{{leader_title}}}
{{!}}-class="mergedrow" }}
{{!}} {{{leader_name}}}
 
{{#if:{{{leader_title1|}}}|
{{ #if: {{{map_image_file|}}}{{{latNS|}}}{{{elevation|}}}{{{coord_elev_notes|}}} |  
{{!}}- class="mergedrow"
{{!}} colspan="2" style="border: 0; padding: .2em 0 .6em;" {{!}} <div style="height: 1px; background: #ccd2d9;"></div> <!-- BoxRule -->
! {{{leader_title1}}}
{{!}}-class="mergedrow"
{{!}} {{{leader_name1}}}
 
{{#if:{{{leader_title2|}}}|
{{ #if: {{{map_image_file|}}} |  
{{!}}- class="mergedrow"
{{!}} colspan="2" style="text-align: center; padding: .2em 8px .4em;" {{!}} [[Image:{{{map_image_file}}}|{{{map_image_width}}}|none]]<small>{{{map_image_caption|}}}</small>
! {{{leader_title2}}}
{{!}}-class="mergedrow" }}
{{!}} {{{leader_name2}}}
 
{{#if:{{{leader_title3|}}}|
{{#if:{{{latNS|}}} |  
{{!}}- class="mergedbottomrow"
{{!}} 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_title3}}}
{{!}}-class="mergedrow" }}
{{!}} {{{leader_name3}}}
 
}} }} }} }}<!-- ***** Geographical characteristics ***** -->
{{#if:{{{elevation|}}} |  
|- <!-- ***** Area ***** --> class="mergedtoprow"
{{ #ifeq: {{{mi_or_km|}}} | mi |
! [[Area]] || &nbsp;
{{!}} 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]]) }}
|- class="mergedrow"
{{ #ifeq: {{{mi_or_km|}}} | km |
! &nbsp;- City
{{!}} 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]]) }}  
| {{#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]]) }}
{{!}}-class="mergedrow" }}
|- class="mergedrow"
 
{{#if:{{{area_land|}}}|
{{#if:{{{latNS|}}} |  
! &nbsp;- Land
{{!}} 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>
{{!}} {{{area_land}}} km²  {{#if:{{{LandArea_sq_mi|}}} | &nbsp;({{{LandArea_sq_mi}}}&nbsp;sq&nbsp;mi)}} }}
{{!}}-class="mergedrow" }}
|- class="mergedrow"
 
{{#if:{{{area_water|}}}|
{{#if:{{{coord_elev_notes|}}} |  
! &nbsp;- Water
{{!}} colspan="2" style="text-align: center; font-size: xx-small; padding-top: .4em;" {{!}} {{{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}}}%}}}}
{{!}}-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: {{{time_zone_indicator|}}} |
{{#if:{{{area_code|}}}|
{{ #ifexpr: not
{{!}} '''Area code(s)''' {{!}}{{!}} {{{area_code}}}
{{ #ifeq:  {{{time_zone_indicator|}}} | A | 1
{{!}}-
| {{ #ifeq: {{{time_zone_indicator|}}} | E | 1
}}<!-- ***** Footnotes ***** -->
| {{ #ifeq: {{{time_zone_indicator|}}} | C | 1
{{#if:{{{footnotes|}}}|
| {{ #ifeq: {{{time_zone_indicator|}}} | M | 1
{{!}} colspan="2" align="center" {{!}} <small>{{{footnotes}}}</small>
| {{ #ifeq: {{{time_zone_indicator|}}} | P | 1
{{!}}-
| {{ #ifeq: {{{time_zone_indicator|}}} | AK | 1
}} <!-- ***** Website ***** -->
| {{ #ifeq: {{{time_zone_indicator|}}} | HA | 1
{{#if:{{{website|}}}|
| 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>
{{ #if: {{{form_of_government|}}}{{{office1_label|}}} |
<div style="display:inline;
! Government
width:50%; float:left;">
{{!}} {{ #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>
<!-- Start Infobox -->
<!-- Infobox begins -->{{Infobox City
{{User:OWL/Infobox City KISS mi
|official_name          =
 
|native_name            =  <!-- for cities whose native name is not in English -->
|city_name              = New London, Connecticut <!-- Next two ignored if "city_name" blank. -->
|nickname              =
|city_name_alt          =  
|motto                  =  
|city_nickname         = "The Whaling City"
|image_skyline         =  
 
|imagesize              =
|city_image1_file      = View of City of New London.jpg
|image_caption          =  
|city_image1_width      = 250px  <!-- Greater than 250px not recommended. -->
|image_flag            =  
|city_image1_caption    = [[Downtown]] New London on the [[Thames River (Connecticut)|]]
|image_seal            =  
                        <!--
|image_shield          =
                        "city_image2a", "2b", and "2c" (below) share one row.
|image_map              =
                        Sum of three widths greater than 250px not recommended.
|mapsize                =
                        All three are optional, but fill "2a" first, "2b" next, and "2c" last.
|map_caption            =
                        Trailing items ignored if "city_image2*_file" is blank.
|subdivision_type      =  
                        -->
|subdivision_name      =  
|city_image2a_file      = Flag of Connecticut.svg
|subdivision_type1      =  
|city_image2a_width    = 83px  <!-- Sum of three widths greater than 250px not recommended. -->
|subdivision_name1     =  
|city_image2a_caption  = Flag
|subdivision_type2      =  
 
|subdivision_name2      =  
|city_image2b_file     = Seal of City of New London.png
|subdivision_type3     =  
|city_image2b_width    = 83px  <!-- Sum of three widths greater than 250px not recommended. -->
|subdivision_name3      =  
|city_image2b_caption  = Seal
|subdivision_type4      =  
 
|subdivision_name4      =  
|city_image2c_file     = Montrealcoa.gif
|government_type        =  
|city_image2c_width    = 83px  <!-- Sum of three widths greater than 250px not recommended. -->
|leader_title          =  
|city_image2c_caption  = Arms
|leader_name            =  
 
|leader_title1         = <!-- for places with, say, both a mayor and a city manager -->
|polity1_label          = [[Country]]
|leader_name1           =  
|polity1_name          = [[United States|United States of America]]
|leader_title2         =
|polity2_label          = [[U.S. State|State]]
|leader_name2           =
|polity2_name          = [[Connecticut]]
|leader_title3         =
|polity3_label         = [[County (United States)#Scope_of_power|County]]
|leader_name3           =  
|polity3_name           = [[New London County, Connecticut|]]
|established_title      =  <!-- Settled -->
|polity4_label         =  
|established_date      =  
|polity4_name           =  
|established_title2    =  <!-- Incorporated (town) -->
|polity5_label         =  
|established_date2      =
|polity5_name           =  
|established_title3    =  <!-- Incorporated (city) -->
 
|established_date3      =
|population            = 25671 <!-- Digits only. No commas. -->
|area_magnitude        =
|population_as_of_yr    = 2000
|area_total            =
 
|TotalArea_sq_mi        =
                        <!-- SET INPUT UNITS AND DISPLAY PRIORITY HERE -->
|area_land              =
|mi_or_km              = mi <!-- "mi" for miles and feet, "km" for metric. -->
|LandArea_sq_mi        =
 
|area_water            =
                        <!-- Digits, optional decimal point only. No commas.
|WaterArea_sq_mi        =
                            Units set by "mi_or_km" above. -->
|area_water_percent    =
|area_whole             = 10.76
|area_urban             =  
|area_water             = 5.23
|UrbanArea_sq_mi        =
|area_land              = 5.54
|area_metro             =  
 
|MetroArea_sq_mi        =  
                        <!-- Digits, optional decimal point only. No commas.
|population_as_of      =
                            Units set by "mi_or_km" above. -->
|population_note        =
|population_density    = 4635.5
|population_total      =
 
|population_density    =  
|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_density_mi2 =
 
|population_metro      =
|map_image_file        = US-CT-New London.png
|population_density_metro_km2 =
|map_image_width        = 250px  <!-- Greater than 250px not recommended. -->
|population_density_metro_mi2 =
|map_image_caption      = Location of New London in Connecticut
|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 -->
</pre>
</div>


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


|elevation              = 56  <!-- Digits only. No commas. Units set by "mi_or_km" above. -->
[[Category:Esoteric templates|{{PAGENAME}}]]
 
[[Category:City infobox templates| ]]
|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>)
[[Category:Templates using ParserFunctions|Infobox City]]
 
[[hu:Sablon:Infobox város]]
                        <!-- SET TIME ZONE HERE -->
[[ja:Template:Infobox City]]
|time_zone_indicator    = E  <!-- Upper-case initial(s) A/E/C/M/P/AK/HA for
[[pt:Predefinição:Infobox Cidade]]
                                  Atlantic/Eastern/Central/Mountain/Pacific/AlasKa/Hawaii-Aleutian time zone -->
[[ro:Format:Infobox City]]
|dst_or_std_only        = d  <!-- "d" to observe Daylight Saving Time, "s" for year-round Standard Time. -->
[[simple:Template:Infobox City]]
 
[[sv:Mall:Ortsfakta]]
|weather_url            = http://www.erh.noaa.gov/forecast/MapClick.php?CityName=New+London&state=CT&site=OKX&mp=1
[[vi:Tiêu bản:Tóm tắt về thành phố]]
 
[[zh:Template:Infobox City]]
|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>
</div>
</noinclude>
</noinclude>

Revision as of 02:07, 22 November 2006

Empty Syntax 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 -->

Template:Esoteric 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