Template:UF-hcal-geo: Difference between revisions
imported>Pigsonthewing m (ce) |
imported>Pigsonthewing ({{Flatlist|) |
||
Line 6: | Line 6: | ||
hCalendar uses HTML classes including: | hCalendar uses HTML classes including: | ||
{{Flatlist| | |||
*attendee | *attendee | ||
*dtend | *dtend | ||
Line 14: | Line 15: | ||
*url | *url | ||
*vevent | *vevent | ||
}} | |||
Geo is produced by calling {{tl|coord}}, and uses HTML classes: | Geo is produced by calling {{tl|coord}}, and uses HTML classes: | ||
{{Flatlist| | |||
*geo | *geo | ||
*latitude | *latitude | ||
*longitude | *longitude | ||
}} | |||
'''Please do not rename or remove these classes; nor collapse nested elements which use them.''' | '''Please do not rename or remove these classes; nor collapse nested elements which use them.''' |
Revision as of 16:58, 11 November 2011
The HTML mark up produced by this template includes an hCalendar microformat, which makes the event details parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary applciation. 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 Wikipedia, please see the microformat project.
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).
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.
When giving coordinates, please don't be overly precise.