Template:Birth date: Difference between revisions
pad2digit workaround no longer needed - direct call to padleft, intentionally re-add space before hidden content
(pad2digit workaround no longer needed - direct call to padleft, intentionally re-add space before hidden content) |
|||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{df|}}}|[[{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}}]]|[[{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}}]]}} [[{{{1}}}]]<span style="display:none">(<span class="bday">{{{1}}}-{{ | <includeonly>{{#if:{{{df|}}}|[[{{#expr:{{{3}}}}} {{MONTHNAME|{{{2}}}}}]]|[[{{MONTHNAME|{{{2}}}}} {{#expr:{{{3}}}}}]]}} [[{{{1}}}]]<span style="display:none"> (<span class="bday">{{{1}}}-{{padleft:{{MONTHNUMBER|{{{2}}}}}|2|0}}-{{padleft:{{{3}}}|2|0}}</span>)</span></includeonly><noinclude> | ||
{{pp-template|small=yes}} | {{pp-template|small=yes}} | ||
{{Documentation|Template:Birth date and age/doc}} | {{Documentation|Template:Birth date and age/doc}} | ||
</noinclude> | </noinclude> |