Difference between revisions of "Template:UF-hcal"

From CHG-Wiki
Jump to navigationJump to search
m (1 revision: Infoboxes)
 
m
Line 27: Line 27:
  
 
'''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>
 
'''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>
[[Category:Template namespace templates]]
+
[[Category:Templates|{{{PAGENAME}}}]]
 
</noinclude>
 
</noinclude>

Revision as of 17:55, 5 December 2012

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 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 microformats on Wikipedia, please see the microformat project.

Sub-templates

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).

URLs will only be included if you use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCalendar uses HTML classes including:

  • 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.