Template:SFOS2Municipality: Difference between revisions
Appearance
Content deleted Content added
add 2016 newly created municipalities |
John Lunney (talk | contribs) Eliminate confusion for old Rapperswil municipality that leads to wrong map on Rapperswil |
||
Line 2,618: | Line 2,618: | ||
| 3335 = Jona |
| 3335 = Jona |
||
| 3406 = Mogelsberg |
| 3406 = Mogelsberg |
||
| 3316 = Rapperswil |
| 3316 = Rapperswil SG |
||
| 3376 = St. Peterzell |
| 3376 = St. Peterzell |
||
| 3351 = Alt St. Johann |
| 3351 = Alt St. Johann |
Revision as of 19:47, 25 April 2016
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}}]]
|