Difference between revisions of "Template:On this day if"
Jump to navigation
Jump to search
Rocketsoup (talk | contribs) |
Rocketsoup (talk | contribs) |
||
Line 12: | Line 12: | ||
-->{{#vardefine:airDay|{{#time:j|{{{AirDate}}} }} }}<!-- | -->{{#vardefine:airDay|{{#time:j|{{{AirDate}}} }} }}<!-- | ||
-->{{#ifexpr: {{LOCALMONTH1}} = {{#var:airMonth}} and {{LOCALDAY}}={{#var:airDay}}|<!-- (if today matches passed M/D) | -->{{#ifexpr: {{LOCALMONTH1}} = {{#var:airMonth}} and {{LOCALDAY}}={{#var:airDay}}|<!-- (if today matches passed M/D) | ||
− | -->'''On this day''' | + | -->'''On this day {{CURRENTMONTHNAME}} {{Ordinal|{{CURRENTDAY}}}}''' |
* '''{{#var:airYear}}''': <!-- | * '''{{#var:airYear}}''': <!-- |
Revision as of 08:38, 13 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