Template:SFOS2Municipality
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
{{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}}]]
|
The above documentation is transcluded from Template:SFOS2Municipality/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.