Changes

Jump to navigation Jump to search
similar to Template:Birth based on age as of date but only returns the current age, based on a person's age as of a known date.
<includeonly>{{#ifexpr: {{CURRENTMONTH}}<{{MONTHNUMBER|{{{3}}}}}|{{#expr: {{CURRENTYEAR}}-{{{2}}} + {{{1}}} - 1 }}–{{#expr: {{CURRENTYEAR}}-{{{2}}} + {{{1}}} }} }}{{#ifexpr: {{CURRENTMONTH}}={{MONTHNUMBER|{{{3}}}}}|{{#ifexpr: {{CURRENTDAY}} > {{{4}}} | {{#expr: {{CURRENTYEAR}}-{{{2}}} + {{{1}}} }}–{{#expr: {{CURRENTYEAR}}-{{{2}}} + {{{1}}} + 1}} | {{#ifexpr: {{CURRENTDAY}} = {{{4}}} | {{#expr: {{CURRENTYEAR}}-{{{2}}} + {{{1}}}}} | {{#expr: {{CURRENTYEAR}}-{{{2}}} + {{{1}}} - 1}}–{{#expr: {{CURRENTYEAR}}-{{{2}}} + {{{1}}} }} }} }} }}{{#ifexpr: {{CURRENTMONTH}}>{{MONTHNUMBER|{{{3}}}}}|{{#expr: {{CURRENTYEAR}}-{{{2}}} + {{{1}}} }}–{{#expr: {{CURRENTYEAR}}-{{{2}}} + {{{1}}} + 1 }} }}</includeonly><noinclude>
{{documentation}}
</noinclude>
Anonymous user

Navigation menu