Template:Infobox settlement: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Harpchad
Fix problems with size of nested flag/seal table and skyline/map image size
meta>Harpchad
Table overhaul to fix vertical spacing
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 ***** -->
<!-- ***** Skyline Image ***** -->
{{#if:{{{image_skyline|}}}|
{{#if:{{{image_skyline|}}}|
Line 17: Line 18:
{{#if:{{{image_seal|}}}| {{!}} <small>'''Seal'''</small>}}
{{#if:{{{image_seal|}}}| {{!}} <small>'''Seal'''</small>}}
{{!}}}
{{!}}}
{{!}}-
}}
}}
<!-- ***** Nickname ***** -->
<!-- ***** Nickname ***** -->
{{#if:{{{nickname|}}}|
{{#if:{{{nickname|}}}|
{{!}} colspan="2" align="center" style="font-size: smaller; {{#if:{{{image_flag|}}}{{{image_seal|}}}| border-top: solid 1px #ccd2d9;" | " }} {{!}} [[Nickname]]<br> "''{{{nickname|}}}''"
{{!}}-
{{!}}-
{{!}} colspan="2" align="center" style="font-size: smaller; {{#if:{{{image_flag|}}}{{{image_seal|}}}| border-top: solid 1px #ccd2d9;" | " }} {{!}} [[Nickname]]<br> "''{{{nickname|}}}''" }}
}}
<!-- ***** Motto ***** -->
<!-- ***** Motto ***** -->  
{{#if:{{{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|}}}''"
{{!}}-
{{!}}-
{{!}} colspan="2" align="center" style="font-size: smaller; {{#if:{{{image_flag|}}}{{{image_seal|}}}{{{nickname|}}}| border-top: solid 1px #ccd2d9;" | " }} {{!}} [[Motto]]<br> "''{{{motto|}}}''" }}
}}
<!-- ***** Map ***** -->
<!-- ***** Map ***** -->
{{#if:{{{image_map|}}}|
{{#if:{{{image_map|}}}|
{{!}}-
! colspan="2" style="background-color: #e0e0e0; text-align: center;" {{!}} Location
! colspan="2" style="background-color: #e0e0e0; text-align: center;" {{!}} Location
{{!}}-
{{!}}-
Line 36: Line 39:
}}
}}
<!--***** Government *****-->
<!--***** Government *****-->
|-
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Government
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Government
|-
|-
Line 44: Line 46:
<!--***** Established *****-->
<!--***** Established *****-->
{{#if:{{{established_title|}}}|
{{#if:{{{established_title|}}}|
{{!}}-
! style="background: #EDEDED;"{{!}}{{{established_title}}}
! style="background: #EDEDED;"{{!}}{{{established_title}}}
{{!}} {{{established_date}}}
{{!}} {{{established_date}}}
{{!}}-}}
{{!}}-
}}
<!-- ***** Leader ***** -->
<!-- ***** Leader ***** -->
{{#if:{{{leader_title|}}}|
{{#if:{{{leader_title|}}}|
{{!}}-
! style="background: #EDEDED;"{{!}}{{{leader_title}}}
! style="background: #EDEDED;"{{!}}{{{leader_title}}}
{{!}} {{{leader_name}}}
{{!}} {{{leader_name}}}
{{!}}-}}
{{!}}-
|-
}}
<!-- ***** Geographical characteristics ***** -->
<!-- ***** Geographical characteristics ***** -->
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Geographical characteristics
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Geographical characteristics
Line 68: Line 69:
<!-- ***** Coordinates ***** -->
<!-- ***** Coordinates ***** -->
{{#if:{{{latNS|}}}|
{{#if:{{{latNS|}}}|
{{!}}-
! style="background: #EDEDED;"{{!}}[[Geographic coordinate system|Coordinates]]
! style="background: #EDEDED;"{{!}}[[Geographic coordinate system|Coordinates]]
{{!}} {{coor dms|{{{latd}}}|{{{latm}}}|{{{lats|0}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longs|0}}}|{{{longEW}}}}}
{{!}} {{coor dms|{{{latd}}}|{{{latm}}}|{{{lats|0}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longs|0}}}|{{{longEW}}}}}
{{!}}-}}
{{!}}-
}}
<!-- ***** Elevation ***** -->
<!-- ***** Elevation ***** -->
{{#if:{{{elevation|}}}|
{{#if:{{{elevation|}}}|
{{!}}-
! style="background: #EDEDED;"{{!}}[[Elevation]]
! style="background: #EDEDED;"{{!}}[[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]])}}
{{!}}-}}
{{!}}-
}}
<!-- ***** Time Zone ***** -->
<!-- ***** Time Zone ***** -->
{{#if:{{{timezone|}}}|
{{#if:{{{timezone|}}}|
{{!}}-
! style="background: #EDEDED;"{{!}}[[Time zone]] {{#if:{{{timezone_DST|}}}|<br>- Summer&nbsp;([[Daylight saving time|DST]])}}
! 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|}}}]])}}
{{!}} {{{timezone}}} ([[UTC{{{utc_offset}}}]]) {{#if:{{{timezone_DST|}}}|<br>{{{timezone_DST|}}} ([[UTC{{{utc_offset_DST|}}}]])}}
{{!}}-}}
{{!}}-
}}
<!-- ***** Footnotes ***** -->
<!-- ***** Footnotes ***** -->
{{#if:{{{footnotes|}}}|
{{#if:{{{footnotes|}}}|
{{!}}-
{{!}} colspan="2" align="center" {{!}} <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" style="border-top: solid 1px #ccd2d9;" {{!}} '''Website:'''  {{{website}}}
}}
{{!}}-}}
|}
|}
<noinclude>
<noinclude>

Revision as of 21:13, 30 May 2006

{{{official_name}}}
Government
{{{subdivision_type}}} {{{subdivision_name}}}
Geographical characteristics
Area
 - City

[[{{{area_magnitude}}}_m²|{{{area_total}}} km²]]
Population
 - City ({{{population_as_of}}})

{{{population_total}}}

ro:Format:Infobox_City