Template:UF-hcard+hcal

From The Global Wiki
Jump to navigation Jump to search

The HTML markup produced by this template includes an hCard microformat, which makes a person, organisation or place's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book. It also includes an hCalendar microformat, which makes event details parsable, 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.

Event 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}}.

To include a URL, use {{URL}}.

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • category
  • county-name
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

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.