Template:AgeFull

From OniGalore
Revision as of 19:20, 13 June 2013 by Iritscen (talk | contribs) (somehow that fixed the template but now there's a superfluous newline after the template output)
Jump to navigation Jump to search

Copied from Wikipedia's For year month day template. The three parameters are "year", "month", and "day", all optional. Here's what happens if you supply a specific date:

"Oni is {{AgeFull|year=2001|month=1|day=27}} old"
yields
Oni is 23 years, 10 months, and 2 days old

whereas "Oni is {{AgeFull|year=2001|month=1}} old"
yields
Oni is 23 years and 9 or 10 months old