Changes
Jump to navigation
Jump to search
m
Template:This date in recent years/validate (view source)
Revision as of 01:34, 19 January 2018
, 6 years agoProtected "Template:This date in recent years/validate": semi-protection of high-usage templates to combat systematic vandalism ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed...
<includeonly>{{ThisDateInRecentYears/title
|date={{#ifeq:{{#time:Y|{{{date}}} 1000}}|1000|{{{date}}}|{{{today}}}}}
|today={{{today}}}}}</includeonly><noinclude>This step checks the validity of the date which was input or read as the page name. If the date is invalid, the template defaults to the current date.
;previous step
:{{lt|ThisDateInRecentYears/sandbox}}
;next step
:{{lt|ThisDateInRecentYears/title}}</noinclude>
|date={{#ifeq:{{#time:Y|{{{date}}} 1000}}|1000|{{{date}}}|{{{today}}}}}
|today={{{today}}}}}</includeonly><noinclude>This step checks the validity of the date which was input or read as the page name. If the date is invalid, the template defaults to the current date.
;previous step
:{{lt|ThisDateInRecentYears/sandbox}}
;next step
:{{lt|ThisDateInRecentYears/title}}</noinclude>