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 Norway municipality
| 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}}.
}}

வார்ப்புரு:Infobox Norway municipality


{{Infobox Norway municipality
| 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 Norway municipality
| 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 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 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 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 தொகு

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 தொகு


"https://ta.wikipedia.org/w/index.php?title=வார்ப்புரு:Infobox_kommune/doc&oldid=3360889" இலிருந்து மீள்விக்கப்பட்டது