Difference between revisions of "Template:Birth date and age"
Jump to navigation
Jump to search
m |
(added usage notes) |
||
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}}}}}}<span class="noprint ForceAgeToShow"> (age {{age | {{{1|{{{year}}}}}} | {{{2|{{{month}}}}}} | {{{3|{{{day}}}}}} }})</span></includeonly><noinclude> | ||
{{Usage|1=Example: | |||
<pre>{{Birth date and age|2000|1|1}}</pre> | |||
- Displays: {{Birth date and age|2000|1|1}}}} | |||
[[Category: Date computing templates|{{PAGENAME}}]] | [[Category: Date computing templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 17:50, 6 October 2021
Usage
These usage notes will not be included in articles bearing this template.
Example:
{{Birth date and age|2000|1|1}}
- Displays: