Difference between revisions of "Template:Co-Optitude anniversary check"

From Co-Optitude Wiki
Jump to navigation Jump to search
m (Rocketsoup moved page Template:CoopAnniversary to Template:Co-Optitude anniversary check: Standardizing template naming)
 
(9 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>
{{CoopAnniversary}}
+
{{Co-Optitude anniversary check}}
 
</pre>
 
</pre>
 
</noinclude><includeonly><!--
 
</noinclude><includeonly><!--
 +
 +
  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}}=4 and {{LOCALDAY}} >= 12 and {{LOCALDAY}} <= 14|<!-- (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}}}}<!--
 
     --><div style="text-align: center; margin: 1em 0;"><!--
 
     --><div style="text-align: center; margin: 1em 0;"><!--
Line 14: 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><!--
 +
  -->}}<!--
 +
 
 +
  The Flog anniversary
 +
  (Anniversary is 2012-04-09. Celebrate on the day and for a couple days after.)
 +
 
 +
  -->{{#ifexpr:{{LOCALMONTH1}}=4 and {{LOCALDAY}} >= 9 and {{LOCALDAY}} <= 11|<!-- (if date is in range)
 +
    -->{{#vardefine:ageYears|{{#expr:{{LOCALYEAR}}-2012}}}}<!--
 +
    --><div style="text-align: center; margin: 1em 0;"><!--
 +
      --><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="float: right; margin-left: 1em;">[[File:Flog episode 2 title card.jpg|100px|none|link=The Flog episode 2|The Flog episode 2]]</span><div style="text-align: left;">Before [[Co-Optitude]], there were retro gaming segments on Felicia's weekly vlog show, [[The Flog]], where she and her brother played the old console games they never got to play growing up. The first such segment was in [[The Flog episode 2|episode 2]] where they played the [[Sega Genesis]] game ''Streets of Rage'', aired {{#dateformat:2012-04-09|mdy}}. The segment was later re-edited into a longer [[Episode 24|Co-Optitude episode]] about a year and a half later.</div><!--
 
       --></div><!--
 
       --></div><!--
 
     --></div><!--
 
     --></div><!--
 
   -->}}<!--
 
   -->}}<!--
 
--></includeonly>
 
--></includeonly>

Latest revision as of 07: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}}