Template:Infobox settlement: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Kaldari
testing implementing new #if parser function
meta>Kaldari
a few more #ifs for testing
Line 41: Line 41:
-->{{qif|test={{{latNS|}}}|then=<tr><th>[[Geographic coordinate system|Coordinates]]</th><td><span class="plainlinksneverexpand"
-->{{qif|test={{{latNS|}}}|then=<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>}}<!--
>[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>}}<!--
-->{{qif|test={{{elevation|}}}|then=<tr><th>[[Elevation]]</th><td style="white-space: nowrap;">{{{elevation|}}} [[metre|m]]</td></tr>}}
-->{{#if:{{{elevation|}}}|<tr><th>[[Elevation]]</th><td style="white-space: nowrap;">{{{elevation|}}} [[metre|m]]</td></tr>}}
|-
|-
! [[Time zone]]
! [[Time zone]]
|  {{{timezone}}} ([[UTC{{{utc_offset}}}]])
|  {{{timezone}}} ([[UTC{{{utc_offset}}}]])
{{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>}}<!--
{{#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>}}<!--
-->{{qif|test={{{footnotes|}}}|then=<tr><td colspan="2">{{{footnotes|}}}</td></tr>}}
-->{{#if:{{{footnotes|}}}|<tr><td colspan="2">{{{footnotes|}}}</td></tr>}}
|}<noinclude>
|}<noinclude>
[[Category:Infobox templates|City]]
[[Category:Infobox templates|City]]

Revision as of 22:53, 18 April 2006

{{{official_name}}} Template: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:Qif

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