Jump to content

Template:SFOS2Municipality/doc

From Wikipedia, the free encyclopedia

This template uses the Community ID number or SFOS number to return a municipality name that matches the form used in the Media related to Maps of municipalities of Switzerland at Wikimedia Commons. This template is intended to be used in the Template:Infobox Swiss town.

Usage

[edit]
{{SFOS2Municipality|0241}}

returns

  • Aesch

while

{{SFOS2Municipality|2761}}
{{SFOS2Municipality|1021}}

returns

  • Aesch BL
  • Aesch LU

These can be used in to bring up the maps with only a SFOS number. Here are 3 municipalities with the same name, but in different cantons.

[[File:Karte Gemeinde {{SFOS2Municipality|0241}} 2007.png|thumb|{{SFOS2Municipality|0241}}]]
[[File:Karte Gemeinde {{SFOS2Municipality|2761}} 2007.png|thumb|{{SFOS2Municipality|2761}}]]
[[File:Karte Gemeinde {{SFOS2Municipality|1021}} 2007.png|thumb|{{SFOS2Municipality|1021}}]]
Aesch