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

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Pigsonthewing
())
imported>J JMesserly
(clarifying difference betweent the two choices)
Line 1: Line 1:
 
The HTML markup produced by this template includes an [[HCard|hCard microformat]], which makes the person'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. For more information about the use of [[microformat]]s on Wikipedia, please see [[Wikipedia:WikiProject Microformats|the microformat project]].
 
The HTML markup produced by this template includes an [[HCard|hCard microformat]], which makes the person'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. For more information about the use of [[microformat]]s on Wikipedia, please see [[Wikipedia:WikiProject Microformats|the microformat project]].
  
Date-of-birth ("bday") information will only be included in the microformat if {{tl|Birth date}}) or {{tl|Birth date and age}}) (optionally {{tl|birth-date}} are used in the infobox.
+
Location information (adr, street, locality, region, country, geo...) will <em>only</em> be included in the microformat if {{tl|placename}} is used in the infobox.
 +
 
 +
Date-of-birth ("bday") information will <em>only</em> be included in the microformat if {{tl|birth-date}} or {{tl|Birth-date and age}} are used in the infobox.
 +
 
 +
Optionally, an alternate display format, links or any display template, including {{tl|Julian date}}, and {{tl|Chinese calendar/year name}} etc. may be used as the second parameter for Birth-date.  The numerically oriented {{tl|birth date}} or {{tl|Birth date and age}} may be used, but do not have this option.
  
 
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

Revision as of 06:54, 11 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}} or {{Birth-date and age}} are used in the infobox.

Optionally, an alternate display format, links or any display template, including {{Julian date}}, and {{Chinese calendar/year name}} etc. may be used as the second parameter for Birth-date. The numerically oriented {{birth date}} or {{Birth date and age}} may be used, but do not have this option.

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