Difference between revisions of "Template:Co-Optitude anniversary check"
Jump to navigation
Jump to search
Rocketsoup (talk | contribs) |
Rocketsoup (talk | contribs) m (Rocketsoup moved page Template:CoopAnniversary to Template:Co-Optitude anniversary check: Standardizing template naming) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
− | Checks if today is on or near the Co-Optitude episode 1 anniversary and displays a callout box if so. Displays nothing if not. | + | 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: | Usage: | ||
<pre> | <pre> | ||
− | {{ | + | {{Co-Optitude anniversary check}} |
</pre> | </pre> | ||
</noinclude><includeonly><!-- | </noinclude><includeonly><!-- | ||
+ | |||
Co-Optitude anniversary | Co-Optitude anniversary | ||
(Anniversary is 2013-05-27. Celebrate on the day and for a couple days after.) | (Anniversary is 2013-05-27. Celebrate on the day and for a couple days after.) | ||
+ | |||
-->{{#ifexpr:{{LOCALMONTH1}}=5 and {{LOCALDAY}} >= 27 and {{LOCALDAY}} <= 29|<!-- (if date is in range) | -->{{#ifexpr:{{LOCALMONTH1}}=5 and {{LOCALDAY}} >= 27 and {{LOCALDAY}} <= 29|<!-- (if date is in range) | ||
-->{{#vardefine:ageYears|{{#expr:{{LOCALYEAR}}-2013}}}}<!-- | -->{{#vardefine:ageYears|{{#expr:{{LOCALYEAR}}-2013}}}}<!-- | ||
Line 15: | Line 17: | ||
<span style="font-size: 1.5em; font-weight: bold;">Happy {{Ordinal|{{#var:ageYears}}}} anniversary to Co-Optitude!</span> | <span style="font-size: 1.5em; font-weight: bold;">Happy {{Ordinal|{{#var:ageYears}}}} anniversary to Co-Optitude!</span> | ||
− | <span style="float: right; margin-left: 1em;">[[File:Episode 1 title card.jpg|100px|none|link=Episode 1|Episode 1]]</span>The first episode, | + | <span style="float: right; margin-left: 1em;">[[File:Episode 1 title card.jpg|100px|none|link=Episode 1|Episode 1]]</span><div style="text-align: left;">The [[Episode 1|first episode]], |
− | Golden Axe II, aired {{#dateformat:2013-05-27|mdy}}.<!-- | + | Golden Axe II, aired {{#dateformat:2013-05-27|mdy}}.</div><!-- |
--></div><!-- | --></div><!-- | ||
--></div><!-- | --></div><!-- | ||
Line 23: | Line 25: | ||
The Flog anniversary | The Flog anniversary | ||
(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;"><!-- | ||
− | --><div style="display: inline-block; background-color: #eeeeff; border: 1px solid #666699; padding: 1em;"> | + | --><div style="display: inline-block; background-color: #eeeeff; border: 1px solid #666699; padding: 1em; max-width: 40em;"> |
<span style="font-size: 1.5em; font-weight: bold;">Happy {{Ordinal|{{#var:ageYears}}}} anniversary of Felicia and Ryon's first [[The Flog]] segment together!</span> | <span style="font-size: 1.5em; font-weight: bold;">Happy {{Ordinal|{{#var:ageYears}}}} anniversary of Felicia and Ryon's first [[The Flog]] segment together!</span> | ||
Latest revision as of 06:02, 25 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:
{{Co-Optitude anniversary check}}