Template:Birth date
Editors can experiment in this template's sandbox (create) and test cases (create) pages.
Subpages of this template.
Description
This template formats birth dates. Humans are probably more interested in {{Birth date and age}}, which takes a birth date and calculates a person's age from the birth date.
Its use to Uncyclopedia is questionable: it makes the date within infoboxes machine-readable for bots, by formatting the dates with hidden text written using a standardized date format. It doesn't do anything else.
To accommodate worldwide collaboration between Americans (who use month day, year format) and the rest of the world (who use day month year format) the parameter |df=yes
outputs the day first. Otherwise, American-style format prevails.
Usage
{{Birth date|year|month|day}}
{{Birth date|year|month|day|df=yes}}
Examples
Terry Pratchett's birthday written using American-style dates:
{{Birth date|1948|04|28}}
April 28, 1948
Same birthday written using British-style dates:
{{Birth date|1948|04|28|df=yes}}
28 April 1948
History
Probably from wikipedia:Template:Birth date.
See also
- {{Age}}
- {{Birth date}}
- {{Birth date and age}}
- {{Death date and age}}
- {{Start date and age}}