Template:AgeFull: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(somehow that fixed the template but now there's a superfluous newline after the template output)
m (oh, there we go)
Line 77: Line 77:
whereas "Oni is <nowiki>{{AgeFull|year=2001|month=1}}</nowiki> old"<br />
whereas "Oni is <nowiki>{{AgeFull|year=2001|month=1}}</nowiki> old"<br />
yields<br />
yields<br />
Oni is {{AgeFull|year=2001|month=1}} old
Oni is {{AgeFull|year=2001|month=1}} old</noinclude>
</noinclude>

Revision as of 19:23, 13 June 2013

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, 3 months, and 15 days old

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