Template:Infobox settlement: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Harpchad
First phase merge with Infobox US City, see discussion at WP:CITY
meta>Harpchad
rv, too many broken pages, more testing needed
Line 1: Line 1:
{| class="infobox" style="width: 23em; font-size: 95%; text-align: left;"
{|class="infobox" style="width: 23em; font-size: 95%; text-align: left;"
|+ style="font-size: 1.25em;" | '''{{{official_name}}}'''
|+ style="font-size: 1.25em;" | '''{{{official_name}}}'''
<!-- ***** Skyline Image ***** -->
{{#if:{{{image_skyline|}}}|<tr><td colspan="2" style="text-align: center; padding-top: 0.7em; padding-bottom: 0.7em;">[[Image:{{{image_skyline|}}}|250px|{{{imagesize|}}}|none|{{{image_caption|Skyline of {{{official_name|}}}}}}]]{{#if:{{{image_caption|}}}|<small>{{{image_caption|}}}</small>}}</td></tr>}}<!--
{{#if:{{{image_skyline|}}}|
-->{{#if:{{{image_flag|}}}{{{image_seal|}}}|<tr><td colspan="2" style="text-align: center;"><table align="center" style="background: none;"><tr style="text-align: center;"><!--
{{!}} colspan="2" style="text-align: center; padding-top: 0.7em; padding-bottom: 0.7em;" {{!}} [[Image:{{{image_skyline|}}}|250px|{{{imagesize|}}}|none|{{{image_caption|Skyline of {{{official_name|}}}}}}]]{{#if:{{{image_caption|}}}|<small>{{{image_caption|}}}</small>}}
-->{{#if:{{{image_flag|}}}|<td style="width: 125px; vertical-align: bottom;">[[Image:{{{image_flag|}}}|100px|Official flag of {{{official_name|}}}]]<br /><small><b>Flag</b></small></td>}}<!--
{{!}}-
-->{{#if:{{{image_seal|}}}|<td style="vertical-align: bottom;">[[Image:{{{image_seal|}}}|{{{image_seal_size|100px}}}|Official seal of {{{official_name|}}}]]<br /><small><b>Seal</b></small></td>}}<!--
}}
--></tr></table></td></tr>}}<!--
<!-- ***** Flag and Seal ***** -->
-->{{#if:{{{nickname|}}}|<tr style="font-size: smaller; text-align: center;"><td colspan="2">[[Nickname]]: "''{{{nickname|}}}''"</td></tr>}}<!--
{{#if:{{{image_flag|}}}{{{image_seal|}}}|
-->{{#if:{{{motto|}}}|<tr style="font-size: smaller; text-align: center;"><td colspan="2">[[Motto]]: "''{{{motto|}}}''"</td></tr>}}<!--
{{!}} colspan="2" align="center" {{#if:{{{image_skyline|}}}| style="border-top: solid 1px #ccd2d9;"}} {{!}}
-->{{#if:{{{website|}}}|<tr style="font-size: smaller; text-align: center;"><td colspan="2">Official website: {{{website|}}}</td></tr>}}<!--
{{{!}} style="width: 23em; background: none; text-align: center;"
-->{{#if:{{{image_map|}}}|<tr><th colspan="2" style="background-color: #e0e0e0; text-align: center;">Location</th></tr><tr><td align="center" colspan="2" style="font-size: smaller;">[[Image:{{{image_map|}}}|250px|{{{mapsize|}}}|Location of {{{official_name|}}}]] <br /> {{{map_caption|}}}</td></tr>}}
{{!}}-
{{#if:{{{image_flag|}}}| {{!}} style="vertical-align: middle;" {{!}} [[Image:{{{image_flag|}}}|125px|Official flag of {{{official_name|}}}]] }}
{{#if:{{{image_seal|}}}| {{!}} style="vertical-align: middle;" {{!}} [[Image:{{{image_seal|}}}|100px|Official seal of {{{official_name|}}}]] }}
{{!}}-
{{#if:{{{image_flag|}}}| {{!}} <small>'''Flag'''</small> }}
{{#if:{{{image_seal|}}}| {{!}} <small>'''Seal'''</small>}}
{{!}}}}}
<!-- ***** Nickname ***** -->
{{#if:{{{nickname|}}}|
{{!}}-
{{!}} colspan="2" align="center" style="font-size: smaller; {{#if:{{{image_flag|}}}{{{image_seal|}}}| border-top: solid 1px #ccd2d9;" | " }} {{!}} [[Nickname]]<br> "''{{{nickname|}}}''" }}
<!-- ***** Motto ***** -->
{{#if:{{{motto|}}}|
{{!}}-
{{!}} colspan="2" align="center" style="font-size: smaller; {{#if:{{{image_flag|}}}{{{image_seal|}}}{{{nickname|}}}| border-top: solid 1px #ccd2d9;" | " }} {{!}} [[Motto]]<br> "''{{{motto|}}}''" }}
<!-- ***** Map ***** -->
{{#if:{{{image_map|}}}|
{{!}}-
! colspan="2" style="background-color: #e0e0e0; text-align: center;" {{!}} Location
{{!}}-
{{!}} align="center" colspan="2" style="font-size: smaller;" {{!}} [[Image:{{{image_map|}}}|250px|{{{mapsize|}}}|Location of {{{official_name|}}}]] <br> {{{map_caption|}}} }}
<!--***** Government *****-->
|-
|-
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Government
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Government
|-
|-
! style="background: #EDEDED;"| {{{subdivision_type}}}
! {{{subdivision_type}}}
| {{{subdivision_name}}}
| {{{subdivision_name}}}
{{#if:{{{established_title|}}}|<tr><th>{{{established_title|}}}</th><td>{{{established_date|}}}</td></tr>}}
{{#if:{{{leader_name|}}}|<tr><th>{{{leader_title|}}}</th><td>{{{leader_name|}}}</td></tr>}}
|-
|-
<!--***** Established *****-->
{{#if:{{{established_title|}}}|
{{!}}-
! style="background: #EDEDED;"{{!}}{{{established_title}}}
{{!}} {{{established_date}}}
{{!}}-}}
<!-- ***** Leader ***** -->
{{#if:{{{leader_title|}}}|
{{!}}-
! style="background: #EDEDED;"{{!}}{{{leader_title}}}
{{!}} {{{leader_name}}}
{{!}}-}}
|-
<!-- ***** Geographical characteristics ***** -->
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Geographical characteristics
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Geographical characteristics
|-
|-
<!-- ***** Area ***** -->
! [[Area]]
! style="background: #EDEDED;"|[[Area]]<br>&nbsp;- Total<br>&nbsp;- Land<br>&nbsp;- Water
| style="white-space: nowrap;" |
| <br> [[{{{area_magnitude}}}_m²|{{{area_total}}} km²]]{{#if:{{{TotalArea_sq_mi|}}} |&nbsp;({{{TotalArea_sq_mi}}}&nbsp;[[square mile|sq&nbsp;mi]])}} <br> {{{area_land}}} [[Square kilometre|km²]]{{#if:{{{LandArea_sq_mi|}}} | &nbsp;({{{LandArea_sq_mi}}}&nbsp;sq&nbsp;mi)}} <br> {{{area_water}}} km²{{#if:{{{WaterArea_sq_mi|}}} | &nbsp;({{{WaterArea_sq_mi}}}&nbsp;sq&nbsp;mi)}}
|- style="text-indent: 1em;"
! Total
| style="white-space: nowrap; text-indent: 0em;" |
{{#if:{{{area_magnitude|}}} |
    {{#if:{{{TotalArea_sq_mi|}}} |
        [[{{{area_magnitude}}}_m²|{{{TotalArea_sq_mi}}} sq&nbsp;mi&nbsp; ({{{area_total}}} km²)]]
    |
        [[{{{area_magnitude}}}_m²|{{{area_total}}} km²]]
    }}
|
    {{#if:{{{TotalArea_sq_mi|}}} |
        {{{TotalArea_sq_mi}}} sq&nbsp;mi&nbsp; ({{{area_total}}} km²)
    |
        {{{area_total}}} km²
    }}
}}
|- style="text-indent: 2em;"
! Land
| style="white-space: nowrap; text-indent: 1em;" | {{#if:{{{LandArea_sq_mi|}}}  
  | {{{LandArea_sq_mi|}}}&nbsp;[[square mile|sq&nbsp;mi]]&nbsp; ({{{area_land}}} [[Square kilometre|km²]])
  | {{{area_land}}} [[Square kilometre|km²]]}}
|- style="text-indent: 2em;"
! Water
| style="white-space: nowrap; text-indent: 1em;" | {{#if:{{{WaterArea_sq_mi|}}}  
  | {{{WaterArea_sq_mi|}}}&nbsp;sq&nbsp;mi&nbsp; ({{{area_water}}} km²)  
  | {{{area_water}}} km²}}
|-
|-
<!-- ***** Population ***** -->
! style="white-space: nowrap;" | [[Population]] ({{{population_as_of}}})
! style="background: #EDEDED; white-space: nowrap;" |[[Population]] <br>&nbsp;- Total ({{{population_as_of}}}){{#if:{{{population_density|}}}|<br>&nbsp;- [[Population density|Density]]}}{{#if:{{{population_metro|}}}| <br>&nbsp;- [[Metropolitan area|Metro area]]}}{{#if:{{{population_urban|}}}| <br>&nbsp;- [[Urban area]]}}
{{#if:{{{population_note|}}}|<td style="white-space: nowrap; text-indent: 1em;>{{{population_note}}} </td>}}
| style="white-space: nowrap;" | <br>{{{population_total}}} {{#if:{{{population_density|}}}| <br>{{{population_density}}}/[[Square kilometre|km²]]{{#if:{{{population_density_mi2|}}}|&nbsp;({{{population_density_mi2}}}/[[Square mile|sq&nbsp;mi]])}}}} {{#if:{{{population_metro|}}}| <br>{{{population_metro}}}}} {{#if:{{{population_urban|}}}| <br>{{{population_urban}}}}} {{#if:{{{population_note|}}}|<br> <small>''{{{population_note}}}''</small> }}
|- style="text-indent: 1em;"
! style="white-space: nowrap;" | City proper
| style="white-space: nowrap; text-indent: 0em;" | {{{population_total}}}
|- style="text-indent: 2em;"
! [[Population density|Density]]
| style="white-space: nowrap; text-indent: 1em;" | {{#if:{{{population_density_mi2|}}}|{{{population_density_mi2|}}}&nbsp;/sq&nbsp;mi&nbsp; ({{{population_density}}} /km²)|{{{population_density}}} /km²}}<!--
-->{{#if:{{{population_urban|}}}|<tr style="text-indent: 1em; white-space: nowrap;"><th style="white-space: nowrap;">[[Urban area]]</th><td style="white-space: nowrap; text-indent: 1em;>{{{population_urban}}}</td></tr>}}<!--
-->{{#if:{{{population_metro|}}}|<tr style="text-indent: 1em; white-space: nowrap;"><th style="white-space: nowrap;">[[Metropolitan area|Metro area]]</th><td style="white-space: nowrap; text-indent: 1em;>{{{population_metro}}}</td></tr>}}<!--
-->{{#if:{{{latNS|}}}|<tr><th>[[Geographic coordinate system|Coordinates]]</th><td><span class="plainlinksneverexpand"
>[http://kvaleberg.com/extensions/mapsources/index.php?params={{{latd}}}_{{{latm}}}_{{{lats|0}}}_{{{latNS}}}_{{{longd}}}_{{{longm}}}_{{{longs|0}}}_{{{longEW}}}<!--_type:city({{{population_total}}})-->  {{{latd}}}°{{{latm}}}′{{{lats|0}}}″&nbsp;{{{latNS}}} <br/>  {{{longd}}}°{{{longm}}}′{{{longs|0}}}″&nbsp;{{{longEW}}}]</span></td></tr>}}<!--
-->{{#if:{{{elevation_ft|}}}|<tr><th>[[Elevation]]</th><td style="white-space: nowrap;">{{{elevation_ft|}}} [[foot (unit of length)|ft]]&nbsp;&nbsp;&nbsp;({{{elevation|}}} [[metre|m]])</td></tr> |{{#if:{{{elevation|}}}|<tr><th>[[Elevation]]</th><td style="white-space: nowrap;">{{{elevation|}}} [[metre|m]]</td></tr>}}}}
|-
|-
<!-- ***** Coordinates ***** -->
! [[Time zone]]
{{#if:{{{latNS|}}}|
|   {{{timezone}}} ([[UTC{{{utc_offset}}}]])
{{!}}-
{{#if:{{{timezone_DST|}}}|<tr style="text-indent: 1em;"><th>Summer&nbsp;([[Daylight saving time|DST]])</th><td>{{{timezone_DST|}}} ([[UTC{{{utc_offset_DST|}}}]])</td></tr>}}<!--
! style="background: #EDEDED;"{{!}}[[Geographic coordinate system|Coordinates]]
-->{{#if:{{{footnotes|}}}|<tr><td colspan="2">{{{footnotes|}}}</td></tr>}}
{{!}} {{coor dms|{{{latd}}}|{{{latm}}}|{{{lats|0}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longs|0}}}|{{{longEW}}}}}
|}<noinclude>
{{!}}-}}
[[Category:Infobox templates|City]]
<!-- ***** Elevation ***** -->
[[Category:Coordinates templates|{{PAGENAME}}]]
{{#if:{{{elevation|}}}|
{{!}}-
! style="background: #EDEDED;"{{!}}[[Elevation]]
{{!}} {{{elevation}}} [[metre|m]] {{#if:{{{elevation_ft|}}}|&nbsp;({{{elevation_ft}}} [[foot (unit of length)|ft]])}}
{{!}}-}}
<!-- ***** Time Zone ***** -->
{{#if:{{{timezone|}}}|
{{!}}-
! style="background: #EDEDED;"{{!}}[[Time zone]] {{#if:{{{timezone_DST|}}}|<br>- Summer&nbsp;([[Daylight saving time|DST]])}}
{{!}} {{{timezone}}} ([[UTC{{{utc_offset}}}]]) {{#if:{{{timezone_DST|}}}|<br>{{{timezone_DST|}}} ([[UTC{{{utc_offset_DST|}}}]])}}
{{!}}-}}
<!-- ***** Footnotes ***** -->
{{#if:{{{footnotes|}}}|
{{!}}-
{{!}} colspan="2" align="center" {{!}} <small>{{{footnotes}}}</small>
{{!}}-}}
<!-- ***** Website ***** -->
{{#if:{{{website|}}}|
{{!}}-
{{!}} colspan="2" align="center" style="border-top: solid 1px #ccd2d9;" {{!}} '''Website:''' [{{{website|}}} {{{website}}}]
{{!}}-}}
|}
<noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[ro:Format:Infobox_City]]
[[ro:Format:Infobox_City]]
</noinclude>
</noinclude>

Revision as of 19:32, 24 May 2006

{{{official_name}}}
Government
{{{subdivision_type}}} {{{subdivision_name}}}


Geographical characteristics
Area
Total

{{{area_total}}} km²

Land {{{area_land}}} km²
Water {{{area_water}}} km²
Population ({{{population_as_of}}})
City proper {{{population_total}}}
Density {{{population_density}}} /km²
Time zone {{{timezone}}} ([[UTC{{{utc_offset}}}]])

ro:Format:Infobox_City