Template:Infobox Belgium municipality/doc
File:Edit-copy green.svg | This is a documentation subpage for Template:Infobox Belgium municipality. It contains usage information, categories and other content that is not part of the original template page. |
File:Ambox warning yellow.svg | This template is a customized wrapper for {{Infobox settlement}} and as such included in Category:Templates calling Infobox settlement. Any field from {{Infobox settlement}} can work so long as it is added to this template first. It will also emit the same hCard and Geo microformats as {{Infobox settlement}} . Questions? Just ask here or over at Template talk:Infobox settlement. |
This is a template to display the characteristics of a Belgian Municipality.
Usage
{{Infobox Belgium municipality | name = | native_name = | native_name_lang = | namefr = | namenl = | namede = | picture = | picture-legend = | imagesize = | map = | arms = | flag = | map_dot_label = | coordinates = {{Coord}} | nis = | arrondissement = | list_of_mayors = | mayor = | majority = | population_demonym = | population_metro = | postal-codes = | telephone-area = | web = | footnotes = }}
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
andprovince
you can use templates (see below), and else they are displayed based on the given NIS number. - Fhe coordinates (lat_deg etc.) are needed for the dot on the map of Belgium and the title coordinates.
Example: Leuven
Script error: No such module "If empty".
Louvain (French) | |
---|---|
City and municipality | |
Script error: No such module "If empty". | |
Location of Leuven Script error: No such module "Infobox mapframe". | |
Script error: No such module "Location map". | |
Coordinates: Script error: No such module "ISO 3166". | |
Country | File:Flag of Belgium (civil).svg 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 | 57.51 km2 (22.20 sq mi) |
Demonym | Script error: No such module "If empty". |
Postal codes | 3000, 3001, 3010, 3012, 3018 |
Script error: No such module "If empty". | Script error: No such module "If empty". |
Website | Script error: No such module "URL". |
{{Infobox Belgium municipality | name = Leuven | namefr = Louvain | type = city | picture = Leuven.jpg | picture-legend = Leuven Town Hall | map = Leuven Flemish-Brabant Belgium Map.svg | 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 (political party)|Spirit]], [[CD&V]]-[[N-VA]] | postal-codes = 3000, 3001, 3010, 3012, 3018 | telephone-area = 016 | web = {{URL|https://www.leuven.be/}} | coordinates = {{Coord|50|53|N|4|42|E}} }}
References
Useful templates
- Regions :
-
- File:Flag of the Brussels-Capital Region.svg Brussels-Capital Region {{BE-BRU}}
- File:Flag of Flanders.svg Flanders use {{BE-VLG}}
- File:Flag of Wallonia.svg Wallonia {{BE-WAL}}
- Communities :
- Provinces :
-
- File:Flag of Antwerp.svg Antwerp {{BE-VAN}}
- File:Flemish Brabant Flag.png Flemish Brabant {{BE-VBR}}
- File:Drapeau Province BE Brabant Wallon.svg Walloon Brabant {{BE-WBR}}
- File:Flag of Oost-Vlaanderen.svg East Flanders {{BE-VOV}}
- File:Flag of West Flanders.svg West Flanders {{BE-VWV}}
- File:Flag of Hainaut.svg Hainaut {{BE-WHT}}
- File:Flag of the Province of Liège.svg Liège {{BE-WLG}}
- File:Flag of Limburg (Belgium).svg Limburg {{BE-WLI}}
- File:Drapeau Arelerland.svg Luxembourg {{BE-WLX}}
- File:Blason namur prov.svg Namur {{BE-WNA}}
Microformat
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
If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.
If it has a URL, use {{URL}}.
Please do not remove instances of these sub-templates.
Classes
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
When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name=
parameter.