Template:Birth date and age: Difference between revisions
Decreasing size of template by removing undocumented/unused 'year/month'day' parameters and redundant invocation of numeric parameters as defaults for themselves.
m>RockMFR (this should work better) |
m>CBDunkerson (Decreasing size of template by removing undocumented/unused 'year/month'day' parameters and redundant invocation of numeric parameters as defaults for themselves.) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{df|}}}|{{#expr: | <includeonly>{{#if:{{{df|}}}|{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}}|{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}},}} {{{1}}}<span style="display:none"> (<span class="bday">{{{1}}}-{{padleft:{{{2}}}|2|0}}-{{padleft:{{{3}}}|2|0}}</span>)</span><span class="noprint"> (age {{age|{{{1}}}|{{{2}}}|{{{3}}}}})</span></includeonly><noinclude> | ||
{{pp-template}} | {{pp-template}} | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |