Difference between revisions of "Template:UF-hcard-person"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>J JMesserly
imported>Pigsonthewing
(not relevant to this template)
Line 4: Line 4:
  
 
Date-of-birth ("bday") information will <em>only</em> be included in the microformat if {{tl|birth-date}} (optionally {{tl|Birth date}}) or {{tl|Birth date and age}} are used in the infobox.
 
Date-of-birth ("bday") information will <em>only</em> be included in the microformat if {{tl|birth-date}} (optionally {{tl|Birth date}}) or {{tl|Birth date and age}} are used in the infobox.
 
Optionally, any display template, including {{tl|Julian date}}, {{tl|Birth date and age}} and {{tl|Chinese calendar/year name}} etc. may be used as the second parameter for Birth-date.
 
  
 
hCard uses HTML classes including:
 
hCard uses HTML classes including:

Revision as of 18:13, 7 March 2009

The HTML markup produced by this template includes an hCard microformat, which makes the person'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. For more information about the use of microformats on Wikipedia, please see the microformat project.

Location information (adr, street, locality, region, country, geo...) will only be included in the microformat if {{placename}} is used in the infobox.

Date-of-birth ("bday") information will only be included in the microformat if {{birth-date}} (optionally {{Birth date}}) or {{Birth date and age}} are used in the infobox.

hCard uses HTML classes including:

  • adr (see {{placename}}, {{address}}, {{map-loc}} )
  • agent
  • bday
  • category
  • country-name
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • vcard

Please do not rename or remove these classes; nor collapse nested elements which use them. ar:قالب:UF-hcard-person hsb:Předłoha:UF-hcard-wosoby