Difference between revisions of "Template:Hcard-bday-place/doc"
Jump to navigation
Jump to search
imported>Pigsonthewing m |
imported>Pigsonthewing |
||
Line 5: | Line 5: | ||
==Use== | ==Use== | ||
− | The template has | + | The template has six parameters: |
# name = the person's name (becomes hCard's "fn" class). | # name = the person's name (becomes hCard's "fn" class). |
Revision as of 18:43, 3 July 2007
Purpose
This template creates an inline hCard microformat for a person, with their date of birth (and optionally age, if living), useing 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 }}