Template:Birth year and age: Difference between revisions

Content deleted Content added
testing to year 3310
m CURRENTYEAR
 
Line 3:
}}{{{1}}} (age {{#if:{{{2|}}}
|{{#ifexpr:{{CURRENTMONTH}}<{{{2}}}
|{{#expr:{{3310CURRENTYEAR}}-{{{1}}}-1}}
|{{#ifexpr:{{CURRENTMONTH}}>{{{2}}}
|{{#expr:{{3310CURRENTYEAR}}-{{{1}}}}}
|{{#expr:{{3310CURRENTYEAR}}-{{{1}}}-1}}&ndash;{{#expr:{{3310CURRENTYEAR}}-{{{1}}}}}
}}
}}
|{{#expr:{{3310CURRENTYEAR}}-{{{1}}}-1}}&ndash;{{#expr:{{3310CURRENTYEAR}}-{{{1}}}}}
}})</includeonly><noinclude>
[[Category:Age calculation templates]]