Template:Infobox Kommune
From Wikipedia, the free encyclopedia
This template has testcases (edit) for editors to experiment.
{{Infobox Kommune | name = | alt_names_first = See [[#Alternative names]] | alt_names_last = See [[#Alternative names]] | image_skyline = The name of the image file of an optional skyline image. Don't include "Image:" | coatofarms = The name of the image file of the for the coat of arms. Don't include "Image:" | sizemap = Fill in this if you want to change the size of the map of the county with the municipality higlighted. | county = The name of the county. The field is automatically linked in the infobox, and should not be linked here | capital = The name of the administrative center | idnumber = The idnuber. See [[ISO 3166-2:NO]] | governor = Current mayor. Party can be included in parenthesis | governor_as_of = the year. Links to separate years should not be linked per [[WP:CONTEXT#Dates]] | arearank = The rank of the municipality in [[Municipalities of Norway by size]] | area = The area in km². Do not use "," | population_as_of = Year of update to the population. Links to separate years should not be linked per [[WP:CONTEXT#Dates]]. | populationrank = As "arearank" | population = | populationdensity = Density of the population per km². Do not use "," | populationincrease = The increase or decrease in population the last ten years. | demonym = Denonym | munwebpage = The address of the municipalities website }}
Example | Result | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Infobox Kommune | name = Bergen | idnumber = 1201 | image_skyline = Fløyen view on Bergen.jpg | coatofarms = Bergen komm.svg | county = Hordaland | landscape = Midhordland | capital = Bergen | governor = [[Gunnar Bakke]] ([[Fremskrittspartiet|Frp]]) | governor_as_of = 2007 | arearank = 215 | area = 465 | arealand = 445 | population_as_of = 2007 | populationrank = 2 | population = 247 746 | populationdensity = 534 | populationincrease = 8.0 | language = [[Norwegian language|Neutral]] | munwebpage = www.bergen.kommune.no | demonym = Bergenser | lat_deg=60|lat_min=22|lat_sec=16|lon_deg=5|lon_min=24|lon_sec=30 }} |
|
[edit] Alternative names
To use alternative names, use the alt_names_first if the name(s) is to be above the the norwegian name or alt_names_last if it is to be below. Separate each names with a linefeed (<br />). This is used for municipalities with two or more official names (or names in different languages). (Note use the word kommune (in that language) with this parameter, like this: alt_names_first=Gáivuotna suohkan, also use only one of the parameters)
[edit] Microformat
The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article 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.
hCard uses HTML classes including:
- "adr"
- "county-name"
- "fn"
- "label"
- "locality"
- "nickname"
- "note"
- "org"
- "region"
- "street-address"
- "vcard"
Geo is produced by calling {{coord}}, and uses HTML classes:
- "geo"
- "latitude"
- "longitude"
Please do not rename or remove these classes.
When giving coordinates, please don't be overly precise.