Template:Birth date: Difference between revisions
as it turns out, that space can be really annoying - removing again
(pad2digit workaround no longer needed - direct call to padleft, intentionally re-add space before hidden content) |
(as it turns out, that space can be really annoying - removing again) |
||
Line 1: | Line 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> | <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> |