Template:Episode

From SGUTranscripts
Revision as of 11:31, 22 September 2020 by Xanderox (talk | contribs) (hmm trying the "reduce expansion depth" example from here: https://www.mediawiki.org/wiki/Help:Extension:ParserFunctions##switch)
Jump to navigation Jump to search


Expression error: Unexpected < operator.

Description

Include this template at the top of episodes that are incomplete. Use the parameters "MM", "DD", and "YYYY", which represent the broadcast date. Once I get this template squared up, it should be able to calculate how "recent" the episode is, and will display the relevant message. The "latest episode" message will be for the episode whose broadcast date is no more than 6 days older than the current date; the "recent episode" message will be for the one whose date is no more than a year older than the current date; all older episodes will just say "This episode...". (So this template is attempting to be a mashup of the Latest Episode and Recent Episode templates.

Usage

{{Episode}}