Template:Birth date and age: Difference between revisions

m
no edit summary
m>Patrick
(rm leading zero)
m>Patrick
mNo edit summary
Line 1: Line 1:
{{#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|}}}}}}-{{pad2digit|{{{2|{{{month|}}}}}}}}-{{pad2digit|{{{3|{{{day|{{{3}}}}}}}}}}}</span>)</span><span class="noprint"> (age&nbsp;{{age | {{{1|{{{year|{{{1}}}}}}}}} | {{{2|{{{month|{{{2}}}}}}}}} | {{{3|{{{day|{{{3}}}}}}}}} }})</span><noinclude>{{pp-template}}
<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|}}}}}}-{{pad2digit|{{{2|{{{month|}}}}}}}}-{{pad2digit|{{{3|{{{day|{{{3}}}}}}}}}}}</span>)</span><span class="noprint"> (age&nbsp;{{age | {{{1|{{{year|{{{1}}}}}}}}} | {{{2|{{{month|{{{2}}}}}}}}} | {{{3|{{{day|{{{3}}}}}}}}} }})</span></includeonly><noinclude>{{pp-template}}
{{template doc}}
{{template doc}}
</noinclude>
</noinclude>
Anonymous user