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: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, or a given date if specified.

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

  • {{Age|birth year|birth month|birth day}}
  • {{Age|birth year|birth month|birth day|year|month|day}}
  • {{Age|birth year|birth month|birth day|df=yes}}
  • {{Age|birth year|birth month|birth day|year|month|day|df=yes}}

Examples

Terry Pratchett's age were he alive, written using American-style dates:

{{Age|1948|04|28}} 77

Same age written using British-style dates:

{{Age|1948|04|28|df=yes}} 77

Terry Pratchett's age when his knighthood was announced, using American-style dates:

{{Age|1948|04|28|2008|12|31}} 60

Same age written using British-style dates:

{{Age|1948|04|28|2008|12|31|df=yes}} 60

History

Stolen from Wikipedia:Template:Age. Further information may be found there.

Spork.jpg This template was originally sporked from wikipedia:Template:Age.



See also