Template:Series overview/doc

From HandWiki
< Template:Series overview
Revision as of 17:38, 15 January 2021 by imported>Alex 21 (Because these colours are all WCAG 2 AAA Compliant (and thus WCAG 2 AA Compliant), and thus conforming with WP:COLOR. Don't arbitrarily change colours.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

The purpose of this template is to easily add a series overview table (as per WP:TVOVERVIEW) for television series' that require it, in either a simple format (i.e. just episodes and dates) or with extra information (e.g. networks, ratings, etc).

Syntax and examples

Basic example

Code
{{Series overview
| color1     = #74E387
| link1      = #Season 1
| episodes1  = 26
| start1     = {{Start date|2012|9|8}}
| end1       = {{End date|2013|6|15}}

| color2     = #004000
| link2      = #Season 2
| episodes2  = 26
| start2     = {{Start date|2013|9|13}}
| end2       = {{End date|2014|6|21}}

| color3     = #000000
| link3      = #Season 3
| episodes3  = 26
| start3     = {{Start date|2014|9|19}}
| end3       = {{End date|2015|6|26}}
}}

Script error: No such module "Series overview".

Alternate link text with caption and raw link text

Code
{{Series overview
| caption    = Series overview

| color1     = #74E387
| link1      = #Season 1
| linkT1     = Chapter One
| episodes1  = 26
| start1     = {{Start date|2012|9|8}}
| end1       = {{End date|2013|6|15}}

| color2     = #004000
| link2      = #Season 2
| linkT2     = Chapter Two
| episodes2  = 26
| start2     = {{Start date|2013|9|13}}
| end2       = {{End date|2014|6|21}}

| color3     = #000000
| link3      = #Season 3
| linkT3     = Chapter Three
| linkR3     = {{dummy ref|1}}
| episodes3  = 26
| start3     = {{Start date|2014|9|19}}
| end3       = {{End date|2015|6|26}}
}}

Script error: No such module "Series overview".

Series/Season & "dd mmm yyyy" dates

The top-left cell displays either Series or Season, determined if the |df= parameter of the first {{Start date}} template is set. If it is included (|df=y), the cell will display Series, otherwise the cell will display Season. This can be overridden by setting either |seriesT= or |seasonT= to custom text.

Code
{{Series overview
| color1     = #74E387
| link1      = #Season 1
| episodes1  = 26
| start1     = {{Start date|2012|9|8|df=y}}
| end1       = {{End date|2013|6|15|df=y}}

| color2     = #004000
| link2      = #Season 2
| episodes2  = 26
| start2     = {{Start date|2013|9|13|df=y}}
| end2       = {{End date|2014|6|21|df=y}}

| color3     = #000000
| link3      = #Season 3
| episodes3  = 26
| start3     = {{Start date|2014|9|19|df=y}}
| end3       = {{End date|2015|6|26|df=y}}
}}

Script error: No such module "Series overview".

Split season

Code
{{Series overview
| color1     = #74E387
| link1      = #Season 1
| episodes1  = 26
| start1     = {{Start date|2012|9|8}}
| end1       = {{End date|2013|6|15}}

| color2     = #004000
| link2      = #Season 2
| episodes2  = 26
| start2     = {{Start date|2013|9|13}}
| end2       = {{End date|2014|6|21}}

| link3      = #Season 3
| episodes3  = 38
| color3A    = #000000
| episodes3A = 13
| start3A    = {{Start date|2014|9|19}}
| end3A      = {{End date|2014|12|24}}
| color3B    = #00004A
| episodes3B = 12
| start3B    = {{Start date|2015|2|15}}
| end3B      = {{End date|2015|6|26}}
| color3C    = #00008A
| episodes3C = 13
| start3C    = {{Start date|2015|11|4}}
| end3C      = {{End date|2016|1|31}}
}}

Script error: No such module "Series overview".

And with the |episodes parameter set to "hide".

Script error: No such module "Series overview".

Specials

Code
{{Series overview
| color1     = #74E387
| link1      = #Season 1
| episodes1  = 26
| start1     = {{Start date|2012|9|8}}
| end1       = {{End date|2013|6|15}}

| color2     = #004000
| link2      = #Season 2
| episodes2  = 26
| start2     = {{Start date|2013|9|13}}
| end2       = {{End date|2014|6|21}}

| color3     = #000000
| link3      = #Season 3
| episodes3  = 26
| start3     = {{Start date|2014|9|19}}
| end3       = {{End date|2015|6|26}}

| color3S    = #00004A
| link3S     = #Special
| linkT3S    = S
| episodes3S = 1
| start3S    = {{Start date|2015|10|21}}
}}

Script error: No such module "Series overview".

And with the |episodes parameter removed and the link text changed.

Script error: No such module "Series overview".

Special first, followed by season one

Code
{{Series overview
| color0S    = #00004A
| link0S     = #Special
| linkT0S    = S
| episodes0S = 1
| start0S    = {{Start date|2011|10|21}}

| color1     = #74E387
| link1      = #Season 1
| episodes1  = 26
| start1     = {{Start date|2012|9|8}}
| end1       = {{End date|2013|6|15}}

| color2     = #004000
| link2      = #Season 2
| episodes2  = 26
| start2     = {{Start date|2013|9|13}}
| end2       = {{End date|2014|6|21}}

| color3     = #000000
| link3      = #Season 3
| episodes3  = 26
| start3     = {{Start date|2014|9|19}}
| end3       = {{End date|2015|6|26}}
}}

Script error: No such module "Series overview".

Extra information and country-based header

Code
{{Series overview
| infoA      = Rank
| infoB      = Rating
| infoC      = Average viewership<br />(in millions)
| country    = U.S.

| color1     = #74E387
| link1      = #Season 1
| episodes1  = 26
| start1     = {{Start date|2012|9|8}}
| end1       = {{End date|2013|6|15}}
| infoA1     = 55
| infoB1     = 11.8
| infoC1     = 3.2

| color2     = #004000
| link2      = #Season 2
| episodes2  = 26
| start2     = {{Start date|2013|9|13}}
| end2       = {{End date|2014|6|21}}
| infoA2     = 65
| infoB2     = 9.2

| color3     = #000000
| link3      = #Season 3
| episodes3  = 26
| start3     = {{Start date|2014|9|19}}
| end3       = {{End date|2015|6|26}}
| infoA3     = 63
}}

Script error: No such module "Series overview".

Multiple networks

Code
{{Series overview
| color1     = #74E387
| link1      = #Season 1
| episodes1  = 26
| start1     = {{Start date|2012|9|8}}
| end1       = {{End date|2013|6|15}}
| network1   = [[The WB]]

| color2     = #004000
| link2      = #Season 2
| episodes2  = 26
| start2     = {{Start date|2013|9|13}}
| end2       = {{End date|2014|6|21}}

| color3     = #000000
| link3      = #Season 3
| episodes3  = 26
| start3     = {{Start date|2014|9|19}}
| end3       = {{End date|2015|6|26}}
| network3   = [[The CW]]
}}

Script error: No such module "Series overview".

Auxiliary columns

Code
{{Series overview
| auxA       = Title
| auxB       = Stories

| color1     = #74E387
| link1      = #Season 1
| auxA1      = ''First''
| auxB1      = 13
| episodes1  = 26
| start1     = {{Start date|2012|9|8}}
| end1       = {{End date|2013|6|15}}

| color2     = #004000
| link2      = #Season 2
| auxA2      = ''Second''
| auxB2      = 14
| episodes2  = 26
| start2     = {{Start date|2013|9|13}}
| end2       = {{End date|2014|6|21}}

| color3     = #000000
| link3      = #Season 3
| auxA3      = ''Third''
| auxB3      = 15
| episodes3  = 26
| start3     = {{Start date|2014|9|19}}
| end3       = {{End date|2015|6|26}}
}}

Script error: No such module "Series overview".

And with a combination of |aux and |postaux parameters.

Code
{{Series overview
| auxA       = Title
| postauxA   = Stories

| color1     = #74E387
| link1      = #Season 1
| auxA1      = ''First''
| episodes1  = 26
| postauxA1  = 13
| start1     = {{Start date|2012|9|8}}
| end1       = {{End date|2013|6|15}}

| color2     = #004000
| link2      = #Season 2
| auxA2      = ''Second''
| episodes2  = 26
| postauxA2  = 14
| start2     = {{Start date|2013|9|13}}
| end2       = {{End date|2014|6|21}}

| color3     = #000000
| link3      = #Season 3
| auxA3      = ''Third''
| episodes3  = 26
| postauxA3  = 15
| start3     = {{Start date|2014|9|19}}
| end3       = {{End date|2015|6|26}}
}}

Script error: No such module "Series overview".

Released

Code
{{Series overview
| released   = y

| color1     = #74E387
| link1      = #Season 1
| episodes1  = 26
| start1     = {{Start date|2012|9|8}}
| end1       = start

| color2     = #004000
| link2      = #Season 2
| episodes2  = 26
| start2     = {{Start date|2013|9|13}}
| end2       = {{End date|2014|6|21}}

| color3     = #000000
| link3      = #Season 3
| episodes3  = 26
| start3     = {{Start date|2014|9|19}}
| end3       = start
}}

Script error: No such module "Series overview".

End dates omitted with the |allreleased parameter set.

Script error: No such module "Series overview".

Multi-series franchise

Code
{{Series overview
| width       = 75%
| infoA       = [[Showrunner]]
| infoB       = Status
| multiseries = 
{{Series overview/part|nopart=y|c=#ccf|p=Live-action series}}
{{Series overview
| series      = ''Series A''
| infoA       = y
| infoB       = y

| color1      = #74E387
| link1       = #Season 1
| episodes1   = 26
| start1      = {{Start date|2012|9|8}}
| end1        = {{End date|2013|6|15}}
| infoA1      = John Smith
| infoB1      = Released
| infoBspan1  = 4

| color2      = #004000
| link2       = #Season 2
| episodes2   = 26
| start2      = {{Start date|2013|9|13}}
| end2        = {{End date|2014|6|21}}

| color3      = #000000
| link3       = #Season 3
| episodes3   = 26
| start3      = {{Start date|2014|9|19}}
| end3        = {{End date|2015|6|26}}
}}
{{Series overview
| series      = ''Series B''
| infoA       = y
| infoB       = y

| color1      = #7487E3
| link1       = #Season 1
| episodes1   = 26
| start1      = {{Start date|2015|9|21}}
| end1        = {{End date|2016|6|11}}
| infoA1      = Jane Doe

| color2      = #000040
| link2       = #Season 2
| episodes2   = 26
| start2      = {{Start date|2016|9|17}}
| end2        = {{End date|2017|6|30}}
| infoB2      = Airing
}}
}}

Script error: No such module "Series overview".

Parameters

Template parameters
Parameter Description Type Status
Caption caption An appropriate caption for the table, normally something like "Series overview", which uses {{Screen reader-only}} to not be displayed in a browser but be voiced by a screen reader for accessibility. Required for proper accessibility. When a caption is not required on the page where the table is located, but is on a page where the table is transcluded, the caption may be wrapped in <includeonly>...</includeonly>. Text Required
Header titles Season/Series seasonT Set to change custom text in the cell where Series/Season is typically displayed.
Format: Series
Alternate: seriesT
Text Optional
Info sub-headers info{A-Z} The sub-headers of the extra information (e.g. Viewers (in millions)) for the series in question. 26 columns are available for extra information (labelled infoA ... infoZ). When used in multi-series franchise overviews, set the value to the column titles in the initial declaration of the template, and set to "y" in each of the separate series overviews to still include the info cells.
Format: Viewers (in millions)
Text Optional
Auxiliary aux{A-Z} or postaux{A-Z} The titles of the auxiliary columns. 25 columns are available for pre-episode auxiliary columns (labelled auxA ... auxZ, barring auxS which clashes with specials), and a further 25 columns are available for post-episode auxiliary columns (labelled postauxA ...).
Format: Title
Text Optional
Country country Add a country to the "Originally aired/released" header cell.
Format: U.S.
Text Optional
Network network The network that multiple seasons have aired under, if a series has aired on two or more networks. Only use as a header title in multi-series franchises, in the initial declaration of the template, not the season-specific networks and set to "y" in this case. Text Optional
Transclusion display *_transclude Gives the option to toggle the display of certain columns (network and info columns are the only ones supported so far) when tranclcuding the overview. This parameter takes one of two values: 1) "onlyinclude", so the column is only included in the table when transcluded (i.e. not shown on the origin page), or 2) "noinclude", so the column is only included in the table on the origin page (i.e. not shown on the transcluding page). For the template to determine what the original article is, the original article title must be included as the first unnamed parameter (e.g. as {{Series overview|PAGE NAME}} or {{Series overview|1=PAGE NAME}}). Text Optional
Franchises Multiple series multiseries The individual series overviews that make up a multi-series franchise table. Use in the first series overview that declares the headers. The parameter value should be the separate series overviews. Set to "y" when "dontclose" is declared. Series overviews Optional
Series series The linked, italicized title of the series when used in a multi-series franchise. Use in each separate series overview. Link Required when multiseries is set
Don't Close dontclose Set this parameter to "y" to be able to close the initial wikicode declaration of the multi-series franchise header overview, but to be able to continue displaying the separate series and rows after the header but outside of the initial declaration. Particularly useful for when the individual rows have to be transcluded outside of the article and thus must be outside of a template. To close the initial declaration, {{end}} must be used. Text Optional
Season specifics Color color* The color of the season table for the season in question. In the case where no colours are used at all, between any seasons, the coloured cell column will be removed.
Format: black / #000000
Color Required
Link link* The link to the season in question.
Transclusion format: <includeonly>List of iZombie episodes</includeonly>#Season 1 (2015)
Non-transclusion format: #Season 1 (2015)
Text Required
Link Text linkT* Alternate text to display in the season link rather than the season number.
Format: Special
Text Optional
Raw Link Text linkR* Additional text to display next to the season link, outside of the link itself. Good for references or notes.
Format: {{efn}}
Text Optional
Auxiliary aux{A-Z}* or postaux{A-Z}* Auxiliary columns for season titles, etc. This column spans rows when succeeding auxiliary parameters are not set. "aux" parameters are placed between the Season and Episode columns, and "postaux" parameters are placed between the Episode and Date columns.
Format: Coven
Text Optional
Episodes episodes* The number of episodes in the season in question.
Set to "hide" for split seasons to hide the total episode count and use only the split episode counts. This is particular useful for when the episodes don't combine together; for example, a pilot episode then a full season. Setting to "hide" for regular seasons has no effect.
Format: 22
Exclusion: {{N/A|TBA}}
Number / Text Optional
Start date start* The start date of the season in question. This parameter is required for the row of the overview to appear; without a date but with the inclusion of any other parameter, the row will not display. To display a row without a start date, use {{N/A|TBA}}.
Format: {{Start date|2015|3|17}}
Exclusion: {{N/A|TBA}}
Date Required
End date end* The end date of the season in question. If equal to start (i.e. the season was aired/released on the same day), the date spans over two columns. Not included if the "allreleased" parameter is set.
Format: {{End date|2015|6|9}}
Exclusion: {{N/A|TBA}}
Date/Text Optional
Network network* The network that multiple seasons have aired under, if a series has aired on two or more networks. The span of the network column is calculated automatically.
Format: ABC
Text Optional
Info info{A-Z}* The values of the extra information (e.g. Ratings) for the season in question.
Note: Information cell parameters will be automatically set to {{N/A|TBA}} if set for a previous season (e.g. info1A) but not included for the current season (e.g. info2A) in regular series overviews. Information cells will automatically span over empty rows in multi-series franchise series overviews if set for a previous season but not included for the current season; they cannot, however, span between separate series-specific overviews, meaning information may be repeated (e.g. a "Released" status for multiple series that have been released).
Format: 28
Text Optional
Spanning cells {aux|postaux|network|info}{A-Z}span* A set value for an auxiliary, post-auxiliary, network or info cell to span downwards through rowspan outside of its standard calculated value.
Format: 28
Number Optional
Release Released released Determines whether the television series in question was released online or aired. Changes "Originally/First/Last aired" to "Originally/First/Last released".
Format: y
Text Optional
All Released allreleased Determines whether the television series has all episodes in every season released on the same day (e.g. Orange Is the New Black).
Format: y
Text Optional

* indicates any number that is a positive integer, starting from one for regular/split seasons, and zero for specials.