Difference between revisions of "Template:UF-hcal"

From CHG-Wiki
Jump to navigationJump to search
m
m (I took out a category they insisted I not take out. It might break things. Yay!)
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 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]].
+
The HTML mark up produced by this template includes an [[wikipedia:HCalendar|hCalendar microformat]], which makes the event details [[wikipedia: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 [[wikipedia:microformat|microformat]]s on Wikipedia, please see [[Wikipedia:WikiProject Microformats|the microformat project]].
  
 
=== Sub-templates ===
 
=== Sub-templates ===
Line 26: Line 26:
 
}}
 
}}
  
'''Please do not rename or remove these classes; nor collapse nested elements which use them.'''<includeonly>{{#ifeq: {{SUBPAGENAME}}|doc||{{#ifeq: {{SUBPAGENAME}}|sandbox||}}}}</includeonly><noinclude>
+
'''Please do not rename or remove these classes; nor collapse nested elements which use them.'''
 +
<includeonly>{{#ifeq: {{SUBPAGENAME}}|doc||{{#ifeq: {{SUBPAGENAME}}|sandbox||}}}}</includeonly>
 +
 
 +
<noinclude>
 
[[Category:Templates|{{{PAGENAME}}}]]
 
[[Category:Templates|{{{PAGENAME}}}]]
 
</noinclude>
 
</noinclude>

Revision as of 17:58, 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.