الگو:UF-hcal-geo: تفاوت میان نسخه‌ها

از ایران پدیا
پرش به ناوبری پرش به جستجو
بدون خلاصۀ ویرایش
 
جز (۱ نسخه واردشده)
 
(۴ نسخهٔ میانی ویرایش شده توسط ۲ کاربر نشان داده نشد)
خط ۱: خط ۱:
The HTML markup produced by this template includes an [[hCalendar|hCalendar microformat]], which makes the event details [[تجزیه‌کننده|parsable]] by computers, either acting automatically to catalogue article across Iranpedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. Within the hCalendar is a [[Geo (microformat)|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 [[microformat]]s on Iranpedia, please see [[Iranpedia:WikiProject Microformats|the microformat project]].
The HTML markup produced by this template includes an [[hCalendar|hCalendar microformat]], which makes the event details [[تجزیه‌کننده|parsable]] by computers, either acting automatically to catalogue article across Iranpedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. Within the hCalendar is a [[Geo (microformat)|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 [[microformat]]s on Iranpedia.


Dates will only be included if you use {{پیوند الگو|Start date}} or {{پیوند الگو|End date}} (use the former for single dates, [[Iranpedia:WikiProject Microformats/dates|but do not use any of these if the date is before 1583 CE]]). {{پیوند الگو|End date}} requires that a time be specified, but display of this time may be suppressed by adding {{پارا|nodate|yes}} to the end.
Dates will only be included if you use {{پیوند الگو|Start date}} or {{پیوند الگو|End date}} (use the former for single dates, but do not use any of these if the date is before 1583 CE). {{پیوند الگو|End date}} requires that a time be specified, but display of this time may be suppressed by adding {{پارا|nodate|yes}} to the end.


To include a URL, use {{پیوند الگو|URL}}.
To include a URL, use {{پیوند الگو|URL}}.

نسخهٔ کنونی تا ‏۲۶ دسامبر ۲۰۱۷، ساعت ۱۴:۳۰

The HTML markup produced by this template includes an hCalendar microformat, which makes the event details parsable by computers, either acting automatically to catalogue article across Iranpedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. Within the hCalendar 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 Iranpedia.

Dates will only be included if you use {{Start date}} or {{End date}} (use the former for single dates, but do not use any of these if the date is before 1583 CE). {{End date}} requires that a time be specified, but display of this time may be suppressed by adding |nodate=yes to the end.

To include a URL, use {{URL}}.

hCalendar uses HTML classes including:

  • attendee
  • dtend
  • dtstart
  • location
  • summary
  • url
  • vevent

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.
Also, when giving coordinates, please don't be overly precise.