Modèle:Event trigger

Un livre de Wikilivres.
Sauter à la navigation Sauter à la recherche
Template-info.svg Documentation du modèle


Usage[modifier le wikicode]

{{event trigger

date
date (optionnel): base date, defaults to when a page was last revised
when
how far in the future from date (optionnel): defaults to 7 days in the future
do when true
(optionnel): what to do when the current date is equal or greater than date+when
do when false
(optionnel): what to do when current date is less than date+when

}}

Exemples[modifier le wikicode]

{{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=octobre 23 2020|the day has finally come|the day has not come to pass yet}}

Erreur d’expression : opérateur < inattendu.