الگو:Infobox Province TR/توضیحات
این زیرصفحهٔ مستندات الگو:Infobox Province TR است. این شامل اطلاعات استفاده، الگوها، پیوندهای بین زبانی و سایر اطلاعات است که در اصل الگو صفحه قرار نمیگیرد. |
این الگو از لوآ استفاده میکند: |
این الگو یک بستهبندی کننده از {{جعبه اطلاعات منطقه مسکونی}} است. هر پارامتری که از {{جعبه اطلاعات منطقه مسکونی}} وارد شود در این الگو قابل استفاده است. همچنین hCard و جِئو میکروفرمتهایی همانند {{جعبه اطلاعات منطقه مسکونی}} میسازد. اگر پرسشی دارید همینجا یا در بحث الگو:جعبه اطلاعات منطقه مسکونی مطرح کنید. |
Usage ویرایش
{{Infobox Province TR | name = | turkname = | image = | caption = | map = | region = | subregion = | seat = | coordinates = <!-- use {{Coord}} --> | governor = | area = | total population = <!-- typically automatically determined --> | tpop_as_of = <!-- typically automatically determined --> | urban population = | upop_ref = | upop_as_of = | rural population = | rpop_ref = | rpop_as_of = | licence = | area_code = | website = <!-- use {{URL}} --> }}
Example ویرایش
The wikicode below will create the infobox to the right:
{{Infobox Province TR | name = Izmir | map = Izmir in Turkey.svg | region = Aegean | seat = İzmir | area = 11,973 | total population = 3,769,000 | tpop_as_of = 2007 | licence = 35 | area_code = 232 | governor = Mustafa Cahit Kıraç | website = {{URL|www.izmir.gov.tr}} }}
- Notes
- name= (Name of the province-without "Province" word)
- map= Name of file
- turkname= If different than Name.(Name of the province-without "Province" word) with Turkish letters
- region = region of X (Aegean,Black Sea, Central Anatolia, Eastern Anatolia, Marmara, Mediterranean, Southeastern Anatolia)
- area= Area of the province (in km2-without "km2")
- total population= (Total population of the province-only numbers, e.g. 3,500,000)
- popdens= (Population density of province; "Total Pop/area"-two decimal digits)
- tpop_ref= (Reference of Total population)
- tpop_as_of= (Census year of Total population, e.g. 2005)
- urban population= (Urban population of the province-only numbers, e.g. 3,500,000)
- upop_ref= (Reference of Urban population)
- upop_as_of= (Census year of Urban population, e.g. 2005)
- rural population= (Rural-district population of the province-only numbers, e.g. 3,500,000)
- rpop_ref= (Reference of Rural population)
- rpop_as_of= (Census year of Rural population, e.g. 2005)
- licence= (Plate licence code of the province-only numbers)
- area_code= (Area code-call prefix- of the province-only numbers, e.g. 212)
- governor= (Name and Surname of the Governor of the province)
- website= (Web address of the Governorate of the province;ex; "http://www.ankara.gov.tr")
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}} را بکار نبرید.
منابع
Tracking category ویرایش