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

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>J JMesserly
imported>J JMesserly
Line 2: Line 2:
  
 
Date-of-birth ("bday") parameters 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") parameters 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:
 
<div class="horizontal">
 
<div class="horizontal">
*adr
+
*adr (see {{tl|placename}}, {{tl|address}, {{tl|map-loc}}
 
*agent
 
*agent
 
*bday
 
*bday
 
*category
 
*category
*county-name
+
*country-name
 
*extended-address
 
*extended-address
 
*family-name
 
*family-name

Revision as of 05:38, 26 February 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.

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

Optionally, any display template, including {{Julian date}}, {{Birth date and age}} and {{Chinese calendar/year name}} etc. may be used as the second parameter for Birth-date.

hCard uses HTML classes including:

  • adr (see {{placename}}, {{tl|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