Puzzle Potato Dry Brush.png
UnNews Logo Potato1.png

Welcome to the Mother Ship of amateur comedy writing! (Amateur means we don't pay you to do it.)

This is where the original Uncyclopedia wound up. You might as well pick a user name. We have no "partners" that want to sell you stuff. Giving your email simply lets you recover your password; we don't send spam. Uncyclopedians get a talk page, private edit area, and a welcome, maybe, if you actually edit; and we won't de-platform you for your views, if they're funny.


Template:Birth date and age

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search
[edit] [purge] Template-info.svg Template documentation

Description

This template calculates the difference between birth dates and the current date. It also makes the date within infoboxes machine-readable for bots, by formatting the dates with hidden text written using a standardized date format.

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 and age|year|month|day}}
  • {{Birth date and age|year|month|day|df=yes}}

Examples

Terry Pratchett's birthday written using American-style dates:

{{Birth date and age|1948|04|28}} April 28, 1948 (1948-04-28) (age 76)

Same birthday written using British-style dates:

{{Birth date and age|1948|04|28|df=yes}} 28 April 1948 (1948-04-28) (age 76)

History

Probably from wikipedia:Template:Birth date and age.

See also