Modèle:Special events lookup
This template takes date inputs from {{Special events calendar}} and calculates which event is active.
Usually, the only output is a variable called {{#var:Special event}}, which it shows. See Template:Special events calendar for a template that can be used.
Usage
{{Special events lookup | Halloween start = 01.10.2023 19:00 | Halloween end = 01.11.2023 08:01 | Noël start = 01.12.2023 20:00 | Noël end = 01.01.2023 20:00 }}