Template:Infobox Swiss town/sandbox
From Wikipedia, the free encyclopedia
{{{subject_name}}} | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
||||||||||
Population | {{{population}}} ({{{populationof}}}) | |||||||||
- Density | 0 /km² (0 /sq.mi.) | |||||||||
Area | 0 km² (0 sq mi) | |||||||||
Elevation | 0 m (0 ft) | |||||||||
- Highest | 0 m - | |||||||||
- Lowest | 0 m - | |||||||||
Postal code | {{{postal_code}}} | |||||||||
SFOS number | {{{municipal_code}}} | |||||||||
Mayor | {{{mayor}}} {{{mayor_party}}} | |||||||||
Demonym | {{{demonym}}} | |||||||||
Localities | {{{places}}} | |||||||||
Surrounded by | {{{neighboring_municipalities}}} | |||||||||
Twin towns | {{{twintowns}}} | |||||||||
Website | {{{website}}} | |||||||||
Template:Infobox Swiss town/sandbox/Copyandpaste
[edit] Template documentation
This is the infobox for articles about specific municipalities of Switzerland. There are more than 2700 articles using it.
Former municipalities use "type= former".
For a sample use, see Aarau
Contents |
[edit] Tests for updates
Before updating the infobox, please try the updates first on the test version at
and view the results in the various skins at
[edit] Fields
Many infoboxes have been converted from the German or the French language wikipedia. The following table lists fields are (or used to be) equivalent.
Field en: | Field de: | Field fr: |
---|---|---|
subject_name= | NAME_ORT= or BILDPFAD_WAPPEN= | nomcommune= or drapeaucommune= |
(municipality_name=) | NAME_ORT= | nomcommune= |
(imagepath_coa=) | BILDPFAD_WAPPEN= | drapeaucommune= |
(municipality_type=) | GEMEINDEART= | |
canton= | KANTON= | canton= or (lien_canton=|affichage_canton=) |
district= (with [[]]) | BEZIRK = (with [[]]) | district= or (lien_district=|affichage_district=) |
nd=|nm=|ed=|em= | BREITENGRAD =|LÄNGENGRAD= | longitude=|latitude= |
postal_code= | PLZ = | cp= |
municipal_code= | BFS = | no_OFS= |
population= | EINWOHNER = | habitants= |
populationof= | STAND_EINWOHNER = | |
(populationdensity=) | densité= | |
area= | FLÄCHE = | superficie= |
(area_magnitude=) | ||
altitude= | HÖHE = | altitude= |
mayor= (with [[]]) | syndic/maire= | |
website= | WEBSITE= | siteweb= |
(map= (with [[]])) | BILDPFAD_KARTE= | carte= |
places= | localité= | |
neighboring_municipalities= | communeslimitrophes= | |
(language=) | langue= | |
demonym= | nom/gentilé= |
Fields with names listed in parentheses are not currently displayed in this template and might never be, but they are assigned a name to facilitate conversion from fr: and de:.
[edit] Conversions
FROM | TO | |||
---|---|---|---|---|
l. | field | content | field | content |
de | BILDPFAD_WAPPEN= | imagepath_coa= | ||
de | STAND_EINWOHNER= | 31. Dezember | populationof= | December |
[edit] Current uses of fields
Some of the current uses of the fields:
- subject_name: name of the municipality
- district: name in format [[Place (district)|]]
- imagepath_coa = (for [[:image:]])