Jump to content

Template:Birth date and age: Difference between revisions

this should work better
m>Trevor MacInnis
m (make comma only show in Month Day, year form)
m>RockMFR
(this should work better)
Line 1: Line 1:
<includeonly>{{#if:{{{df|}}}|{{#expr:{{{3|{{{day|{{{3}}}}}}}}}}} {{MONTHNAME|{{{2|{{{month|{{{2}}}}}}}}}}}|{{MONTHNAME|{{{2|{{{month|{{{2}}}}}}}}}}} {{#expr:{{{3|{{{day|{{{3}}}}}}}}}}}}}{{#if:{{{df|}}}| |,}} {{{1|{{{year|{{{1}}}}}}}}}<span style="display:none"> (<span class="bday">{{{1|{{{year|}}}}}}-{{padleft:{{{2|{{{month|}}}}}}|2|0}}-{{padleft:{{{3|{{{day|{{{3}}}}}}}}}|2|0}}</span>)</span><span class="noprint"> (age&nbsp;{{age | {{{1|{{{year|{{{1}}}}}}}}} | {{{2|{{{month|{{{2}}}}}}}}} | {{{3|{{{day|{{{3}}}}}}}}} }})</span></includeonly><noinclude>
<includeonly>{{#if:{{{df|}}}|{{#expr:{{{3|{{{day|{{{3}}}}}}}}}}} {{MONTHNAME|{{{2|{{{month|{{{2}}}}}}}}}}}|{{MONTHNAME|{{{2|{{{month|{{{2}}}}}}}}}}} {{#expr:{{{3|{{{day|{{{3}}}}}}}}}}},}} {{{1|{{{year|{{{1}}}}}}}}}<span style="display:none"> (<span class="bday">{{{1|{{{year|}}}}}}-{{padleft:{{{2|{{{month|}}}}}}|2|0}}-{{padleft:{{{3|{{{day|{{{3}}}}}}}}}|2|0}}</span>)</span><span class="noprint"> (age&nbsp;{{age | {{{1|{{{year|{{{1}}}}}}}}} | {{{2|{{{month|{{{2}}}}}}}}} | {{{3|{{{day|{{{3}}}}}}}}} }})</span></includeonly><noinclude>
{{pp-template}}
{{pp-template}}
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.