Template:Infobox settlement: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Tobias Conradi
rv, sorry
meta>Rick Block
update to new style, see talk
Line 1: Line 1:
<includeonly>{| class="infobox" style="float: right; width: 23em; font-size: 95%; text-align: left;border-collapse: collapse;"
<includeonly>{| class="infobox geography" style="width: 23em;"
|+ style="font-size: 1.25em;" | '''{{{official_name}}}'''
|+ style="font-size: 1.25em;" | '''{{{official_name}}}'''
|-<!-- ***** Skyline Image ***** -->
|-<!-- ***** Skyline Image ***** -->
{{#if:{{{image_skyline|}}}|
{{#if:{{{image_skyline|}}}|
{{!}} colspan="2" style="text-align: center; padding-top: 0.7em; padding-bottom: 0.7em;" {{!}} [[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-top: 0.7em; padding-bottom: 0.7em;" {{!}} [[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 ***** -->
}}<!-- ***** Flag and Seal ***** -->
{{#if:{{{image_flag|}}}{{{image_seal|}}}|
{{#if:{{{image_flag|}}}{{{image_seal|}}}|
{{!}} colspan="2" align="center" {{#if:{{{image_skyline|}}}| style="border-top: solid 1px #ccd2d9;"}} {{!}}
{{!}} class="maptable" colspan="2" align="center" style="padding: 0.4em 0.8em 0.4em 0.8em;" {{!}}
{{{!}} style="width: 100%; background: none; text-align: center;"
{{{!}} style="width: 100%; background: none; text-align: center;"
{{!}}-
{{!}}-
{{#if:{{{image_flag|}}}| {{!}} style="border: 0; vertical-align: middle;" {{!}} <center><table style="border: 1px solid #eeeeee; cellpadding: 1px;"><tr><td>[[Image:{{{image_flag|}}}|125px|Official flag of {{{official_name|}}}]]</td></tr></table></center> }}
{{#if:{{{image_flag|}}}| {{!}} style="vertical-align: middle;" {{!}} {{border{{!}}[[Image:{{{image_flag|}}}|125px|Official flag of {{{official_name|}}}]]}} }}
{{#if:{{{image_seal|}}}| {{!}} style="border: 0; vertical-align: middle;" {{!}} [[Image:{{{image_seal|}}}|100px|Official seal of {{{official_name|}}}]] }}
{{#if:{{{image_seal|}}}| {{!}} style="vertical-align: middle;" {{!}} [[Image:{{{image_seal|}}}|100px|Official seal of {{{official_name|}}}]] }}
{{!}}-
{{!}}-
{{#if:{{{image_flag|}}}| {{!}} style="border:0;" {{!}} <small>'''[[Flag of {{{official_name}}}|Flag]]'''</small> }}
{{#if:{{{image_flag|}}}| {{!}} <small>'''[[Flag of {{{official_name}}}|Flag]]'''</small> }}
{{#if:{{{image_seal|}}}| {{!}} style="border:0;" {{!}} <small>'''[[Seal of {{{official_name}}}|Seal]]'''</small>}}
{{#if:{{{image_seal|}}}| {{!}} <small>'''[[Seal of {{{official_name}}}|Seal]]'''</small>}}
{{!}}}
{{!}}}
{{!}}-
{{!}}- class="mergedrow"
}}<!-- ***** Nickname ***** -->
}}<!-- ***** Nickname ***** -->
{{#if:{{{nickname|}}}|
{{#if:{{{nickname|}}}|
{{!}} colspan="2" align="center" style="font-size: 85%; line-height:140%;  {{#if:{{{image_flag|}}}{{{image_seal|}}}| border-top: solid 1px #ccd2d9;" | " }} {{!}} [[Nickname]]: "''{{{nickname|}}}''"  
{{!}} colspan="2" align="center" style="font-size: 85%; line-height:140%;  {{!}} [[Nickname]]: "''{{{nickname|}}}''"  
{{!}}-
{{!}}-class="mergedrow"
}}<!-- ***** Motto ***** -->
}}<!-- ***** Motto ***** -->
{{#if:{{{motto|}}}|
{{#if:{{{motto|}}}|
{{!}} colspan="2" align="center" style="font-size: 85%; line-height:140%; {{#if:{{{image_flag|}}}{{{image_seal|}}}{{{nickname|}}}| border-top: solid 1px #ccd2d9;" | " }} {{!}} [[Motto]]: "''{{{motto|}}}''"  
{{!}} colspan="2" align="center" style="font-size: 85%; line-height:140%; {{!}} [[Motto]]: "''{{{motto|}}}''"  
{{!}}-
{{!}}-class="mergedrow"
}}<!-- ***** Postal Code(s) ***** -->
}}<!-- ***** Postal Code(s) ***** -->
{{#if:{{{code_type|}}}|
{{#if:{{{code_type|}}}|
{{!}} colspan="2" align="center" style="font-size: 85%; line-height:140%;  
{{!}} colspan="2" align="center" style="font-size: 85%; line-height:140%; {{!}}  
{{#if:{{{image_flag|}}}{{{image_seal|}}}{{{nickname|}}}{{{motto|}}}| border-top: solid 1px #ccd2d9;" | " }} {{!}}  
[[{{{postal_code_type}}}]]: ''{{{postal_code}}}''
[[{{{postal_code_type}}}]]: ''{{{postal_code}}}''
{{!}}-
{{!}}-class="mergedrow"
}}<!-- ***** Map ***** -->
}}<!-- ***** Map ***** -->
{{#if:{{{image_map|}}}|
{{#if:{{{image_map|}}}|
! colspan="2" style="background-color: #e0e0e0; text-align: center;" {{!}} Location
{{!}}-
{{!}} colspan="2" style="text-align: center; padding-top: 0.7em; padding-bottom: 0.7em;" {{!}}  
{{!}} colspan="2" style="text-align: center; padding-top: 0.7em; padding-bottom: 0.7em;" {{!}}  
[[Image:{{{image_map|}}}|{{#if:{{{mapsize|}}}|{{{mapsize}}}|250px}}|none|{{{map_caption|Location of {{{official_name|}}}}}}]]{{#if:{{{map_caption|}}}|<small>{{{map_caption|}}}</small>}}
[[Image:{{{image_map|}}}|{{#if:{{{mapsize|}}}|{{{mapsize}}}|250px}}|none|{{{map_caption|Location of {{{official_name|}}}}}}]]{{#if:{{{map_caption|}}}|<small>{{{map_caption|}}}</small>}}
{{!}}-
{{!}}-class="mergedbottomrow"
}}<!-- ***** Coordinates ***** -->
}}<!-- ***** Coordinates ***** -->


Line 47: Line 44:
{{!}}-
{{!}}-
}}<!--***** Government *****-->
}}<!--***** Government *****-->
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Government
|- class="mergedtoprow"
|- class="mergedtoprow"
! style="background: #EDEDED;"| {{{subdivision_type}}}
! {{{subdivision_type}}}
| {{{subdivision_name}}}
| {{{subdivision_name}}}
|- class="mergedrow"
|- class="mergedrow"
{{#if:{{{subdivision_type1|}}}|
{{#if:{{{subdivision_type1|}}}|
! style="background: #EDEDED; text-indent: 0.75em;"{{!}} {{{subdivision_type1}}}
! style="text-indent: 0.75em;"{{!}} {{{subdivision_type1}}}
{{!}} style="text-indent: 0.75em;"{{!}} {{{subdivision_name1}}}
{{!}} style="text-indent: 0.75em;"{{!}} {{{subdivision_name1}}}
{{!}}-
{{!}}-class="mergedrow"
}}
}}
{{#if:{{{subdivision_type2|}}}|
{{#if:{{{subdivision_type2|}}}|
! style="background: #EDEDED; text-indent: 0.75em;"{{!}} {{{subdivision_type2}}}
! style="text-indent: 0.75em;"{{!}} {{{subdivision_type2}}}
{{!}} style="text-indent: 0.75em;"{{!}} {{{subdivision_name2}}}
{{!}} style="text-indent: 0.75em;"{{!}} {{{subdivision_name2}}}
{{!}}-
{{!}}-class="mergedrow"
}} <!--***** Established *****-->
}} <!--***** Established *****-->
{{#if:{{{established_title|}}}|
{{#if:{{{established_title|}}}|
! style="background: #EDEDED;"{{!}}{{{established_title}}}
! {{{established_title}}}
{{!}} {{{established_date}}}
{{!}} {{{established_date}}}
{{!}}- class="mergedrow"
{{!}}- class="mergedrow"
}}
}}
{{#if:{{{established_title2|}}}|
{{#if:{{{established_title2|}}}|
! style="background: #EDEDED;"{{!}}{{{established_title2}}}
! {{{established_title2}}}
{{!}} {{{established_date2}}}
{{!}} {{{established_date2}}}
{{!}}- class="mergedrow"
{{!}}- class="mergedrow"
}}
}}
{{#if:{{{established_title3|}}}|
{{#if:{{{established_title3|}}}|
! style="background: #EDEDED;"{{!}}{{{established_title3}}}
! {{{established_title3}}}
{{!}} {{{established_date3}}}
{{!}} {{{established_date3}}}
{{!}}- class="mergedrow"
{{!}}- class="mergedbottomrow"
}}<!-- ***** Leader ***** -->
}}<!-- ***** Leader ***** -->
{{#if:{{{leader_title|}}}|
{{#if:{{{leader_title|}}}|
! style="background: #EDEDED;"{{!}}{{{leader_title}}}
! {{{leader_title}}}
{{!}} {{{leader_name}}}
{{!}} {{{leader_name}}}
{{!}}-
}}<!-- ***** Geographical characteristics ***** -->
}}<!-- ***** Geographical characteristics ***** -->
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Geographical characteristics
|- <!-- ***** Area ***** --> class="mergedtoprow"
|- <!-- ***** Area ***** --> class="mergedtoprow"
! style="background: #EDEDED;"|[[Area]]
! [[Area]] || &nbsp;
|- class="mergedrow"
! &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}}}_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:{{{area_land|}}}|
! style="background: #EDEDED;" {{!}} &nbsp;&nbsp;&nbsp;&nbsp;Land  
! &nbsp;- Land  
{{!}} &nbsp;&nbsp;{{{area_land}}} km²  {{#if:{{{LandArea_sq_mi|}}} | &nbsp;({{{LandArea_sq_mi}}}&nbsp;sq&nbsp;mi)}} }}
{{!}} {{{area_land}}} km²  {{#if:{{{LandArea_sq_mi|}}} | &nbsp;({{{LandArea_sq_mi}}}&nbsp;sq&nbsp;mi)}} }}
|- class="mergedrow"
|- class="mergedrow"
{{#if:{{{area_water|}}}|
{{#if:{{{area_water|}}}|
! style="background: #EDEDED;" {{!}} &nbsp;&nbsp;&nbsp;&nbsp;Water  
! &nbsp;- Water  
{{!}} &nbsp;&nbsp;{{{area_water}}} km²{{#if:{{{WaterArea_sq_mi|}}} | &nbsp;({{{WaterArea_sq_mi}}}&nbsp;sq&nbsp;mi)}} {{#if:{{{area_water_percent|}}}| &nbsp;{{{area_water_percent}}}%}}}}
{{!}} {{{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|}}}|
{{#if:{{{area_urban|}}}|
! style="background: #EDEDED;" {{!}} &nbsp;&nbsp;Urban  
! &nbsp;- Urban  
{{!}} {{{area_urban}}} km²{{#if:{{{UrbanArea_sq_mi|}}} | &nbsp;({{{UrbanArea_sq_mi}}}&nbsp;sq&nbsp;mi)}} }}
{{!}} {{{area_urban}}} km²{{#if:{{{UrbanArea_sq_mi|}}} | &nbsp;({{{UrbanArea_sq_mi}}}&nbsp;sq&nbsp;mi)}} }}
|- class="mergedrow"
|- class="mergedrow"
{{#if:{{{area_metro|}}}|  
{{#if:{{{area_metro|}}}|  
! style="background: #EDEDED;" {{!}} &nbsp;&nbsp;Metro  
! &nbsp;- Metro  
{{!}}  {{{area_metro}}} km²{{#if:{{{MetroArea_sq_mi|}}} | &nbsp;({{{MetroArea_sq_mi}}}&nbsp;sq&nbsp;mi)}} }}
{{!}}  {{{area_metro}}} km²{{#if:{{{MetroArea_sq_mi|}}} | &nbsp;({{{MetroArea_sq_mi}}}&nbsp;sq&nbsp;mi)}} }}
|- <!-- ***** Elevation ***** -->
|- <!-- ***** Elevation ***** --> class="mergedbottomrow"
{{#if:{{{elevation|}}}|
{{#if:{{{elevation|}}}|
! style="background: #EDEDED;"{{!}}[[Elevation]]
! [[Elevation]]
{{!}} {{{elevation}}} [[metre|m]] {{#if:{{{elevation_ft|}}}|&nbsp;({{{elevation_ft}}} [[foot (unit of length)|ft]])}}
{{!}} {{{elevation}}} [[metre|m]] {{#if:{{{elevation_ft|}}}|&nbsp;({{{elevation_ft}}} [[foot (unit of length)|ft]])}}
{{!}}-
{{!}}-
}}<!-- ***** Demographics ***** -->
}}|- <!-- ***** Population ***** --> class="mergedtoprow"
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Demographics
! Population ||&nbsp;
|- <!-- ***** Population ***** --> style="border-top: solid 1px #ccd2d9;"
|- class="mergedrow"
! style="background: #EDEDED; " |[[Population]]&nbsp;({{{population_as_of}}})
! &nbsp;- City ({{{population_as_of}}})  
|{{{population_total}}}  
|{{{population_total}}}  
|- class="mergedrow"
|- class="mergedrow"
{{#if:{{{population_density|}}}|
{{#if:{{{population_density|}}}|
! style="background: #EDEDED; white-space: nowrap;" {{!}} &nbsp;&nbsp;&nbsp;&nbsp;[[Population density|Density]]  
! &nbsp;- [[Population density|Density]]  
{{!}} &nbsp;&nbsp;{{{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|}}}|  
! style="background: #EDEDED; white-space: nowrap;" {{!}} &nbsp;&nbsp;[[Urban area|Urban]]  
! &nbsp;- [[Urban area|Urban]]  
{{!}} {{{population_urban}}} }}
{{!}} {{{population_urban}}} }}
|- class="mergedrow"
|- class="mergedrow"
{{#if:{{{population_metro|}}}|  
{{#if:{{{population_metro|}}}|  
! style="background: #EDEDED; white-space: nowrap;" {{!}} &nbsp;&nbsp;[[Metropolitan area|Metro]]
! &nbsp;- [[Metropolitan area|Metro]]
{{!}} {{{population_metro}}} }}
{{!}} {{{population_metro}}} }}
|- class="mergedrow"
|- class="mergedrow"
{{#if:{{{population_density_metro_km2|}}}|
{{#if:{{{population_density_metro_km2|}}}|
! style="background: #EDEDED; white-space: nowrap;" {{!}} &nbsp;&nbsp; [[Population density|-Metro Density]]  
! &nbsp;- [[Population density|Metro Density]]  
{{!}} &nbsp;&nbsp;{{{population_density_metro_km2}}}/km²{{#if:{{{population_density_metro_mi2|}}}|&nbsp;({{{population_density_metro_mi2}}}/sq&nbsp;mi)}} }}
{{!}} &nbsp;&nbsp;{{{population_density_metro_km2}}}/km²{{#if:{{{population_density_metro_mi2|}}}|&nbsp;({{{population_density_metro_mi2}}}/sq&nbsp;mi)}} }}
|- class="mergedrow"
|- class="mergedbottomrow"
{{#if:{{{population_note|}}}|
{{#if:{{{population_note|}}}|
! style="background: #EDEDED;" {{!}} &nbsp;
! &nbsp;
{{!}} <small>''{{{population_note}}}''</small> }}
{{!}} <small>''{{{population_note}}}''</small> }}
|- <!-- ***** Time Zone ***** -->
|- <!-- ***** Time Zone ***** --> class="mergedtoprow"
{{#if:{{{timezone|}}}|
{{#if:{{{timezone|}}}|
! style="background: #EDEDED; white-space: nowrap;"{{!}}[[Time zone]] {{#if:{{{timezone_DST|}}}|<br>&nbsp;&nbsp;Summer&nbsp;([[Daylight saving time|DST]])}}
! [[Time zone]]
{{!}} {{{timezone}}} ([[UTC{{{utc_offset}}}]]) {{#if:{{{timezone_DST|}}}|<br>{{{timezone_DST|}}} ([[UTC{{{utc_offset_DST|}}}]])}}
{{!}} {{{timezone}}} ([[UTC{{{utc_offset}}}]])
{{!}}- class="mergedbottomrow"
{{#if:{{{timezone_DST|}}}| {{!}}&nbsp;- Summer&nbsp;([[Daylight saving time|DST]])
{{!}} {{{timezone_DST|}}} ([[UTC{{{utc_offset_DST|}}}]]) }}
{{!}}-
{{!}}-
}} <!-- ***** Footnotes ***** -->
}} <!-- ***** Footnotes ***** -->
{{#if:{{{footnotes|}}}|
{{#if:{{{footnotes|}}}|
{{!}} colspan="2" align="center" style="border-top: solid 1px #ccd2d9;" {{!}} <small>{{{footnotes}}}</small>
{{!}} colspan="2" align="center" {{!}} <small>{{{footnotes}}}</small>
{{!}}-
{{!}}-
}} <!-- ***** Website ***** -->
}} <!-- ***** Website ***** -->
{{#if:{{{website|}}}|
{{#if:{{{website|}}}|
{{!}}-
{{!}}-
{{!}} colspan="2" align="center" style="border-top: solid 1px #ccd2d9;" {{!}} '''Website:'''  {{{website}}}
{{!}} colspan="2" align="center" {{!}} '''Website:'''  {{{website}}}
{{!}}-
{{!}}-
}}
}}

Revision as of 00:45, 1 September 2006

Empty Syntax For question or examples see the talk page.

<!-- Infobox begins -->{{Infobox City
|official_name          = 
|nickname               = 
|motto                  = 
|postal_code_type       =  <!-- enter ZIP code, Postcode, Post code, Postal code... -->
|postal_code            =
|image_skyline          = 
|imagesize              = 
|image_caption          = 
|image_flag             = 
|image_seal             = 
|image_map              = 
|mapsize                = 
|map_caption            = 
|subdivision_type       = 
|subdivision_name       = 
|subdivision_type1      = 
|subdivision_name1      = 
|subdivision_type2      = 
|subdivision_name2      = 
|leader_title           = 
|leader_name            = 
|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       = 
|timezone               = 
|utc_offset             = 
|timezone_DST           = 
|utc_offset_DST         = 
|latd= |latm= |lats= |latNS=
|longd= |longm= |longs= |longEW=
|elevation              = 
|elevation_ft           = 
|website                = 
|footnotes              = 
}} <!-- Infobox ends -->

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