Template:Event trigger/sandbox

Template documentation


Usage

edit

Can be used to change the behaviour of a page, template, category, etc. based on a date.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
11

What to do when the current date is equal or greater than date + when.

Contentoptional
22

What to do when current date is less than date + when.

Contentoptional
datedate

A date in YYY-MM-DD format, for {{#time:Ymd}} use.

Example
2000-01-01
Auto value
{{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY}}
Dateoptional
whenwhen

How far from date shall the event be triggered.

Auto value
7 days
Stringoptional