Template:Birth date and age

From LPedia
Revision as of 00:07, 11 October 2017 by AMK152 (talk | contribs) (Created page with "<includeonly><span style="display:none"> (<span class="bday">{{{1|{{{year}}}}}}-{{padleft:{{{2|{{{month}}}}}}|2|0}}-{{padleft:{{{3|{{{day}}}}}}|2|0}}</span>) </span>{{#if:{{{d...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Template documentation (for the above template, sometimes hidden or invisible)

Usage

Use in the "birth-date" parameter of Template:Infobox Person on people pages to calculate age for living people with known birth dates.

{{Birth date and age|<BIRTH-Y>|<BIRTH-M>|<BIRTH-D>}}

Example

Example, with Nicholas Sarwark, where the birth date is August 27, 1979.

Code

{{Birth date and age|1979|8|27}}

Result

(1979-08-27) August 27, 1979 (age 45)

See also