Template:DoB

From BerserkerLoop
Revision as of 09:45, 11 January 2023 by Crimsongaia (talk | contribs) (Created page with "<includeonly><time itemprop="birthDate" datetime="{{{1|{{{year}}}}}}-{{padleft:{{{2|{{{month}}}}}}|2|0}}-{{padleft:{{{3|{{{day}}}}}}|2|0}}">{{#if:{{{df|}}}|{{#expr:{{{3|{{{day}}}}}}}} {{MONTHNAME|{{{2|{{{month}}}}}}}}|{{MONTHNAME|{{{2|{{{month}}}}}}}} {{#expr:{{{3|{{{day}}}}}}}},}} {{{1|{{{year}}}}}}</time><span class="noprint"> ({{#if:{{{4|}}}|aged {{{4}}}|age {{age|{{{1|{{{year}}}}}}|{{{2|{{{month}}}}}}|{{{3|{{{day}}}}}}}}}})</span></includeonly><noinclude> <nowiki>{{D...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{DoB|YEAR|MONTH|DAY}}

Calculates a person's current age when given their birth date. Main use is for Template:T and user pages.

If the person has passed away, an optional 4th parameter can be set to their age at time of death.

Originally taken from Wikipedia.