Difference between revisions of "Template:Aired episodes/doc"
Jump to navigation
Jump to search
blackwiki>Alex 21 (→Syntax) |
|||
| Line 6: | Line 6: | ||
===Syntax=== | ===Syntax=== | ||
| − | + | : <code><nowiki>{{Aired episodes|YEAR|MONTH|DAY|num=NUMBER|title=SERIES NAME|finished=SEASON|uk=TEXT}}</nowiki></code> | |
| − | ; | + | ====Examples==== |
| − | + | ; General | |
| − | + | : <code><nowiki>{{Aired episodes|2016|1|1|num=50|title=Generic Series}}</nowiki></code> | |
| − | + | : {{Aired episodes|2016|1|1|num=50|title=Generic Series}} | |
| − | + | ; Concluded season | |
| − | + | : <code><nowiki>{{Aired episodes|2016|1|1|num=50|title=Generic Series|finished=4}}</nowiki></code> | |
| − | + | : {{Aired episodes|2016|1|1|num=50|title=Generic Series|finished=4}} | |
| − | + | ; Partial season | |
| − | + | : <code><nowiki>{{Aired episodes|2016|1|1|num=50|title=Generic Series|finished=4.5}}</nowiki></code> | |
| − | + | : {{Aired episodes|2016|1|1|num=50|title=Generic Series|finished=4.5}} | |
| − | + | ; British English | |
| − | + | : <code><nowiki>{{Aired episodes|2016|1|1|num=50|title=Generic Series|finished=4|uk=y}}</nowiki></code> | |
| − | + | : {{Aired episodes|2016|1|1|num=50|title=Generic Series|finished=4|uk=y}} | |
| − | + | ; Concluded series | |
| − | + | : <code><nowiki>{{Aired episodes|num=50|title=Generic Series|finished=all|seasons=4}}</nowiki></code> | |
| + | : {{Aired episodes|num=50|title=Generic Series|finished=all|seasons=4}} | ||
| + | ; Released | ||
| + | : <code><nowiki>{{Aired episodes|2016|1|1|num=50|title=Generic Series|released=y}}</nowiki></code> | ||
| + | : {{Aired episodes|2016|1|1|num=50|title=Generic Series|released=y}} | ||
| + | ; Specials | ||
| + | : <code><nowiki>{{Aired episodes|2016|1|1|num=50|title=Generic Series|specials=2}}</nowiki></code> | ||
| + | : {{Aired episodes|2016|1|1|num=50|title=Generic Series|specials=1}} | ||
==Parameters== | ==Parameters== | ||
Revision as of 01:24, 20 March 2018
| This is a documentation subpage for Template:Aired episodes. It contains usage information, categories and other content that is not part of the original template page. |
Contents
Usage
The purpose of the {{Aired episodes}} template is to add a formatted string to List of ... episodes pages for television series, displaying the date of the last episode, the number of episodes that have aired in the series, and whether a season has recently finished.
Syntax
{{Aired episodes|YEAR|MONTH|DAY|num=NUMBER|title=SERIES NAME|finished=SEASON|uk=TEXT}}
Examples
- General
{{Aired episodes|2016|1|1|num=50|title=Generic Series}}- As of January 1, 2016,[update] 50 episodes of Generic Series have aired.
- Concluded season
{{Aired episodes|2016|1|1|num=50|title=Generic Series|finished=4}}- Lua error: expandTemplate: template "Ordinal to word" does not exist.
- Partial season
{{Aired episodes|2016|1|1|num=50|title=Generic Series|finished=4.5}}- Lua error: expandTemplate: template "Ordinal to word" does not exist.
- British English
{{Aired episodes|2016|1|1|num=50|title=Generic Series|finished=4|uk=y}}- Lua error: expandTemplate: template "Ordinal to word" does not exist.
- Concluded series
{{Aired episodes|num=50|title=Generic Series|finished=all|seasons=4}}- Lua error: expandTemplate: template "Number to word" does not exist.
- Released
{{Aired episodes|2016|1|1|num=50|title=Generic Series|released=y}}- As of January 1, 2016,[update] 50 episodes of Generic Series have been released.
- Specials
{{Aired episodes|2016|1|1|num=50|title=Generic Series|specials=2}}- Lua error: expandTemplate: template "Number to word" does not exist.
Parameters
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Year | 1 | The year of the series' most recently aired episode. Format: YYYY |
Number | Required Unrequired when "finished" equals "all" |
| Month | 2 | The month of the series' most recently aired episode. Format: M / MM |
Number | Required Unrequired when "finished" equals "all" |
| Day | 3 | The day of the series' most recently aired episode. Format: D / DD |
Number | Required Unrequired when "finished" equals "all" |
| Number | num | The number of episodes that the have aired up until the most recent. Format: 9 / nine |
Number/String | Required |
| Series | title | The un-italicized title of the series. Format: Game of Thrones |
String | Required |
| Released | released | Whether the season in question has been released online, rather than aired. Format: y |
String | Optional |
| Finished | finished | Whether the season in question has been concluded. Add ".5" for conclusions of split seasons. Use "all" for the conclusion of the series. Format: 5 or 5.5 or all |
Number / String | Optional |
| Seasons | seasons | The number of seasons that a concluded series aired over. Converted to word for less than 10 seasons. Format: 3 |
Number | Optional |
| UK Format | uk | Whether the series in question follows the British format of titling and dating. Format: Text / <blank> |
String | Optional |
| Specials | specials | How many specials have been aired throughout the series. Format: 1 or one |
Number / String | Optional |