Diferencia entre revisiones de «Plantilla:Age»
De Familia Sanchez Arjona
(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) |
(Add logic to put all pages using this template into a category sorted by age for maintenance purposes) |
||
Línea 1: | Línea 1: | ||
− | <includeonly>{{#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}}}))}}[[Category:Template computed age|{{#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> |