|
|
(One intermediate revision by the same user not shown) |
Line 1: |
Line 1: |
| <includeonly>{{#if:{{{df|}}}|{{#expr:{{{3|{{{day|{{{3}}}}}}}}}}} {{MONTHNAME|{{MonthStrtoInt|{{{2|{{{month|{{MonthStrtoInt|{{{2}}}}}}}}}}}}}}}|{{MONTHNAME|{{{2|{{{month|{{MonthStrtoInt|{{{2}}}}}}}}}}}}} {{#expr:{{{3|{{{day|{{{3}}}}}}}}}}}}}, {{{1|{{{year|{{{1}}}}}}}}}<span style="display:none">(<span class="bday">{{{1|{{{year|}}}}}}-{{pad2digit|{{MonthStrtoInt|{{{2|{{{month|}}}}}}}}}}-{{pad2digit|{{{3|{{{day|{{{3}}}}}}}}}}}</span>)</span><span class="noprint"> (age {{age | {{#expr:{{{1|{{{year|{{{1}}}}}}}}}-376}} | {{MonthStrtoInt|{{{2|{{{month|{{MonthStrtoInt|{{{2}}}}}}}}}}}}} | {{{3|{{{day|{{{3}}}}}}}}} }})</span> | | <includeonly>{{#if:{{{df|}}}|{{#expr:{{{3|{{{day|{{{3}}}}}}}}}}} {{MONTHNAME|{{MonthStrtoInt|{{{2|{{{month|{{MonthStrtoInt|{{{2}}}}}}}}}}}}}}}|{{MONTHNAME|{{{2|{{{month|{{MonthStrtoInt|{{{2}}}}}}}}}}}}} {{#expr:{{{3|{{{day|{{{3}}}}}}}}}}}}}, {{{1|{{{year|{{{1}}}}}}}}}<span style="display:none">(<span class="bday">{{{1|{{{year|}}}}}}-{{pad2digit|{{MonthStrtoInt|{{{2|{{{month|}}}}}}}}}}-{{pad2digit|{{{3|{{{day|{{{3}}}}}}}}}}}</span>)</span><span class="noprint"> (age {{age | {{#expr:{{{1|{{{year|{{{1}}}}}}}}}}} | {{MonthStrtoInt|{{{2|{{{month|{{MonthStrtoInt|{{{2}}}}}}}}}}}}} | {{{3|{{{day|{{{3}}}}}}}}} }})</span> |
| </includeonly> | | </includeonly> |
| <noinclude> | | <noinclude> |
| For you use with displaying date and age for users using a full date of birth. Put in numerical value of the year of birth, month, and day. | | For you use with displaying date and age for users using a full date of birth. Put in numerical value of the year of birth, month, and day. |
| ===Usage=== | | ===Usage=== |
| <nowiki>{{Birthdate_and_Age|YEAR|MM|DD}}</nowiki> | | <nowiki>{{Birthdate_and_Age_(User)|YEAR|MM|DD}}</nowiki> |
| </noinclude><noinclude>[[Category:Utility templates|{{PAGENAME}}]]</noinclude> | | </noinclude><noinclude>[[Category:Utility templates|{{PAGENAME}}]]</noinclude> |
Latest revision as of 18:09, 3 May 2009
For you use with displaying date and age for users using a full date of birth. Put in numerical value of the year of birth, month, and day.
Usage
{{Birthdate_and_Age_(User)|YEAR|MM|DD}}