Template:UF-hcal: Difference between revisions

Jump to navigation Jump to search
imported>Sardanaphalus
(Microformat message, Documentation)
imported>PineApple1298
m (1 revision imported)
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
| format = hCalendar
| format = hCalendar
| data = event details
| data = event details
| subsection1 = {{#if:{{{hide_subtemplates}}} |<noinclude>}}
 
; {{big|Subtemplates}}
| subtemplates =
{{#if:{{{hide_subtemplates}}} |<noinclude>}}
Dates will only be included if you use {{tl|start date}} (for single dates) or {{tl|end date}}. Do not, however, use these templates [[Wikipedia:WikiProject Microformats/dates|if a date before 1583&nbsp;CE is involved]].
Dates will only be included if you use {{tl|start date}} (for single dates) or {{tl|end date}}. Do not, however, use these templates [[Wikipedia:WikiProject Microformats/dates|if a date before 1583&nbsp;CE is involved]].


To include URLs, use {{tl|URL}}.
To include URLs, use {{tl|URL}}.
'''''Please do not remove instances of these subtemplates.'''''
{{#if:{{{hide_subtemplates}}} |</noinclude>}}
{{#if:{{{hide_subtemplates}}} |</noinclude>}}
|attendee |contact |description |dtend |dtstart |location |organiser |summary |url |vevent
|attendee |contact |description |dtend |dtstart |location |organiser |summary |url |vevent
| nocollapse = on
| nocollapse = on
}}<includeonly>
}}<includeonly>{{#ifeq:{{SUBPAGENAME}}|doc | |{{#ifeq:{{SUBPAGENAME}}|sandbox | |[[Category:Templates generating hCalendars|{{PAGENAME}}]]}} }}</includeonly><noinclude>
{{#ifeq:{{SUBPAGENAME}}|doc | |{{#ifeq:{{SUBPAGENAME}}|sandbox | |[[Category:Templates generating hCalendars|{{PAGENAME}}]]}} }}
</includeonly><noinclude>


{{Documentation |content={{Microformat message templates}}}}
{{Documentation |content={{Microformat message templates}}}}

Latest revision as of 21:07, 27 January 2021

The HTML mark-up produced by this template includes an hCalendar microformat that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.

Subtemplates

Dates will only be included if you use {{start date}} (for single dates) or {{end date}}. Do not, however, use these templates if a date before 1583 CE is involved.

To include URLs, use {{URL}}.

Please do not remove instances of these subtemplates.

Classes used

The HTML classes of this microformat include:

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