Difference between revisions of "Template:On this day if"

From Co-Optitude Wiki
Jump to navigation Jump to search
Line 22: Line 22:
 
     -->}}<!--
 
     -->}}<!--
 
     --> aired featuring <!--
 
     --> aired featuring <!--
     -->{{#ifexpr:{{#explode:{{{Games}}}|;|2}}|<!--
+
     -->{{#if:{{#explode:{{{Games}}}|;|2}}|<!--
 
       (3 games)-->{{#explode:{{{Games}}}|;|0}}, {{#explode:{{{Games}}}|;|1}}, and {{#explode:{{{Games}}}|;|2}}.<!--
 
       (3 games)-->{{#explode:{{{Games}}}|;|0}}, {{#explode:{{{Games}}}|;|1}}, and {{#explode:{{{Games}}}|;|2}}.<!--
 
       (else)-->|<!--
 
       (else)-->|<!--
       -->{{#ifexpr:{{#explode:{{{Games}}}|;|1}}|<!--
+
       -->{{#if:{{#explode:{{{Games}}}|;|1}}|<!--
 
         (2 games)-->{{#explode:{{{Games}}}|;|0}} and {{#explode:{{{Games}}}|;|1}}.<!--
 
         (2 games)-->{{#explode:{{{Games}}}|;|0}} and {{#explode:{{{Games}}}|;|1}}.<!--
 
         (else)-->|{{{Games}}}.<!--
 
         (else)-->|{{{Games}}}.<!--

Revision as of 07:57, 12 April 2020

Shows a "on this day" block for an episode if today is its air date.

Usage:

{{OnThisDayIf|AirDate=2013-02-18|EpNum=F43|Games=Mortal Kombat; Shaq Fu}}
  • EpNum is a 3-character episode number, like 003 for a Co-Optitude episode or F43 for a Flog episode