Template:Infobox Swiss town

From Wikipedia, the free encyclopedia

{{{subject_name}}}
Country Switzerland Coat of Arms of {{{subject_name}}}
Canton {{{canton}}}
District {{{district}}}
0°0′N, 0°0′E
Population {{{population}}}  ({{{populationof}}})
  - Density 0 /km² (0 /sq.mi.)
Area 0 km² (0 sq mi)
Elevation 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}}}
{{{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}}}

{{Infobox_Swiss_town
 |subject_name= 
 |municipality_type= 
 |imagepath_coa= 
 |image_photo= 
 |image_caption= 
 |image_snow= 
 |image_snowcaption= 
 |map= 
 |canton= 
 |iso-code-region= 
 |district= 
 |long_d=|long_m=|long_NS=N|lat_d=|lat_m=|lat_EW=E
 |postal_code= 
 |municipality_code= 
 |area= 
 |elevation= 
 |highest= |highest_m= |lowest= |lowest_m= 
 |population=|populationof=
 |website= 
 |mayor= 
 |list_of_mayors= 
 |places= 
 |neighboring_municipalities= 
 |demonym= 
 |twintowns= 
}}

[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

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

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:.

Conversions

FROM TO
l. field content field content
de BILDPFAD_WAPPEN= imagepath_coa=
de STAND_EINWOHNER= 31. Dezember populationof= December

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:]])

See also