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

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

Revision as of 08:06, 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