Difference between revisions of "Template:Birth date and age"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
<includeonly><span style="display:none"> (<span class="bday">{{{1|{{{year}}}}}}-{{padleft:{{{2|{{{month}}}}}}|2|0}}-{{padleft:{{{3|{{{day}}}}}}|2|0}}</span>) </span>{{#if:{{{df|}}}|{{#expr:{{{3|{{{day}}}}}}}} {{MONTHNAME|{{{2|{{{month}}}}}}}}|{{MONTHNAME|{{{2|{{{month}}}}}}}} {{#expr:{{{3|{{{day}}}}}}}},}} {{{1|{{{year}}}}}}<span class="noprint ForceAgeToShow"> (age {{age | {{{1|{{{year}}}}}} | {{{2|{{{month}}}}}} | {{{3|{{{day}}}}}} }})</span></includeonly><noinclude> | <includeonly><span style="display:none"> (<span class="bday">{{{1|{{{year}}}}}}-{{padleft:{{{2|{{{month}}}}}}|2|0}}-{{padleft:{{{3|{{{day}}}}}}|2|0}}</span>) </span>{{#if:{{{df|}}}|{{#expr:{{{3|{{{day}}}}}}}} {{MONTHNAME|{{{2|{{{month}}}}}}}}|{{MONTHNAME|{{{2|{{{month}}}}}}}} {{#expr:{{{3|{{{day}}}}}}}},}} {{{1|{{{year}}}}}}{{{src|}}}<span class="noprint ForceAgeToShow"> (age {{age | {{{1|{{{year}}}}}} | {{{2|{{{month}}}}}} | {{{3|{{{day}}}}}} }})</span></includeonly><noinclude> | ||
{{Usage|1=Example: | {{Usage|1=Example: | ||
<pre>{{Birth date and age|2000|1|4}}</pre> | <pre>{{Birth date and age|2000|1|4}}</pre> |
Revision as of 19:11, 6 October 2021
Usage
These usage notes will not be included in articles bearing this template.
Example:
{{Birth date and age|2000|1|4}}
- Displays: