變更
無編輯摘要
{{#ifeq: {{{1}}} | {{{2|{{CURRENTYEAR}}}}} |0|{{#expr:{{age|{{{1|0}}}|{{CURRENTMONTH}}|{{CURRENTDAY}}|{{{2|{{CURRENTYEAR}}}}}}}-1}}–{{age|{{{1|0}}}|{{CURRENTMONTH}}|{{CURRENTDAY}}|{{{2|{{CURRENTYEAR}}}}}}}}}<!-- Error checks: -->{{#if:{{{1|}}}|{{#ifexpr: {{{1}}} > {{{2|{{CURRENTYEAR}}}}}
|  {{error|invalid year}}{{main other|[[Category:Pages using age template with invalid date]]}}}}|}}<noinclude>{{doc}}</noinclude>
|  {{error|invalid year}}{{main other|[[Category:Pages using age template with invalid date]]}}}}|}}<noinclude>{{doc}}</noinclude>