Template:Age
Jump to navigation
Jump to search
Todo: Possibility to specify only the year.
A simple template to calculate age.
Parameters and Examples
Parameters | Description | Examples | Preview |
---|---|---|---|
{{{1}}} | Year | {{age|1990|10|2}} {{age|1990|10|2|2020|5|12}} |
34 29 |
{{{2}}} | Month | ||
{{{3}}} | Day | ||
{{{4}}} | Year 2
Default: {{CURRENTYEAR}} | ||
{{{5}}} | Month 2
Default: {{CURRENTMONTH}} | ||
{{{6}}} | Day 2
Default: {{CURRENTDAY}} |
The above documentation is transcluded from Template:Age/doc. (Edit | Page history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.