Difference between revisions of "Template: Infobox Swiss town" - New World Encyclopedia

From New World Encyclopedia
(Auto-import and credit)
 
(converted to wiki syntax)
Line 2: Line 2:
 
{| class="infobox vcard" cellpadding=2 cellspacing=0 style="width:265px;"
 
{| class="infobox vcard" cellpadding=2 cellspacing=0 style="width:265px;"
 
!  colspan=2 align=center style="font-size: 110%; background:#f2f2f2;" class="fn org"| {{{subject_name}}}
 
!  colspan=2 align=center style="font-size: 110%; background:#f2f2f2;" class="fn org"| {{{subject_name}}}
 
 
|-
 
|-
 
{{#if: {{{imagepath_coa|}}}|
 
{{#if: {{{imagepath_coa|}}}|
 
{{!}} colspan=2 align=center {{!}} [[Image:{{{imagepath_coa}}}|{{#if: {{{pixel_coa|}}}|{{{pixel_coa}}}|90px}}|Coat of Arms of {{{subject_name}}}]]}}
 
{{!}} colspan=2 align=center {{!}} [[Image:{{{imagepath_coa}}}|{{#if: {{{pixel_coa|}}}|{{{pixel_coa}}}|90px}}|Coat of Arms of {{{subject_name}}}]]}}
 
 
|- class="adr"
 
|- class="adr"
 
| <span style="font-size:90%">[[cantons of Switzerland|Canton]] </span> || <span style="font-size:90%" class="region">[[Canton of {{{canton}}}|{{{canton}}}]]</span>
 
| <span style="font-size:90%">[[cantons of Switzerland|Canton]] </span> || <span style="font-size:90%" class="region">[[Canton of {{{canton}}}|{{{canton}}}]]</span>
 
 
|- class="note"
 
|- class="note"
 
| <span style="font-size:90%;">[[Districts of Switzerland|District]]</span> || <span style="font-size:90%">{{{district}}}</span>
 
| <span style="font-size:90%;">[[Districts of Switzerland|District]]</span> || <span style="font-size:90%">{{{district}}}</span>
 
<!--
 
<!--
 
+
-->
-->{{#if:{{{lat_d|}}}|<tr><td><span style="font-size:90%">[[Geographic coordinates|Coordinates]]</span></td><td><span style="font-size:90%" class="geo">{{coor dm|{{{lat_d}}}|{{{lat_m}}}|N|{{{long_d}}}|{{{long_m}}}|E|region:{{{iso-code-region}}}_type:city({{{population}}})}}
+
{{#if:{{{lat_d|}}}|
</span></td></tr>}}<!--
+
{{!}}-
 
+
{{!}} <span style="font-size:90%">[[Geographic coordinates|Coordinates]]</span>
 +
{{!}}<span style="font-size:90%" class="geo">{{coor dm|{{{lat_d}}}|{{{lat_m}}}|N|{{{long_d}}}|{{{long_m}}}|E|region:{{{iso-code-region}}}_type:city({{{population}}})}}
 +
</span>
 +
}}<!--
 
Added to enable viewing older versions of articles:
 
Added to enable viewing older versions of articles:
-->{{#if:{{{nd|}}}|<tr><td><span style="font-size:90%">[[Geographic coordinates|Coordinates]]</span></td><td><span style="font-size:90%" class="geo">{{coor dm|{{{nd}}}|{{{nm}}}|N|{{{ed}}}|{{{em}}}|E|region:CH_type:city({{{population}}})}}
+
-->
</span></td></tr>}}<!--
+
{{#if:{{{nd|}}}|
 
+
{{!}}-
 +
{{!}} <span style="font-size:90%">[[Geographic coordinates|Coordinates]]</span>
 +
<td><span style="font-size:90%" class="geo">{{coor dm|{{{nd}}}|{{{nm}}}|N|{{{ed}}}|{{{em}}}|E|region:CH_type:city({{{population}}})}}
 +
</span>
 +
}}<!--
 
-->
 
-->
 
|- class="note"
 
|- class="note"
 
| <span style="font-size:90%">[[Population]]</span>|| <span style="font-size:90%">{{{population}}} &nbsp;</span> <span style="font-size:80%">([[As of {{#if:{{{popofyear|}}}|{{{popofyear}}}|{{{populationof}}}}}|{{{populationof}}}]])</span>
 
| <span style="font-size:90%">[[Population]]</span>|| <span style="font-size:90%">{{{population}}} &nbsp;</span> <span style="font-size:80%">([[As of {{#if:{{{popofyear|}}}|{{{popofyear}}}|{{{populationof}}}}}|{{{populationof}}}]])</span>
 
 
|- class="note"
 
|- class="note"
 
| <span style="font-size:90%">[[Area]]</span> || <span style="font-size:90%">[[{{#ifexpr: {{{area}}}>300|Error|{{#ifexpr:{{{area}}}>=100|1 E8|{{#ifexpr: {{{area}}}>=10|1 E7|{{#ifexpr: {{{area}}}>=1|1 E6|{{#ifexpr: {{{area}}}>=0.2|1 E5|Error}} }} }} }} }} m²|{{km2 to mi2|{{{area}}}|abbr=yes|wiki=no}}]]</span>
 
| <span style="font-size:90%">[[Area]]</span> || <span style="font-size:90%">[[{{#ifexpr: {{{area}}}>300|Error|{{#ifexpr:{{{area}}}>=100|1 E8|{{#ifexpr: {{{area}}}>=10|1 E7|{{#ifexpr: {{{area}}}>=1|1 E6|{{#ifexpr: {{{area}}}>=0.2|1 E5|Error}} }} }} }} }} m²|{{km2 to mi2|{{{area}}}|abbr=yes|wiki=no}}]]</span>
 
<!--
 
<!--
 
+
-->
-->{{#if:{{{elevation|}}}|<tr class="note"><td><span style="font-size:90%">[[Elevation]]</span></td><td><span style="font-size:90%">{{m to ft|num={{{elevation}}}|abbr=yes|precision=0|wiki=yes}}</span>{{#if: {{{elevation_description|}}}|<br><span style="font-size:90%">{{{elevation_description}}}</span>|}}</td></tr>}}<!--
+
{{#if:{{{elevation|}}}|
 
+
{{!}}- class="note"
 +
{{!}} <span style="font-size:90%">[[Elevation]]</span>
 +
{{!}} <span style="font-size:90%">{{m to ft|num={{{elevation}}}|abbr=yes|precision=0|wiki=yes}}</span>{{#if: {{{elevation_description|}}}|<br><span style="font-size:90%">{{{elevation_description}}}</span>|}}
 +
}}<!--
 
Added to enable viewing older versions of articles:
 
Added to enable viewing older versions of articles:
-->{{#if:{{{altitude|}}}|<tr class="note"><td><span style="font-size:90%">[[Elevation]]</span></td><td><span style="font-size:90%">{{m to ft|num={{{altitude}}}|abbr=yes|precision=0|wiki=yes}} [[Image:Kuckucksuhr.JPG|9px|?]]</span>{{#if: {{{altitude_description|}}}|<br><span style="font-size:90%">{{{altitude_description}}}</span>|}}</td></tr>}}<!--
+
-->
 
+
{{#if:{{{altitude|}}}|
 +
{{!}}- class="note"
 +
{{!}} <span style="font-size:90%">[[Elevation]]</span>
 +
{{!}} <span style="font-size:90%">{{m to ft|num={{{altitude}}}|abbr=yes|precision=0|wiki=yes}} [[Image:Kuckucksuhr.JPG|9px|?]]</span>{{#if: {{{altitude_description|}}}|<br><span style="font-size:90%">{{{altitude_description}}}</span>|}}
 +
}}<!--
 
-->
 
-->
 
|- class="note"
 
|- class="note"
 
| <span style="font-size:90%">[[Postal code (Switzerland)|Postal code]]</span> || <span style="font-size:90%">{{{postal_code}}}</span>
 
| <span style="font-size:90%">[[Postal code (Switzerland)|Postal code]]</span> || <span style="font-size:90%">{{{postal_code}}}</span>
 
<!--
 
<!--
 
+
-->
-->{{#if:{{{municipality_code|}}}|<tr class="note"><td><span style="font-size:90%">[[Community_Identification_Number#Switzerland|SFOS number]]</span></td><td><span style="font-size:90%">{{{municipality_code}}}</span></td></tr>}}<!--
+
|- class= "note"
 
+
{{#if:{{{municipality_code|}}}|
 +
{{!}} <span style="font-size:90%">[[Community_Identification_Number#Switzerland|SFOS number]]</span>
 +
{{!}} <span style="font-size:90%">{{{municipality_code}}}</span>
 +
}}<!--
 
Added to enable viewing older versions of articles:
 
Added to enable viewing older versions of articles:
-->{{#if:{{{municipal_code|}}}|<tr class="note"><td><span style="font-size:90%">[[Community_Identification_Number#Switzerland|SFOS number]]</span></td><td><span style="font-size:90%">{{{municipal_code}}}</span> [[Image:Kuckucksuhr.JPG|9px|?]]</td></tr>}}<!--
+
-->
 
+
|- class= "note"
-->{{#if:{{{mayor|}}}|<tr class="note"><td><span style="font-size:90%">{{#if:{{{list_of_mayors|}}}|[[{{{list_of_mayors}}}|Mayor (list)]]|[[Mayor]]}}</span></td><td><span style="font-size:90%">{{{mayor}}}{{#if: {{{mayor_asof|}}}| <small> (as of {{{mayor_asof}}})</small>|}} {{#if: {{{mayor_party|}}}| <small> [[List of political parties in Switzerland|{{{mayor_party}}}]]</small>|}}</span></td></tr>}}<!--
+
{{#if:{{{municipal_code|}}}|
 
+
{{!}} <span style="font-size:90%">[[Community_Identification_Number#Switzerland|SFOS number]]</span>
-->{{#if:{{{demonym|}}}|<tr class="note"><td><span style="font-size:90%">[[Demonym]]</span></td><td><span style="font-size:90%">{{{demonym}}}</span></td></tr>}}<!--
+
{{!}} <span style="font-size:90%">{{{municipal_code}}}</span> [[Image:Kuckucksuhr.JPG|9px|?]]
 
+
}}<!--
-->{{#if:{{{places|}}}|<tr class="note"><td><span style="font-size:90%">Localities</span></td><td><span style="font-size:80%">{{{places}}}</span></td></tr>}}<!--
+
-->
 
+
{{#if:{{{mayor|}}}|
--><tr><td><span style="font-size:90%">[[List of municipalities of Switzerland|Surrounded by]]</span>{{#if:{{{map|}}}|<br><span style="font-size:80%">[[:Image:{{{map}}}|(view map)]]</span>}}</td><td><span style="font-size:80%" class="note">{{#if:{{{neighboring_municipalities|}}}|{{{neighboring_municipalities}}}|[[Image:Stock alarm.svg|9px|]]}}</span></td></tr><!--
+
{{!}}- class="note"
 
+
{{!}} <span style="font-size:90%">{{#if:{{{list_of_mayors|}}}|[[{{{list_of_mayors}}}|Mayor (list)]]|[[Mayor]]}}</span>
-->{{#if:{{{twintowns|}}}|<tr class="note"><td><span style="font-size:90%">[[List of twin towns and sister cities in Switzerland|Twin town]]s</span></td><td><span style="font-size:80%">{{{twintowns}}}</span></td></tr>}}<!--
+
{{!}} <span style="font-size:90%">{{{mayor}}}{{#if: {{{mayor_asof|}}}| <small> (as of {{{mayor_asof}}})</small>|}} {{#if: {{{mayor_party|}}}| <small> [[List of political parties in Switzerland|{{{mayor_party}}}]]</small>|}}</span>
 
+
}}<!--
-->{{#if:{{{website|}}}|<tr><td><span style="font-size:90%">Website</span></td><td><span style="font-size:90%" class="url">[http://{{{website}}} {{{website}}}]</span></td></tr>}}<!--
+
-->
 
+
|- class= "note"
 +
{{#if:{{{demonym|}}}|
 +
{{!}} <span style="font-size:90%">[[Demonym]]</span>
 +
{{!}} <span style="font-size:90%">{{{demonym}}}</span>
 +
}}<!--
 +
-->
 +
|- class= "note"
 +
{{#if:{{{places|}}}|
 +
{{!}} <span style="font-size:90%">Localities</span>
 +
{{!}} <span style="font-size:80%">{{{places}}}</span>
 +
}}<!--
 +
-->
 +
|-
 +
{{!}} <span style="font-size:90%">[[List of municipalities of Switzerland|Surrounded by]]</span>{{#if:{{{map|}}}|<br><span style="font-size:80%">[[:Image:{{{map}}}|(view map)]]</span>}}
 +
{{!}} <span style="font-size:80%" class="note">{{#if:{{{neighboring_municipalities|}}}|{{{neighboring_municipalities}}}|[[Image:Stock alarm.svg|9px|]]}}</span>
 +
<!--
 +
-->
 +
{{#if:{{{twintowns|}}}|
 +
{{!}}- class="note"
 +
{{!}} <span style="font-size:90%">[[List of twin towns and sister cities in Switzerland|Twin town]]s</span>
 +
{{!}} <span style="font-size:80%">{{{twintowns}}}</span>
 +
}}<!--
 +
-->
 +
{{#if:{{{website|}}}|
 +
{{!}}-
 +
{{!}} <span style="font-size:90%">Website</span>
 +
{{!}} <span style="font-size:90%" class="url">[http://{{{website}}} {{{website}}}]</span>
 +
}}<!--
 
-->
 
-->
 
|-
 
|-
Line 62: Line 102:
 
|lat={{#expr:{{{lat_d}}}+{{{lat_m}}}/60}}|long={{#expr:{{{long_d}}}+{{{long_m}}}/60}}|caption=}}
 
|lat={{#expr:{{{lat_d}}}+{{{lat_m}}}/60}}|long={{#expr:{{{long_d}}}+{{{long_m}}}/60}}|caption=}}
 
|}{{#if:{{NAMESPACE}}||{{#ifeq:{{{municipality_type}}}|former|[[Category:Villages in Switzerland]]|[[Category:Municipalities of Switzerland]]}}}} <noinclude>{{/Copyandpaste}} {{template doc}}
 
|}{{#if:{{NAMESPACE}}||{{#ifeq:{{{municipality_type}}}|former|[[Category:Villages in Switzerland]]|[[Category:Municipalities of Switzerland]]}}}} <noinclude>{{/Copyandpaste}} {{template doc}}
 
[[Category:European city infobox templates|Swiss town]]
 
[[Category:Coordinates templates|{{PAGENAME}}]]
 
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
 
 
 
{{Credits|157670819}}
 
{{Credits|157670819}}
 
</noinclude>
 
</noinclude>

Revision as of 17:09, 21 September 2007

{{{subject_name}}}
Canton [[Canton of {{{canton}}}|{{{canton}}}]]
District {{{district}}}


Population {{{population}}}   ([[As of {{{populationof}}}|{{{populationof}}}]])
Area [[Expression error: Unrecognized punctuation character "{". m²|{{{area}}} km² (Expression error: Unrecognized punctuation character "{". sq mi)]]


Postal code {{{postal_code}}}
Surrounded by File:Stock alarm.svg


{{{subject_name}}} (Switzerland)
<div style="position: absolute; z-index: 2; top: Expression error: Unexpected < operator.%; left: Expression error: Unexpected < operator.%; height: 0; width: 0; margin: 0; padding: 0;">
{{{subject_name}}}
{{{subject_name}}}
[view] [edit]Template-info.svg Template documentation
Template:Infobox Swiss town/doc

Credits

New World Encyclopedia writers and editors copied and adjusted this Wikipedia template in accordance with New World Encyclopedia standards. This article abides by terms of the Creative Commons CC-by-sa 3.0 License (CC-by-sa), which may be used and disseminated with proper attribution.The history of earlier contributions by wikipedians is accessible to researchers here:

The history of this article since it was imported to New World Encyclopedia:

Note: Some restrictions may apply to use of individual images which are separately licensed.