Template:Infobox settlement: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Mav
restore links to flag of city and seal of city
meta>Locke Cole
fix accessibility, see Don't use hiddenStructure
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}}}'''
|- class{{{image_skyline|}}}="hiddenStructure"
{{qif|test={{{image_skyline|}}}|then=<tr><td colspan="2" style="text-align: center; padding-top: 0.7em; padding-bottom: 0.7em;">[[Image:{{{image_skyline|}}}|250px|{{{imagesize|}}}|none|Skyline of {{{official_name|}}}]]</td></tr>}}<!--
| colspan="2" style="text-align: center; padding-top: 0.7em; padding-bottom: 0.7em;" | [[Image:{{{image_skyline|}}}|250px|{{{imagesize|}}}|none|Skyline of {{{official_name|}}}]]
-->{{qif|test={{{image_flag|}}}{{{image_seal|}}}|then=<tr><td colspan="2" style="text-align: center;"><table align="center" style="background: none;"><tr style="text-align: center;"><!--
|-
-->{{qif|test={{{image_flag|}}}|then=<td style="width: 135px">[[Image:{{{image_flag|}}}|100px|Official flag of {{{official_name|}}}]]<br /><small>[[Flag of {{{official_name}}}|Flag]]</small></td>}}<!--
| colspan="2" style="text-align: center;" |
-->{{qif|test={{{image_seal|}}}|then=<td style="width: 110px">[[Image:{{{image_seal|}}}|75px|Official seal of {{{official_name|}}}]]<br /><small>[[Seal of {{{official_name}}}|Seal]]</small></td>}}<!--
{| align="center" style="background: none;"
--></tr></table></td></tr>}}<!--
|- style="text-align: center;"
-->{{qif|test={{{nickname|}}}|then=<tr style="font-size: smaller; text-align: center;"><td colspan="2">[[Nickname]]: "''{{{nickname|}}}''"</td></tr>}}<!--
| class{{{image_flag|}}}="hiddenStructure" style="width: 135px" | [[Image:{{{image_flag|}}}|100px|Official flag of {{{official_name|}}}]]<br /><small>[[Flag of {{{official_name}}}|Flag]]</small>
-->{{qif|test={{{motto|}}}|then=<tr style="font-size: smaller; text-align: center;"><td colspan="2">[[Motto]]: "''{{{motto|}}}''"</td></tr>}}<!--
| class{{{image_seal|}}}="hiddenStructure" style="width: 110px" | [[Image:{{{image_seal|}}}|75px|Official seal of {{{official_name|}}}]]<br /><small>[[Seal of {{{official_name}}}|Seal]]</small>
-->{{qif|test={{{website|}}}|then=<tr style="font-size: smaller; text-align: center;"><td colspan="2">Official website: {{{website|}}}</td></tr>}}<!--
|}
-->{{qif|test={{{image_map|}}}|then=<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>}}
|- class{{{nickname|}}}="hiddenStructure" style="font-size: smaller; text-align: center;"
| colspan="2" | [[Nickname]]: "''{{{nickname|}}}''"
|- class{{{motto|}}}="hiddenStructure" style="font-size: smaller; text-align: center;"
| colspan="2" | [[Motto]]: "''{{{motto|}}}''"
|- class{{{website|}}}="hiddenStructure" style="font-size: smaller; text-align: center;"
| colspan="2" | Official website: {{{website|}}}
|- class{{{image_map|}}}="hiddenStructure"
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Location
|- class{{{image_map|}}}="hiddenStructure"
| align="center" colspan="2" style="font-size: smaller;" |
[[Image:{{{image_map|}}}|250px|{{{mapsize|}}}|Location of {{{official_name|}}}]] <br> {{{map_caption|}}}
|-
|-
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Government
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Government
Line 26: Line 15:
! {{{subdivision_type}}}
! {{{subdivision_type}}}
| {{{subdivision_name}}}
| {{{subdivision_name}}}
|- class{{{leader_name|}}}="hiddenStructure"
{{qif|test={{{leader_name|}}}|then=<tr><th>{{{leader_title|}}}</th><td>{{{leader_name|}}}</td></tr>}}
! {{{leader_title|}}}
| {{{leader_name|}}}
|-
|-
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Geographical characteristics
! colspan="2" style="background-color: #e0e0e0; text-align: center;" | Geographical characteristics
Line 45: Line 32:
|-
|-
! [[Population]]
! [[Population]]
| class{{{population_note|}}}="hiddenStructure" |
{{qif|test={{{population_note|}}}|then=<td></td>}}
|- style="text-indent: 1em;"
|- style="text-indent: 1em;"
! style="white-space: nowrap;" | Total ([[{{{population_as_of}}}]])
! style="white-space: nowrap;" | Total ([[{{{population_as_of}}}]])
| {{{population_total}}}
| {{{population_total}}}
|- style="text-indent: 1em; white-space: nowrap;" class="hiddenStructure{{{population_metro|}}}"
{{qif|test={{{population_metro|}}}|then=<tr style="text-indent: 1em; white-space: nowrap;"><th style="white-space: nowrap;">[[Metropolitan_area|Metro area]]</th><td>{{{population_metro}}}</td></tr>}}<!--
! style="white-space: nowrap;" | [[Metropolitan_area|Metro area]]
-->{{qif|test={{{population_density|}}}|then=<tr style="text-indent: 1em; white-space: nowrap;"><th>[[Population density|Density]]</th><td>{{{population_density}}}/[[Square metre|km²]]</td></tr>}}<!--
| {{{population_metro}}}
-->{{qif|test={{{population_density_mi2|}}}|then=<tr style="text-indent: 1em; white-space: nowrap;"><th>Density</th><td>{{{population_density_mi2}}}/[[Square mile|mi²]]</td></tr>}}<!--
|- class{{{population_density|}}}="hiddenStructure" style="text-indent: 1em; white-space: nowrap;"
-->{{qif|test={{{latNS|}}}|then=<tr><th>[[Geographical coordinates|Coordinates]]</th><td><span class="plainlinksneverexpand"
! [[Population density|Density]]
>[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>}}<!--
| {{{population_density}}}/[[Square metre|km²]]
-->{{qif|test={{{elevation|}}}|then=<tr><th>[[Elevation]]</th><td style="white-space: nowrap;">{{{elevation|}}} [[metre|m]]</td></tr>}}
|- class{{{population_density_mi2|}}}="hiddenStructure" style="text-indent: 1em; white-space: nowrap;"
! Density
| {{{population_density_mi2}}}/[[Square mile|mi²]]
|- class{{{latNS|}}}="hiddenStructure"
! [[Geographical coordinates|Coordinates]]
| <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>
|- class{{{elevation|}}}="hiddenStructure"
! [[Elevation]]
| style="white-space: nowrap;" | {{{elevation|}}} [[metre|m]]
|-
|-
! [[Time zone]]
! [[Time zone]]
|  {{{timezone}}} ([[Coordinated Universal Time|UTC]]{{{utc_offset}}})
|  {{{timezone}}} ([[Coordinated Universal Time|UTC]]{{{utc_offset}}})
|- class{{{timezone_DST|}}}="hiddenStructure" style="text-indent: 1em;"  
{{qif|test={{{timezone_DST|}}}|then=<tr style="text-indent: 1em;"><th>Summer&nbsp;([[Daylight saving time|DST]])</th><td>{{{timezone_DST|}}} (UTC{{{utc_offset_DST|}}})</td></tr>}}<!--
! Summer&nbsp;([[Daylight saving time|DST]])
-->{{qif|test={{{footnotes|}}}|then=<tr><td colspan="2">{{{footnotes|}}}</td></tr>}}
| {{{timezone_DST|}}} (UTC{{{utc_offset_DST|}}})
|-
| colspan="2" | {{{footnotes|}}}
|}<noinclude>
|}<noinclude>
[[Category:Infobox templates|City]]
[[Category:Infobox templates|City]]
</noinclude>
</noinclude>

Revision as of 06:44, 11 March 2006

{{{official_name}}} Template:QifTemplate:QifTemplate:QifTemplate:QifTemplate:QifTemplate:Qif
Government
{{{subdivision_type}}} {{{subdivision_name}}}

Template:Qif

Geographical characteristics
Area
Total [[{{{area_magnitude}}}_m²|{{{area_total}}} km²]]
Land {{{area_land}}} km²
Water {{{area_water}}} km²
Population

Template:Qif

Total ([[{{{population_as_of}}}]]) {{{population_total}}}

Template:QifTemplate:QifTemplate:QifTemplate:QifTemplate:Qif

Time zone {{{timezone}}} (UTC{{{utc_offset}}})

Template:QifTemplate:Qif