Template:AgeFull

From OniGalore
Revision as of 02:31, 28 June 2022 by Iritscen (talk | contribs) (original template name has changed to something that's actually logical)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Copied from Wikipedia's Age in years, months and days 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=29}} old"
yields
Oni is 23 years, 9 months, and 27 days old

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

and "Oni is {{AgeFull|year=2001}} old"
yields
Oni is 22 or 23 years old

If you're content with just getting an age in whole years and you don't want the equivocating "X or Y years old", use the simpler template Template:Age.