Template:Age: Difference between revisions

Adding NTS to make it usable in sortable tables with mixed letters and numbers.
(updated template)
(Adding NTS to make it usable in sortable tables with mixed letters and numbers.)
Line 1: Line 1:
<includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude>
<includeonly>{{nts|{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}}}</includeonly><noinclude>
{{pp-template|small=yes}}
{{pp-template|small=yes}}
{{template doc}}
{{template doc}}
</noinclude>
</noinclude>