Template:Infobox Serbia municipality/doc

From Wikipedia, the free encyclopedia

Infobox Serbia municipality template is intended for cities and towns which are seats of Municipalities of Serbia. it "inherits" {{Infobox Settlement}}, providing some Serbia-specific parameters, taking advantage of consistent naming of maps at Commons:Category:Maps of municipalities of Serbia, hard-coding time zone etc.

Arguments marked with an asterisk are optional. "New" arguments have the same name as the corresponding ones from {{Infobox Settlement}}. "Old" ones, given in the second column where applicable, are deprecated, and will be removed once the occurrences in all articles are updated.

New name Old name Meaning
native_name Name in the Cyrillic alphabet
official_name Name in the Latin alphabet
*other_name Name in minority language, where officially accepted
image_shield Coat of arms image
*settlement_type Town/village/city (Default is "town". See List of settlements in Serbia for official census classification)
district District. Enter only the name, e.g. "Rasina" for Rasina District
area_km2 Municipality area, in square kilometres (no formatting, e.g. 1120 rather than 1,120)
population_total Population of the town (seat)
? mpop Population of the whole municipality
*settlements Number of settlements (naselja) (i.e. seat+villages). See List of settlements in Serbia for official census classification)
*latd Degrees latitude
*latm Minutes latitude
*longd Degrees longitude
*longm Minutes longitude
postal_code
code Local area phone code
plates two letter car license code
*website Official website - not a local portal!. Enter without the leading http://.
*mayor Mayor's name. If feasible, also indicate the Mayor's party (or "independent"), shortened as in parties below
*parties Ruling party(ies) in the local parliament. Use common Serbian abbreviation, but link to the full name (e.g. [[Democratic Party of Serbia|DSS]])

Empty syntax:

{{Infobox Serbia municipality
|native_name = 
|official_name = 
|other_name = 
|image_shield = 
|settlement_type = 
|district = 
|area_km2 = 
|population_total = 
|mpop = 
|settlements = 
|latd =|latm=
|longd=|longm=
|postal_code=
|code = 
|plates = 
|website = 
|mayor = 
|parties 
}}

[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.