Template:Birth date: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Patleahy
Add a df (day first) option to this template. See Template talk:Euro birth date#Suggested move.
meta>Geometry guy
m Ensure month is a number, using MONTHNUMBER
Line 1: Line 1:
{{#ifeq:{{{df}}}|yes|[[{{{3}}} {{MONTHNAME|{{{2}}}}}]]|[[{{MONTHNAME|{{{2}}}}} {{{3}}}]]}} [[{{{1}}}]]<span style="display:none">(<span class="bday">{{{1}}}-{{pad2digit|{{{2}}}}}-{{pad2digit|{{{3}}}}}</span>)</span><noinclude>
{{#ifeq:{{{df}}}|yes|[[{{{3}}} {{MONTHNAME|{{{2}}}}}]]|[[{{MONTHNAME|{{{2}}}}} {{{3}}}]]}} [[{{{1}}}]]<span style="display:none">(<span class="bday">{{{1}}}-{{pad2digit|{{MONTHNUMBER|{{{2}}}}}}}-{{pad2digit|{{{3}}}}}</span>)</span><noinclude>
{{Template:Birth date and age/doc}}
{{Template:Birth date and age/doc}}
[[Category:Date mathematics templates|{{PAGENAME}}]]
[[Category:Date mathematics templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 21:17, 16 June 2007