Ir al contenido

Plantilla:Dispara evento/uso

De Wikilibros, la colección de libros de texto de contenido libre.

Esta subpágina de documentación contiene instrucciones, categorías, u otra información por motivos técnicos.
Para ver el contenido, ver Plantilla:Dispara evento.

Uso

[editar]

{{event trigger
date date (optionel: 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)
}}

Ejemplo

[editar]

{{event trigger|date{{=}}20080201|the day has finally come|the day has not come to pass yet}}

Plantilla:Event trigger

{{event trigger|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTDAY}} {{CURRENTYEAR}}|the day has finally come|the day has not come to pass yet}}

Plantilla:Event trigger