Template:Birth date and age: Difference between revisions
Truthseeker (talk | contribs) Created page with "<includeonly>{{#expr: {{CURRENTYEAR}} - {{{1}}} - ({{CURRENTMONTH}} < {{{2}}} or ({{CURRENTMONTH}} = {{{2}}} and {{CURRENTDAY}} < {{{3}}}))}} years old (born {{{1}}}-{{{2}}}-{{{3}}})</includeonly> <noinclude> == Usage == <pre> {{Birth date and age|YYYY|MM|DD}} </pre> Example: <pre> {{Birth date and age|1946|6|14}} </pre> </noinclude>" |
Truthseeker (talk | contribs) mNo edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | |||
<includeonly>{{#expr: {{CURRENTYEAR}} - {{{1}}} - ({{CURRENTMONTH}} < {{{2}}} or ({{CURRENTMONTH}} = {{{2}}} and {{CURRENTDAY}} < {{{3}}}))}} years old (born {{{1}}}-{{{2}}}-{{{3}}})</includeonly> | <includeonly>{{#expr: {{CURRENTYEAR}} - {{{1}}} - ({{CURRENTMONTH}} < {{{2}}} or ({{CURRENTMONTH}} = {{{2}}} and {{CURRENTDAY}} < {{{3}}}))}} years old (born {{{1}}}-{{{2}}}-{{{3}}})</includeonly> | ||
<noinclude> | <noinclude> | ||
== Usage == | |||
<pre> | |||
{{Birth date and age|YYYY|MM|DD}} | |||
</pre> | |||
Example: | |||
<pre> | |||
{{Birth date and age|1946|6|14}} | |||
</pre> | |||
</noinclude> | |||
== Usage == | == Usage == | ||
<pre> | <pre> | ||
Revision as of 01:31, 28 July 2025
Usage
{{Birth date and age|YYYY|MM|DD}}
Example:
{{Birth date and age|1946|6|14}}
Usage
{{Birth date and age|YYYY|MM|DD}}
Example:
{{Birth date and age|1946|6|14}}