Template:Birth date and age: Difference between revisions
Removing redundant numbered parameter calls. Will add previously unlisted day/month/year parameters to the documentation.
m>East718 (revert; this broke hundreds of articles) |
m>CBDunkerson (Removing redundant numbered parameter calls. Will add previously unlisted day/month/year parameters to the documentation.) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{df|}}}|{{#expr:{{{3|{{{day | <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 {{age | {{{1|{{{year}}}}}} | {{{2|{{{month}}}}}} | {{{3|{{{day}}}}}} }})</span></includeonly><noinclude> | ||
{{pp-template}} | {{pp-template}} | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |