Jump to content

Template:Age: Difference between revisions

22 bytes removed ,  15 years ago
Call sub-template to set up category sorting
(Add logic to put all pages using this template into a category sorted by age for maintenance purposes)
(Call sub-template to set up category sorting)
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>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}{{Age sort|{{#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>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.