|
|
Line 1: |
Line 1: |
− | The HTML markup produced by this template includes an [[HCalendar|hCalendar microformat]], which makes the event details [[Parsing|parsable]] by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to a calendar or diary application. For more information about the use of [[microformat]]s on Wikipedia, please see [[Wikipedia:WikiProject Microformats|the microformat project]].
| |
| | | |
− | === Sub-templates ===
| |
− |
| |
− | 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]]).
| |
− |
| |
− | URLs will only be included if you use {{Tl|URL}}.
| |
− |
| |
− | '''Please do not remove instances of these sub-templates.'''
| |
− |
| |
− | === Classes ===
| |
− |
| |
− | hCalendar uses HTML classes including:
| |
− |
| |
− | {{Flatlist/microformat|
| |
− | *attendee
| |
− | *contact
| |
− | *description
| |
− | *dtend
| |
− | *dtstart
| |
− | *location
| |
− | *organiser
| |
− | *summary
| |
− | *url
| |
− | *vevent
| |
− | }}
| |
− |
| |
− | '''Please do not rename or remove these classes, nor collapse nested elements which use them.'''<includeonly>{{#ifeq: {{SUBPAGENAME}}|doc||{{#ifeq: {{SUBPAGENAME}}|sandbox||[[Category:Templates generating hCalendars|{{PAGENAME}}]]}}}}</includeonly><noinclude>
| |
− | {{doc|content=
| |
− | Common documentation for [{{fullurl:Special:WhatLinksHere/Template:UF-hcal|limit=500}} these templates].
| |
− |
| |
− | [[Category:Template namespace templates]]
| |
− | }}
| |
− | </noinclude>
| |