Template:Event trigger/doc
Appearance
This is a documentation subpage for Template:Event trigger It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit source]{{event trigger
|date=
date (optional: base date, defaults to when a page was last revised)
|when=
how far in the future from date (optional: defaults to 7 days in the future)
|do when true=
(optional: what to do when the current date is equal or greater than date+when)
|do when false=
(optional: what to do when current date is less than date+when)
}}
Examples
[edit source]{{event trigger|date=20080201|the day has finally come|the day has not come to pass yet}}
the day has finally come
{{event trigger|date=December 21 2024|the day has finally come|the day has not come to pass yet}}
the day has not come to pass yet