Template:Infobox Belgium Municipality/doc

From Wikipedia, the free encyclopedia
Jump to: navigation, search

This is a template to display the characteristics of a Belgian Municipality.

Usage[edit]

{{Infobox Belgium Municipality
|name=
|native_name=
|native_name_lang=
|namefr=
|namenl=
|namede=
|picture=
|picture-legend= 
|map=
|arms=
|flag=
|map_dot_label=
|coordinates = {{Coord}}
|nis=
|arrondissement=
|list_of_mayors=
|mayor=
|majority=
|population_demonym=
| population_metro=
|postal-codes=
|telephone-area=
|web=
}}
  • nis = number identifying each Belgian municipality in Directorate-general Statistics Belgium [1]; This number is used to retrieve data (population statistics, coordinates, economy data) from three subtemplates.
  • for region, community and province you can use templates (see below), and else they are displayed based on the given NIS number
  • the coordinates (lat_deg etc.) are needed for the dot on the map of Belgium and the title coordinates.

Example: Leuven[edit]

Leuven
Louvain  (French)
Municipality
Leuven Town Hall
Leuven Town Hall
Flag of Leuven
Flag
Coat of arms of Leuven
Coat of arms
Leuven is located in Belgium
Leuven
Leuven
Location in Belgium
Coordinates: 50°53′N 4°42′E / 50.883°N 4.700°E / 50.883; 4.700
Country Belgium
Community Flemish Community
Region Flemish Region
Province Flemish Brabant
Arrondissement Leuven
Government
 • Mayor Louis Tobback (SP.A)
 • Governing party/ies SP.A-Spirit, CD&V-N-VA
Area
 • Total 56.63 km2 (21.86 sq mi)
Population (1 January 2016)[1]
 • Total 99,288
 • Density 1,800/km2 (4,500/sq mi)
Postal codes 3000, 3001, 3010, 3012, 3018
Area codes 016
Website www.leuven.be
{{Infobox Belgium Municipality
|name = Leuven
|namefr = Louvain
|picture = Leuven.jpg
|picture-legend = Leuven Town Hall
|map = LeuvenLocatie.png
|map-legend = Location of Leuven in Flemish Brabant
|arms = Wapen van Leuven.svg
|flag = Flag of Leuven.svg
|arrondissement = [[Leuven Arrondissement|Leuven]]
|nis = 24062
|mayor = [[Louis Tobback]] ([[SP.A]])
|majority = [[SP.A]]-[[Spirit]], [[CD&V]]-[[N-VA]]
|postal-codes = 3000, 3001, 3010, 3012, 3018
|telephone-area = 016
|web = [http://www.leuven.be/ www.leuven.be]
|coordinates = {{Coord|50|53|N|4|42|E}}
}}

References

  1. ^ Population per municipality as of 1 January 2016 (XLS; 397 KB)

Useful templates[edit]

Regions :
Communities :
Provinces :

Microformat[edit]

The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates[edit]

If the place or venue has an "established", "founded", "opened" or similar date, use {{start date}} unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[edit]

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.

Precision[edit]

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.