Template:Infobox settlement: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Harpchad rv, too many broken pages, more testing needed |
meta>Harpchad Merge attempt 2, image size problems resolved |
||
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}}}''' | ||
{{#if:{{{image_skyline|}}}| | <!-- ***** Skyline Image ***** --> | ||
-->{{#if:{{{image_flag|}}}{{{image_seal|}}}| | {{#if:{{{image_skyline|}}}| | ||
{{!}} colspan="2" style="text-align: center; padding-top: 0.7em; padding-bottom: 0.7em;" {{!}} [[Image:{{{image_skyline|}}}|{{{imagesize|250px}}}|none|{{{image_caption|Skyline of {{{official_name|}}}}}}]]{{#if:{{{image_caption|}}}|<small>{{{image_caption|}}}</small>}} | |||
{{!}}- | |||
}} | |||
-->{{#if:{{{nickname|}}}| | <!-- ***** Flag and Seal ***** --> | ||
-->{{#if:{{{motto|}}}| | {{#if:{{{image_flag|}}}{{{image_seal|}}}| | ||
-->{{#if:{{{ | {{!}} colspan="2" align="center" {{#if:{{{image_skyline|}}}| style="border-top: solid 1px #ccd2d9;"}} {{!}} | ||
{{{!}} style="width: 23em; background: none; text-align: center;" | |||
{{!}}- | |||
{{#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 | |||
{{!}}- | |||
{{!}} colspan="2" style="text-align: center; padding-top: 0.7em; padding-bottom: 0.7em;" {{!}} | |||
[[Image:{{{image_map|}}}|{{{mapsize|250px}}}|none|{{map_caption|Location of {{{official_name|}}}}}}]]{{#if:{{{map_caption|}}}|<small>{{{map_caption|}}}</small>}} | |||
{{!}}- | |||
}} | |||
<!--***** Government *****--> | |||
|- | |- | ||
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Government | ! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Government | ||
|- | |- | ||
! {{{subdivision_type}}} | ! style="background: #EDEDED;"| {{{subdivision_type}}} | ||
| {{{subdivision_name}}} | | {{{subdivision_name}}} | ||
|- | |- | ||
<!--***** 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 ***** --> | ||
! style="background: #EDEDED;"|[[Area]]<br> - Total<br> - Land<br> - Water | |||
| <br> [[{{{area_magnitude}}}_m²|{{{area_total}}} km²]]{{#if:{{{TotalArea_sq_mi|}}} | ({{{TotalArea_sq_mi}}} [[square mile|sq mi]])}} <br> {{{area_land}}} [[Square kilometre|km²]]{{#if:{{{LandArea_sq_mi|}}} | ({{{LandArea_sq_mi}}} sq mi)}} <br> {{{area_water}}} km²{{#if:{{{WaterArea_sq_mi|}}} | ({{{WaterArea_sq_mi}}} sq mi)}} | |||
! | |||
|- | |- | ||
! style="white-space: nowrap;" | [[Population]] ({{{population_as_of}}}) | <!-- ***** Population ***** --> | ||
{{#if:{{{ | ! style="background: #EDEDED; white-space: nowrap;" |[[Population]] <br> - Total ({{{population_as_of}}}){{#if:{{{population_density|}}}|<br> - [[Population density|Density]]}}{{#if:{{{population_metro|}}}| <br> - [[Metropolitan area|Metro area]]}}{{#if:{{{population_urban|}}}| <br> - [[Urban area]]}} | ||
| style="white-space: nowrap;" | <br>{{{population_total}}} {{#if:{{{population_density|}}}| <br>{{{population_density}}}/[[Square kilometre|km²]]{{#if:{{{population_density_mi2|}}}| ({{{population_density_mi2}}}/[[Square mile|sq mi]])}}}} {{#if:{{{population_metro|}}}| <br>{{{population_metro}}}}} {{#if:{{{population_urban|}}}| <br>{{{population_urban}}}}} {{#if:{{{population_note|}}}|<br> <small>''{{{population_note}}}''</small> }} | |||
|- | |- | ||
! [[ | <!-- ***** Coordinates ***** --> | ||
| | {{#if:{{{latNS|}}}| | ||
{{#if:{{{ | {{!}}- | ||
-->{{#if:{{{footnotes|}}}| | ! style="background: #EDEDED;"{{!}}[[Geographic coordinate system|Coordinates]] | ||
|}<noinclude> | {{!}} {{coor dms|{{{latd}}}|{{{latm}}}|{{{lats|0}}}|{{{latNS}}}|{{{longd}}}|{{{longm}}}|{{{longs|0}}}|{{{longEW}}}}} | ||
[[Category:Infobox templates| | {{!}}-}} | ||
[[Category: | <!-- ***** Elevation ***** --> | ||
{{#if:{{{elevation|}}}| | |||
{{!}}- | |||
! style="background: #EDEDED;"{{!}}[[Elevation]] | |||
{{!}} {{{elevation}}} [[metre|m]] {{#if:{{{elevation_ft|}}}| ({{{elevation_ft}}} [[foot (unit of length)|ft]])}} | |||
{{!}}-}} | |||
<!-- ***** Time Zone ***** --> | |||
{{#if:{{{timezone|}}}| | |||
{{!}}- | |||
! style="background: #EDEDED;"{{!}}[[Time zone]] {{#if:{{{timezone_DST|}}}|<br>- Summer ([[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 20:00, 24 May 2006
Government | |
---|---|
{{{subdivision_type}}} | {{{subdivision_name}}} |
Geographical characteristics | |
Area - Total - Land - Water |
[[{{{area_magnitude}}}_m²|{{{area_total}}} km²]] {{{area_land}}} km² {{{area_water}}} km² |
Population - Total ({{{population_as_of}}}) |
{{{population_total}}} |