Template:Infobox kommune/doc
This is a documentation subpage for Template:Infobox kommune. It contains usage information, categories and other content that is not part of the original template page. |
This template is a customized wrapper for {{Infobox settlement}}. Any field from
|
This template should be used for current municipalities in Norway as well as for former municipalities in Norway. To set the options for former municipalities, set the "former" option to "yes".
Usage
{{Infobox kommune | name = Primary name | herad = Default is "kommune" in title, type "yes" if you want "herad" instead of "kommune" | former = Leave blank for current municipalities, type "yes" if you want to represent a former municipality | native_name = Name in native language | native_name_lang = | nickname = Popular Nickname | other_name = Other name | official_name = Official name | image_skyline = The name of the image file of an optional skyline image. Don't include "Image:" | image_caption = Caption for the skyline image | image_alt = Alternative text for the skyline image | idnumber = The municipal id number. See [[ISO 3166-2:NO]] | county = The name of the county. The field is automatically linked in the infobox, and should not be linked here | district = Name of the district | capital = The name of the administrative center | established = Year the municipality was established | disestablished = Year the municipality was dissolved ''(for former municipalities only - leave blank otherwise)'' | preceded = Name of municipality that preceded this one. Type "none" for municipalities created in 1838 by the formannskapsdistrikt law. | succeeded = Name of succeeding municipality ''(for former municipalities only - leave blank otherwise)'' | demonym = Norwegian [[Denonym]] | language = Official language (enter "Bokmål", "Nynorsk", or "Neutral"), they will be automatically linked | coatofarms = Image file of the for the coat of arms (don't include "File:"), if left blank, the file will be automatically linked | flag = Image file of the for the flag (don't include "File:") | munwebpage = The address of the municipality's website, "http://www." is not needed | mayor = Current mayor | mayor_party = Current mayor's political party (link it and abbreviate it) | mayor_as_of = The year the mayor was elected. Links to separate years should not be linked per [[WP:CONTEXT#Dates]] | area_rank = The rank of the municipality in [[Municipalities of Norway by size]] | area_total_km2 = The total area in square kilometers | area_land_km2 = The amount of area consisting of land in square kilometers | area_water_km2 = The amount of area consisting of water in square kilometers | area_water_percent = The percentage of the total area covered by water | population_as_of = Year of update to the population. Links to separate years should not be linked per [[WP:CONTEXT#Dates]]. | population_rank = The rank of the municipality in [[Municipalities of Norway by size]] | population_total = The total number of inhabitants | population_density_km2 = Density of the population per km². Do not use "," (or use auto to have it automatically calculate) | population_increase = The increase or decrease in population the last ten years. | coordinates = Latitude and longitude. Use {{tl|Coord}}. }}
Coordinates: 60°22′16″N 5°24′30″E / 60.37111°N 5.40833°ECoordinates: 60°22′16″N 5°24′30″E / 60.37111°N 5.40833°E | |
Country | Norway |
County | Hordaland |
District | Midhordland |
Established | 1838 |
Administrative centre | Bergen |
Government | |
• Mayor (2007) | Gunnar Bakke (FrP) |
Area | |
• Total | 465 km2 (180 sq mi) |
• Land | 445 km2 (172 sq mi) |
• Water | 20 km2 (8 sq mi) 4.3% |
• Rank | 215 in Norway |
Population (2007) | |
• Total | 247,746 |
• Rank | 2 in Norway |
• Density | 532.8/km2 (1,379.9/sq mi) |
• Change (10 years) | 8.0% |
Time zone | UTC+01:00 (CET) |
• Summer (DST) | UTC+02:00 (CEST) |
ISO 3166 code | NO-1201 |
Official language form | Neutral[1] |
Website | bergen |
{{Infobox kommune | name = Bergen | native_name = | native_name_lang = | other_name = | official_name = | image_skyline = Fløyen view on Bergen.jpg | image_caption = The city centre as seen from [[Fløyen]]. | image_alt = | idnumber = 1201 | county = Hordaland | district = Midhordland | capital = Bergen | established = 1838 | demonym = Bergenser/Bergensar | language = Neutral | coatofarms = Bergen komm.svg | flag = | munwebpage = bergen.kommune.no | mayor = [[Gunnar Bakke]] | mayor_party = [[Progress Party (Norway)|FrP]] | mayor_as_of = 2007 | area_rank = 215 | area_total_km2 = 465 | area_land_km2 = 445 | area_water_km2 = 20 | area_water_percent = 4.3 | population_as_of = 2007 | population_rank = 2 | population_total = 247746 | population_density_km2 = auto | population_increase = 8.0 | coordinates = {{coord|60|22|16|N|5|24|30|E|display=inline, title|region:NO}} }}
- Blank template
{{Infobox kommune | name = | herad = | former = | native_name = | native_name_lang = | other_name = | official_name = | image_skyline = | image_caption = | image_alt = | idnumber = | county = | district = | capital = | established = | disestablished = | preceded = | succeeded = | demonym = | language = | coatofarms = | flag = | munwebpage = | mayor = | mayor_party = | mayor_as_of = | area_rank = | area_total_km2 = | area_land_km2 = | area_water_km2 = | area_water_percent = | population_as_of = | population_rank = | population_total = | population_density_km2 = | population_increase = | coordinates = {{coord||display=title,inline|region:NO}} }}
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.
References
- ↑ "Forskrift om målvedtak i kommunar og fylkeskommunar" (in Norwegian). Lovdata.no.
{{cite web}}
: CS1 maint: unrecognized language (link) - ↑ "Navn på steder og personer: Innbyggjarnamn" (in Norwegian). Språkrådet.
{{cite web}}
: CS1 maint: unrecognized language (link)