الگو:Infobox Serbia municipality/توضیحات

از ویکی‌پدیا، دانشنامهٔ آزاد
  • Important: Please enter all numeric values in a raw, unformatted fashion. References are to be included in their respective section footnotes field. Numeric values that are not "raw" may create an "Expression error". Raw values will be automatically formatted by the template. If you find a raw value is not formatted in your usage of the template, please post a notice on the discussion page for this template.

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.

Argument Meaning
native_name Name in the Serbian Cyrillic alphabet
official_name Name in the Latin alphabet
*other_name Name in minority language, where officially accepted (use {{Lang}})
image_skyline Image of the city skyline
image_shield Coat of arms image
*settlement_type Town/village/city (Default is "town", if left empty. 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 Postal code
code Local area phone code without leading 0 (ie "11" for Belgrade), see: Telephone numbers in Serbia
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_skyline = 
|image_shield  = 
|settlement_type = 
|district      = 
|area_km2      = 
|population_total = 
|mpop          = 
|settlements   = 
|latd= |latm=
|longd= |longm=
|postal_code   = 
|code          = 
|plates        = 
|website       = 
|mayor         = 
|parties       = 
}}

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.

زیرالگوها[ویرایش]

اگر مکان دارای تاریخ "ساخت"ُ، "پایه‌گذاری‌"، "گشایش" یا موارد مشابه است از {{تاریخ آغاز}} استفاده کنید. مگر اینکه تاریخ گاه‌شماری دوران مشترک پیش از ۱۵۸۳ باشد.

اگر پیوند دارد از {{نشانی وب}} استفاده کنید.

خواهشمند است کاربردهای این زیرالگوها را حذف نکنید.

کلاس‌ها[ویرایش]

hCard از کلاس‌های HTML زیر استفاده می‌کند:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

مختصات با فراخوانی {{coord}} و استفاده از کلاس‌های اچ‌تی‌م‌ال زیر تولید می‌شود:

  • geo
  • latitude
  • longitude

خواهشمند است این کلاس‌ها را تغییرنام ندهید یا حذف نکنید. عناصر تودرتویی که از آنها استفاده می‌کنند را نیز به حالت جمع‌شده درنیاورید.

دقت[ویرایش]

هنگام ارائه مختصات، خواهشمند است از سطح مناسبی از دقت استفاده کنید. پارامتر |name= از الگوی {{coord}} را بکار نبرید.