Template:DoB: Difference between revisions

m
Testing something
m (it's wrong... it comes up with month(new line)(space)day year age - the (new line) and (space) shouldn't be there, but I don't know how to fix it...)
m (Testing something)
Line 1: Line 1:
<includeonly>
<includeonly>{{#if:{{{df|}}}|{{#expr:{{{3|{{{day}}}}}}}}{{MONTHNAME|{{{2|{{{month}}}}}}}}|{{MONTHNAME|{{{2|{{{month}}}}}}}}{{#expr:{{{3|{{{day}}}}}}}},}}{{{1|{{{year}}}}}}<span style="display:none">(<span class="bday">{{{1|{{{year}}}}}}-{{padleft:{{{2|{{{month}}}}}}|2|0}}-{{padleft:{{{3|{{{day}}}}}}|2|0}}</span>)</span><span class="noprint">(age&nbsp;{{age|{{{1|{{{year}}}}}}|{{{2|{{{month}}}}}}|{{{3|{{{day}}}}}}}})</span></includeonly><noinclude>
{{#if:{{{df|}}}|{{#expr:{{{3|{{{day}}}}}}}} {{MONTHNAME|{{{2|{{{month}}}}}}}}|{{MONTHNAME|{{{2|{{{month}}}}}}}} {{#expr:{{{3|{{{day}}}}}}}},}} {{{1|{{{year}}}}}}<span style="display:none"> (<span class="bday">{{{1|{{{year}}}}}}-{{padleft:{{{2|{{{month}}}}}}|2|0}}-{{padleft:{{{3|{{{day}}}}}}|2|0}}</span>)</span><span class="noprint"> (age&nbsp;{{age | {{{1|{{{year}}}}}} | {{{2|{{{month}}}}}} | {{{3|{{{day}}}}}} }})</span>
</includeonly>
<noinclude>
<nowiki>{{DoB|YEAR|MONTH|DAY}}</nowiki>
<nowiki>{{DoB|YEAR|MONTH|DAY}}</nowiki>