Difference between revisions of "Template:Hcard-bday-place/doc"
Jump to navigation
Jump to search
imported>Pigsonthewing |
imported>CmdrObot m (sp: useing→using) |
||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
− | This template creates an inline [[HCard|hCard]] [[microformat]] for a person, with their date of birth (and optionally age, if living), | + | This template creates an inline [[HCard|hCard]] [[microformat]] for a person, with their date of birth (and optionally age, if living), using either {{tl|birth date}} or {{tl|birth date and age}}. |
For inline hCards for a building, organisation or place, see {{tl|Hcard-geo}}). | For inline hCards for a building, organisation or place, see {{tl|Hcard-geo}}). |
Revision as of 00:38, 15 December 2007
Purpose
This template creates an inline hCard microformat for a person, with their date of birth (and optionally age, if living), using either {{birth date}} or {{birth date and age}}.
For inline hCards for a building, organisation or place, see {{Hcard-geo}}).
Use
The template has six parameters:
- name = the person's name (becomes hCard's "fn" class).
- template type = "birth date" (emits data formatted in hCard's bday class)
- birth year = four digits
- birth month = two digits
- birth day = two digits
- birthplace (will be wikilinked in output)
Example
{{hcard-bday-place|'''Marc Blume'''|birth date|1973|12|28|Lüdinghausen}} is a [[Germans|German]] sprinter.
Gives:
Marc Blume (born December 28, 1973 in Lüdinghausen) is a German sprinter.
Note that there is no line break after the closing }}