Template:AgeFull: Difference between revisions
Jump to navigation
Jump to search
(+cat, more docs, linking to Age) |
m (/cat) |
||
Line 85: | Line 85: | ||
If you're content with just getting an age in whole years and you don't want the equivocating ("this or that"), use the simpler template [[Template:Age]]. | If you're content with just getting an age in whole years and you don't want the equivocating ("this or that"), use the simpler template [[Template:Age]]. | ||
[[Category: | [[Category:Utility templates]]</noinclude> |
Revision as of 03:56, 13 December 2015
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=28}} old"
yields
Oni is 23 years, 10 months, and 1 day 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 ("this or that"), use the simpler template Template:Age.