Template:Episode: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (does >= not work?)
(whoops updated messages)
Line 7: Line 7:
  |{{#ifexpr: ({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-{{JULIANDAY|{{{3}}}|{{{1}}}|{{{2}}}}}) < 8 | This is the '''latest episode''' and it is not yet complete. Please help us complete the transcript as soon as possible by transcribing a section.  Remember to add your [[Transcribing templates|Transcribing template]] to the top of this episode (and to your section) before you start so that we don't duplicate your efforts.}}
  |{{#ifexpr: ({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-{{JULIANDAY|{{{3}}}|{{{1}}}|{{{2}}}}}) < 8 | This is the '''latest episode''' and it is not yet complete. Please help us complete the transcript as soon as possible by transcribing a section.  Remember to add your [[Transcribing templates|Transcribing template]] to the top of this episode (and to your section) before you start so that we don't duplicate your efforts.}}
  |{{#ifexpr: ({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-{{JULIANDAY|{{{3}}}|{{{1}}}|{{{2}}}}}) < 365 | This is a '''recent episode''' and it is not yet complete. Please help us complete the transcript as soon as possible by transcribing a section.  Remember to add your [[Transcribing templates|Transcribing template]] to the top of this episode (and to your section) before you start so that we don't duplicate your efforts.}}
  |{{#ifexpr: ({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-{{JULIANDAY|{{{3}}}|{{{1}}}|{{{2}}}}}) < 365 | This is a '''recent episode''' and it is not yet complete. Please help us complete the transcript as soon as possible by transcribing a section.  Remember to add your [[Transcribing templates|Transcribing template]] to the top of this episode (and to your section) before you start so that we don't duplicate your efforts.}}
  |{{#ifexpr: ({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-{{JULIANDAY|{{{3}}}|{{{1}}}|{{{2}}}}}) > 365 | This is a '''recent episode''' and it is not yet complete. Please help us complete the transcript as soon as possible by transcribing a section.  Remember to add your [[Transcribing templates|Transcribing template]] to the top of this episode (and to your section) before you start so that we don't duplicate your efforts.}}
  |{{#ifexpr: ({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-{{JULIANDAY|{{{3}}}|{{{1}}}|{{{2}}}}}) >= 365 | This episode is not yet complete. Please help us complete the transcript as soon as possible by transcribing a section.  Remember to add your [[Transcribing templates|Transcribing template]] to the top of this episode (and to your section) before you start so that we don't duplicate your efforts.}}
|}
|}
</div></includeonly><noinclude>
</div></includeonly><noinclude>

Revision as of 11:16, 22 September 2020


User:Xanderox#Sandboxing

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, Recent Episode, and Old Episode templates.

Usage

{{Episode}}