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

From Co-Optitude Wiki
Jump to navigation Jump to search
(Created page with "<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. Usage: <pre> {{CoopAnniversary}} </...")
 
Line 11: Line 11:
 
     -->{{#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;"><!--
       --><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;">
         --><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>The first episode,  

Revision as of 08:15, 12 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}}