Template:Episode: Difference between revisions
m (upcoming ep extra word) |
m (so proud of this template. just tiny markup and desc tweaks here) |
||
Line 38: | Line 38: | ||
Shorthand breakdown of #if: strings: | Shorthand breakdown of #if: strings: | ||
{{ IF: Julian less than input | THEN: upcoming | IF NOT, THEN {{ IF input is greater than 365 from Julian | THEN: old | IF NOT, THEN {{ IF input is less than 7 days ago | THEN: latest | IF NOT, THEN: recent }} (close expression for over 7/under 7 days) }} (close expression for over year/under year) }} (close expression for future or not) }} --> | {{ IF: Julian less than input | ||
| THEN: upcoming | |||
| IF NOT, THEN | |||
{{ IF input is greater than 365 from Julian | |||
| THEN: old | |||
| IF NOT, THEN | |||
{{ IF input is less than 7 days ago | |||
| THEN: latest | |||
| IF NOT, THEN: recent | |||
}} (close expression for over 7/under 7 days) | |||
}} (close expression for over 1 year/under 1 year) | |||
}} (close expression for future or not) }} | |||
--> | |||
=== Description === | === 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 | 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 a relevant message that asks for help completing the transcript. | ||
The "latest episode" message will be for the episode whose broadcast date is no more than 6 days older than today's date, {{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}} ({{CURRENTTIME}}); the "recent episode" message will be for episodes whose date is no more than a year before today's date; all episodes older than one year will just say "This episode...". (So this template is a mashup of the [[Template:LatestEpisode|Latest Episode]], [[Template:RecentEpisode|Recent Episode]], and [[Template:OldEpisode|Old Episode]] templates.) Episodes whose broadcast dates are still in the future will have the "upcoming episode" message. | |||
<br><br> | <br><br> | ||
Based on the calculation setup, it will generate one of the following message boxes: | Based on the calculation setup, it will generate one of the following message boxes: |
Latest revision as of 04:19, 2 May 2024
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 a relevant message that asks for help completing the transcript.
The "latest episode" message will be for the episode whose broadcast date is no more than 6 days older than today's date, November 21, 2024 (18:09); the "recent episode" message will be for episodes whose date is no more than a year before today's date; all episodes older than one year will just say "This episode...". (So this template is a mashup of the Latest Episode, Recent Episode, and Old Episode templates.) Episodes whose broadcast dates are still in the future will have the "upcoming episode" message.
Based on the calculation setup, it will generate one of the following message boxes:
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
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
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. |
or
This transcript outline is for an upcoming episode. Please help us complete the transcript once the episode is released. Remember to 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}}