Template:Episode counter
Appearance
{{Episode counter}} add a formatted string, displaying the date of the last episode, and the number of episodes that have aired
Usage
The template may be added by pasting the syntax as shown below into an article and then filling in the desired fields. Any parameters left blank or omitted will not be displayed.
{{Episode counter|NUM|YYYY|MM|DD|ended=no}}
{{Episode counter|NUM|YYYY|MM|DD|df=yes|ended=no}}
{{Episode counter|NUM|YYYY|MM|DD|ended=yes}}
{{Episode counter|NUM|YYYY|MM|DD|df=yes|ended=yes}}
- Examples
{{Episode counter|123|2021|07|07|ended=no}}
→ "123 (as of July 7, 2021 )"{{Episode counter|123|2021|07|07|df=yes|ended=no}}
→ "123 (as of 7 July 2021 )"{{Episode counter|123|2021|07|07|ended=yes}}
→ "123"{{Episode counter|123|2021|07|07|df=yes|ended=yes}}
→ "123"{{Episode counter|123 + 1 pilot|2021|07|07|ended=no}}
→ "123 + 1 pilot (as of July 7, 2021 )"{{Episode counter|123 + 1 pilot|2021|07|07|ended=yes}}
→ "123 + 1 pilot"
Parameters
Parameter | Required | Description |
---|---|---|
1
|
Yes | Set the number of episodes aired. |
2
|
Yes | Set the date of the last aired episode. |
3
|
Yes | |
4
|
Yes | |
df
|
Optional | Display the day before the month name. |
ended
|
Optional | Display only the episode. Change to yes when the series/show has ended. |
small
|
Deprecated | Display the (as of ...) in smaller text.Defaults to no. |
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Episode counter in articles based on its TemplateData.
TemplateData for Episode counter
Parameter | Description | Type | Status | |
---|---|---|---|---|
episode | 1 | Set the number of episodes aired. | String | required |
year | 2 | Set the date of the last aired episode. | Number | required |
month | 3 | Set the date of the last aired episode. | Number | required |
day | 4 | Set the date of the last aired episode. | Number | required |
day first | df | Display the day before the month name. | String | optional |
ended | ended | Display only the episode. Change to yes when the series/show has ended. | String | optional |