الگو:Infobox World Heritage Site/توضیحات

Syntax ویرایش

{{Infobox World Heritage Site
|Name        = 
|Image       =  (optional)
|imagecaption=  (optional)
|Country     =  (optional)
|Type        =
|Criteria    =
|ID          =
|Link        =  (optional) 
|Region      = 
|Coordinates =  (optional; use {{coord}}) 
|Year        = 
|Session     =  (optional)
|Extension   =  (optional)
|Danger      =  (optional)
|map         =  (optional)
|map_caption =  (optional) 
|map_width   =  (optional) 
|locmapin    =  (optional) 
|relief      =  ("1" for relief map - if available)
|latitude    =  (optional) 
|longitude   =  (optional) 
}}

Notes ویرایش

Africa encompassing آفریقای سیاه
Arab States آفریقای شمالی and the خاورمیانه
Asia-Pacific آسیا and اقیانوسیه
Europe and North America اروپا, کانادا, ایالات متحده آمریکا
Latin America and the Caribbean entire نیم‌کره غربی minus Canada and the USA

Coordinates ویرایش

برای مختصات‌دهی، از الگوی {{coord}} به همراه دستور display=inline,title استفاده کنید. لطفاً از درج مختصات بسیار دقیق خودداری کنید.

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}} را بکار نبرید.

Example 1 ویرایش

Kathmandu Valley
میراث جهانی یونسکو
معیار ثبتCultural: iii, iv, vi
شمارهٔ ثبت۱۲۱
تاریخ ثبت1979
تمدید ثبت2006
در خطر؟since 2003

This example has no image:

{{Infobox World Heritage Site
|Name        = Kathmandu Valley
|Country     = [[نپال]]
|Type        = Cultural
|Criteria    = iii, iv, vi
|ID          = 121
|Region      = Asia-Pacific
|Year        = 1979
|Danger      = since 2003
|Extension   = 2006
}}

Example 2 ویرایش

Kathmandu Valley
میراث جهانی یونسکو
The Kathmandu Darbar Square
The Kathmandu Darbar Square
معیار ثبتCultural: iii, iv, vi
شمارهٔ ثبت۱۲۱
تاریخ ثبت1979
تمدید ثبت2006
در خطر؟since 2003

This example uses an image of width 270px:

{{Infobox World Heritage Site
|Name        = Kathmandu Valley
|Image       = [[Image:basantapurpalace.JPG|270px|The Kathmandu Darbar Square]]
|Country     = [[نپال]]
|Type        = Cultural
|Criteria    = iii, iv, vi
|ID          = 121
|Region      = Asia-Pacific
|Year        = 1979
|Danger      = since 2003
|Extension   = 2006
}}

Example 3 ویرایش

Kathmandu Valley
میراث جهانی یونسکو
The Kathmandu Darbar Square
معیار ثبتCultural: iii, iv, vi
شمارهٔ ثبت۱۲۱
تاریخ ثبت1979
تمدید ثبت2006
در خطر؟since 2003

This example uses an infobox width of 20.8em with an image width of 230px:

{{Infobox World Heritage Site
|Name        = Kathmandu Valley
|infoboxwidth= 20.8em
|Image       = [[Image:basantapurpalace.JPG|230px|The Kathmandu Darbar Square]]
|Country     = [[نپال]]
|Type        = Cultural
|Criteria    = iii, iv, vi
|ID          = 121
|Region      = Asia-Pacific
|Year        = 1979
|Danger      = since 2003
|Extension   = 2006
|locmapin    = Nepal
|relief      = 1
|latitude    = 27.704
|longitude   = 85.309
|map_caption = Location in Nepal
}}