Template:Age: Difference between revisions

    From Nonbinary Wiki
    (Add logic to put all pages using this template into a category sorted by age for maintenance purposes)
    m (52 revisions imported from wikipedia:Template:Age: see Topic:Vtixlm0q28eo6jtf)
     
    (9 intermediate revisions by 7 users not shown)
    Line 1: Line 1:
    <includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}[[Category:Template computed age|{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}]]</includeonly><noinclude>
    <includeonly>{{#invoke:age|age_generic|template=age_full_years}}</includeonly><noinclude>{{documentation}}</noinclude>
    {{pp-template|small=yes}}
    {{template doc}}
    </noinclude>

    Latest revision as of 11:39, 21 May 2021

    Template documentation[create]