Template:Episode: Difference between revisions

From SGUTranscripts
Jump to navigation Jump to search
m (updated the math. the friday after the most recent saturday broadcast should still label an episode as "the latest episode".)
m (you'd think I would have this calculation correct. today is Saturday, so 7 days ago was last Saturday, the previous episode, which is no longer the latest!!! Today will be less than 7 days ago tomorrow all the way to this Friday)
Line 4: Line 4:
| width="3" bgcolor=#22b222| 
| width="3" bgcolor=#22b222| 
| width="40" align="center"|[[File:Emblem-pen-green.png|25x25px|link=]]
| width="40" align="center"|[[File:Emblem-pen-green.png|25x25px|link=]]
|{{#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. |{{#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. | 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. |{{#ifexpr: ({{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}-{{JULIANDAY|{{{3}}}|{{{1}}}|{{{2}}}}}) < 7 | 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. | 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.}}}}


|}
|}

Revision as of 07:42, 6 December 2020

Description

Include this template at the top of episodes that are incomplete. Use the parameters "M", "D", and "YYYY", which represent the broadcast date. It will 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 a mashup of the Latest Episode, Recent Episode, and Old Episode templates.)

Based on the calculation setup, it will generate one of the following message boxes:

  Emblem-pen-green.png This is the transcript for the latest episode and it is not yet complete. Please help us complete it!
Add a Transcribing template to the top of this episode before you start so that we don't duplicate your efforts.

or

  Emblem-pen-green.png This is a transcript of a recent episode and it is not finished. Please help us finish it!
Add a Transcribing template to the top of this transcript before you start so that we don't duplicate your efforts.

or

  Emblem-pen-green.png This transcript is not finished. Please help us finish it!
Add a Transcribing template to the top of this transcript before you start so that we don't duplicate your efforts.

Usage

{{Episode|M|D|YYYY}}