Template:Age: Difference between revisions

    From Nonbinary Wiki
    (Adding NTS to make it usable in sortable tables with mixed letters and numbers.)
    (Undid revision 199535267 by self This may not work as well with this template as with the others. Doing more testing.)
    Line 1: Line 1:
    <includeonly>{{nts|{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}}}</includeonly><noinclude>
    <includeonly>{{#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>

    Revision as of 05:58, 20 March 2008