Template:Birth date: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>RockMFR
pad2digit workaround no longer needed - direct call to padleft, intentionally re-add space before hidden content
meta>RockMFR
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>

Revision as of 22:51, 11 June 2008