Jump to content

Template:AgeFull: Difference between revisions

somehow that fixed the template but now there's a superfluous newline after the template output
(okay, something is messed up; even with added link to serial date template, this date breaks the template)
(somehow that fixed the template but now there's a superfluous newline after the template output)
Line 69: Line 69:
   }}
   }}
  |some time
  |some time
}}</includeonly>
}}</includeonly><noinclude>Copied from Wikipedia's [[wikipedia:Template:For year month day|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:
<noinclude>Copied from Wikipedia's [[wikipedia:Template:For year month day|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:


<nowiki>{{AgeFull|year=2001|month=1|day=27}}</nowiki>
"Oni is <nowiki>{{AgeFull|year=2001|month=1|day=27}}</nowiki> old"<br />
yields<br />
yields<br />
{{AgeFull|year=2001|month=1|day=27}}
Oni is {{AgeFull|year=2001|month=1|day=27}} old
 
whereas "Oni is <nowiki>{{AgeFull|year=2001|month=1}}</nowiki> old"<br />
yields<br />
Oni is {{AgeFull|year=2001|month=1}} old
</noinclude>
</noinclude>