Template:Age: Difference between revisions

    From Nonbinary Wiki
    (Testing seems to show that I was right in the first place. Adding NTS.)
    (rv application of nts; this makes it impossible to use numeric sorting mode, or apply #expr or #ifexpr; if needed, make a separate template applying nts to age)
    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 07:42, 20 March 2008