Template:UF-hcal-geo: Difference between revisions

Jump to navigation Jump to search
imported>Pigsonthewing
({{Flatlist|)
imported>Alarbus
(via redirect, for now, to aid finding uses to be converted to class hlist; revert laters, if you like)
Line 1: Line 1:
The HTML mark up produced by this template includes an [[HCalendar|hCalendar microformat]], which makes the event details [[Parsing|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 [[WP:GEOUF|Geo microformat]], which additionally makes the [[Geographic coordinate system|coordinates]] (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a [[Global Positioning System|GPS]] unit. For more information about the use of [[microformat]]s on Wikipedia, please see [[WP:UF|the microformat project]].
The HTML mark up produced by this template includes an [[HCalendar|hCalendar microformat]], which makes the event details [[Parsing|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 application. Within the hCalendar is a [[WP:GEOUF|Geo microformat]], which additionally makes the [[Geographic coordinate system|coordinates]] (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a [[Global Positioning System|GPS]] unit. For more information about the use of [[microformat]]s on Wikipedia, please see [[WP:UF|the microformat project]].


Dates will only be included if you use {{tl|Start date}} or {{tl|End date}} (use the former for single dates; ([[Wikipedia:WikiProject Microformats/dates|but do not use any of these if the date is before 1583 CE]]).  
Dates will only be included if you use {{tl|Start date}} or {{tl|End date}} (use the former for single dates; ([[Wikipedia:WikiProject Microformats/dates|but do not use any of these if the date is before 1583 CE]]).


To include a URL, use {{Tl|URL}}.
To include a URL, use {{Tl|URL}}.
Line 7: Line 7:
hCalendar uses HTML classes including:
hCalendar uses HTML classes including:


{{Flatlist|
{{Flat list|
*attendee
*attendee
*dtend
*dtend
Line 19: Line 19:
Geo is produced by calling {{tl|coord}}, and uses HTML classes:
Geo is produced by calling {{tl|coord}}, and uses HTML classes:


{{Flatlist|
{{Flat list|
*geo
*geo
*latitude
*latitude

Revision as of 03:46, 19 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 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 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:

Template:Flat list

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

Template:Flat list

Please do not rename or remove these classes; nor collapse nested elements which use them.

When giving coordinates, please don't be overly precise.