Jump to content

Template:Age: Difference between revisions

137 bytes removed ,  5 years ago
use Module:Age for greater consistency between age templates and ability to detect invalid dates, and features at Template talk:Age
m (Changed protection level for "Template:Age": Discussion at WP:AN suggests that this is no longer cascade-protected ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
(use Module:Age for greater consistency between age templates and ability to detect invalid dates, and features at Template talk:Age)
Line 1: Line 1:
<includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude>
{{#invoke:age|age_generic|template=age_full_years}}<noinclude>{{documentation}}</noinclude>
{{Documentation}}
</noinclude>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.