الگو:Infobox Serbia municipality
{{{official_name}}}
{{{native_name}}} | |
---|---|
شهرداری و شهر | |
[[پرونده:Municipalities of Serbia {{{official_name}}}.png|250px|Location of the municipality of {{{official_name}}} within Serbia]] Location of the municipality of {{{official_name}}} within Serbia | |
ناحیه | [[{{{district}}} District|{{{district}}}]] |
تعداد شهرکها | {{{settlements}}} |
منطقهٔ زمانی | یوتیسی +۱ (CET) |
• تابستانی (DST) | یوتیسی +۲ (CEST) |
پیششمارهٔ تلفن | +381 {{{code}}} |
![]() | این الگو از ویژگی و دستورهای پیچیده استفاده میکند.
توصیه میشود پیش از ویرایش الگو با دستورهای الگو و توابع تجزیهکننده آشنا شوید. اگر ویرایشتان باعث بروز مشکلات غیرمنتظره شد، خواهشمند است آن را بهسرعت برگردانید، زیرا ممکن است این الگو در شمار زیادی صفحه ظاهر شود. بهیاد داشته باشید که شما میتوانید آزمایش انجام دهید، اما باید همهٔ بهسازیها را پیش از آنکه در اینجا اعمال کنید، در صفحهٔ تمرین عمومی الگو یا فضای کاربریتان بیازمایید. |
![]() | این الگو یک الگوی سفارشی بستهبندیکنندهٔ {{جعبه اطلاعات منطقه مسکونی}} است و از همین روی در رده:الگو:فراخوانی جعبه اطلاعات منطقه مسکونی گنجانده شده است. هر پارامتری از {{جعبه اطلاعات منطقه مسکونی}} که پیشتر در این الگو نیز تعریف شده باشد، هنگام استفاده از این الگو کار خواهد کرد. این الگو همچنین میکروفرمتهای hCard و ژئو مشابه {{جعبه اطلاعات منطقه مسکونی}} را تولید خواهد کرد. پرسشی دارید؟ لطفاً آن را در بحث الگو:جعبه اطلاعات منطقه مسکونی مطرح کنید. |
- 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}} را بکار نبرید.