Difference between revisions of "Template:UF-hcard+hcal"

From Nordic Larp Wiki
Jump to navigation Jump to search
m (1 revision imported)
m
 
Line 1: Line 1:
The HTML markup produced by this template includes an [[HCard|hCard microformat]], which makes a person, organisation or place's details [[Parsing|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|hCalendar microformat]], which makes event details parsable, to (for example) add the subject to a calendar or diary application.
+
The HTML markup produced by this template includes an [[Wikipedia:HCard|hCard microformat]], which makes a person, organisation or place's details [[Wikipedia:Parsing|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 [[Wikipedia:HCalendar|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 [[microformat]]s on Wikipedia, please see [[WP:UF|the microformat project]].
+
For more information about the use of [[Wikipedia:microformat|microformat]]s on Wikipedia, please see [[Wikipedia:WP:UF|the microformat project]].
  
 
Event dates will only appear if you use {{tl|start date}} or {{tl|end date}} (use the former for single dates).  As an alternative, you may use or {{tl|start-date}} and {{tl|end-date}}.
 
Event dates will only appear if you use {{tl|start date}} or {{tl|end date}} (use the former for single dates).  As an alternative, you may use or {{tl|start-date}} and {{tl|end-date}}.

Latest revision as of 00:40, 3 January 2019

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.