Template:UF-hcal-geo: Difference between revisions
imported>Plastikspork (+ cat) |
imported>Plastikspork (recat) |
||
Line 24: | Line 24: | ||
When giving coordinates, please don't be [[Wikipedia:WikiProject Geographical coordinates#Precision|overly precise]]. | When giving coordinates, please don't be [[Wikipedia:WikiProject Geographical coordinates#Precision|overly precise]]. | ||
<includeonly>{{#ifeq: {{SUBPAGENAME}}|doc||{{#ifeq: {{SUBPAGENAME}}|sandbox||[[Category:Templates generating hCalendars and Geo|{{PAGENAME}}]]}}}}</includeonly><noinclude> | <includeonly>{{#ifeq: {{SUBPAGENAME}}|doc||{{#ifeq: {{SUBPAGENAME}}|sandbox||[[Category:Templates generating hCalendars and Geo|{{PAGENAME}}]]}}}}</includeonly><noinclude> | ||
[[Category: | [[Category:Template namespace templates]] | ||
</noinclude> | </noinclude> |
Revision as of 21:00, 13 April 2010
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 appear if you use {{Start date}} or {{End date}} (use the former for single dates). As an alternative, you may use or {{Start-date}} and {{End-date}}.
hCalendar uses HTML classes including:
- "dtend"
- "dtstart"
- "location"
- "summary"
- "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.