الگو: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 | 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, | 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.
| ویرایشگران میتوانند در صفحات تمرین (ایجاد | آینه) و آزمایشی (ایجاد) این الگو را آزمایش کنند. زیرصفحههای این الگو. |