Difference between revisions of "Template:Birth date"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Patleahy
(Add a df (day first) option to this template. See Template talk:Euro birth date#Suggested move.)
imported>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 22:17, 16 June 2007