Jump to content

Template:Age in years: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
allow end year
Add age range code, since someone born in a given year can be one of two ages today.
Line 1: Line 1:
{{age|{{{1|0}}}|{{CURRENTMONTH}}|{{CURRENTDAY}}|{{{2|{{CURRENTYEAR}}}}}}}<noinclude>{{doc}}</noinclude>
{{#expr:{{age|{{{1|0}}}|{{CURRENTMONTH}}|{{CURRENTDAY}}|{{{2|{{CURRENTYEAR}}}}}}}-1}}–{{age|{{{1|0}}}|{{CURRENTMONTH}}|{{CURRENTDAY}}|{{{2|{{CURRENTYEAR}}}}}}}<noinclude>{{doc}}</noinclude>

Revision as of 13:45, 3 April 2015

Expression error: Unrecognized punctuation character "–".–2023–2024