Difference between revisions of "Template:Co-Optitude anniversary check"
Jump to navigation
Jump to search
Rocketsoup (talk | contribs) |
Rocketsoup (talk | contribs) |
||
Line 26: | Line 26: | ||
(Anniversary is 2012-04-09. Celebrate on the day and for a couple days after.) | (Anniversary is 2012-04-09. Celebrate on the day and for a couple days after.) | ||
− | -->{{#ifexpr:{{LOCALMONTH1}}=4 and {{LOCALDAY}} >= | + | -->{{#ifexpr:{{LOCALMONTH1}}=4 and {{LOCALDAY}} >= 9 and {{LOCALDAY}} <= 11|<!-- (if date is in range) |
-->{{#vardefine:ageYears|{{#expr:{{LOCALYEAR}}-2012}}}}<!-- | -->{{#vardefine:ageYears|{{#expr:{{LOCALYEAR}}-2012}}}}<!-- | ||
--><div style="text-align: center; margin: 1em 0;"><!-- | --><div style="text-align: center; margin: 1em 0;"><!-- |
Revision as of 06:43, 22 April 2020
Checks if today is on or near the Co-Optitude episode 1 anniversary and displays a callout box if so. Displays nothing if not.
Usage:
{{CoopAnniversary}}