Шаблон:Series overview/документація: відмінності між версіями

[неперевірена версія][перевірена версія]
Вилучено вміст Додано вміст
Немає опису редагування
м Відкинуто редагування Ivasykus (обговорення) до зробленого 8.37.231.214
Рядок 1:
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
 
== Usage ==
The purpose of this template is to easily add a series overview table (as per [[WP:TVOVERVIEW]]) for television series' that require it, for up to 50 seasons, in either a simple format (i.e. just episodes and dates) or with extra information (e.g. networks,Nielsen ratings, etc).
 
===Syntax===
====Main overview====
<pre>{{Series overview
| caption = TEXT<!-- Tables that are not the first or only content in a section require captions. -->
| seasonT = TEXT
| captionauxA = TEXTTitle
| infoheaderauxB = TEXTStories
| info{A-Z}infoheader = TEXT
| info{A-E} = TEXT
 
| color*{1-50} = COLOR
| link*{1-50} = TEXT
| linkT*auxA{1-50} = TEXTTitle
| auxauxB{A1-Z50}* = TEXTStories
| episodes*{1-50} = NUMBER
| start*{1-50} = DATE{{Start date|YYYY|MM|DD}}
| end*{1-50} = DATE{{End date|YYYY|MM|DD}}
| network*info{1-50}{A-E} = TEXT
| infonetwork{A1-Z50}* = TEXT
| network{1-50}length = TEXT
}}</pre>
| extra{0-50} = TEMPLATES
 
| uk = TEXT
====Specials====
| split = TEXT
<pre>{{Series overview
| color*S = COLOR
| link*S = TEXT
| linkT*S = TEXT
| aux{A-Z}*S = TEXT
| episodes*S = NUMBER
| start*S = DATE
| end*S = DATE
| network*S = TEXT
| info{A-Z}*S = TEXT
}}</pre>
<pre>{{Series overview
| color*S{A-Z} = COLOR
| link*S{A-Z} = TEXT
| linkT*S{A-Z} = TEXT
| aux{A-Z}*S{A-Z} = TEXT
| episodes*S{A-Z} = NUMBER
| start*S{A-Z} = DATE
| end*S{A-Z} = DATE
| network*S{A-Z} = TEXT
| info{A-Z}*S{A-Z} = TEXT
}}</pre>
 
====Split season====
<pre>{{Series overview
| color* = COLOR
| link* = TEXT
| linkT* = TEXT
| aux{A-Z}* = TEXT
| episodes* = NUMBER
| network* = TEXT
| info{A-Z}* = TEXT
 
| color*A = COLOR
| aux{A-Z}*A = TEXT
| episodes*A = NUMBER
| start*A = DATE
| end*A = DATE
| network*A = TEXT
| info{A-Z}*A = TEXT
 
| color*B = COLOR
| aux{A-Z}*B = TEXT
| episodes*B = NUMBER
| start*B = DATE
| end*B = DATE
| network*B = TEXT
| info{A-Z}*B = TEXT
}}</pre>
<nowiki />* indicates any number that is a positive integer, starting from one for regular/split seasons, and zero for specials.
 
=== Examples ===
==== Example 1 - Basic example ====
{{collapse top|Code}}
<pre><nowiki>{{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}}
}}</nowiki></pre>
{{collapse bottom}}
 
{{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}}
}}
 
==== Alternate link text with caption ====
{{collapse top|Code}}
<pre><nowiki>{{Series overview
Рядок 127 ⟶ 36:
| color1 = #74E387
| link1 = #Season 1
| linkT1 = Chapter One
| episodes1 = 26
| start1 = {{Start date|2012|9|808}}
| end1 = {{End date|2013|6|15}}
 
| color2 = #004000
| link2 = #Season 2
| linkT2 = Chapter Two
| episodes2 = 26
| start2 = {{Start date|2013|9|13}}
Рядок 141 ⟶ 48:
| color3 = #000000
| link3 = #Season 3
| linkT3 = Chapter Three
| episodes3 = 26
| start3 = {{Start date|2014|9|19}}
Рядок 149 ⟶ 55:
 
{{Series overview
| caption = Series overview
 
| color1 = #74E387
| link1 = #Season 1
| linkT1 = Chapter One
| episodes1 = 26
| start1 = {{Start date|2012|9|808}}
| end1 = {{End date|2013|6|15}}
 
| color2 = #004000
| link2 = #Season 2
| linkT2 = Chapter Two
| episodes2 = 26
| start2 = {{Start date|2013|9|13}}
Рядок 167 ⟶ 69:
| color3 = #000000
| link3 = #Season 3
| linkT3 = Chapter Three
| episodes3 = 26
| start3 = {{Start date|2014|9|19}}
Рядок 173 ⟶ 74:
}}
 
==== Example 2 - Series/Season & "dd mmmMmm yyyy" dates ====
The top-left cell displays either Series or Season, determined if the {{para|df}} parameter of the first {{tl|Start date}} template is set. If it is included (<code>|df=y</code>), the cell will display Series, otherwise the cell will display Season. This can be overridden by setting either {{para|seriesT}} or {{para|seasonT}} to custom text.
{{collapse top|Code}}
<pre><nowiki>{{Series overview
| uk = y
 
| color1 = #74E387
| link1 = #Season 1
| episodes1 = 26
| start1 = {{Start date|2012|9|808|df=y}}
| end1 = {{End date|2013|6|15|df=y}}
 
Рядок 198 ⟶ 100:
 
{{Series overview
| uk = y
 
| color1 = #74E387
| link1 = #Season 1
| episodes1 = 26
| start1 = {{Start date|2012|9|808|df=y}}
| end1 = {{End date|2013|6|15|df=y}}
 
Рядок 217 ⟶ 121:
}}
 
==== Example 3 - Split season ====
<section begin=split />{{collapse top|Code}}
<pre><nowiki>{{Series overview
| split = y
 
| color1 = #74E387
| link1 = #Season 1
| episodes1 = 26
| start1 = {{Start date|2012|9|808}}
| end1 = {{End date|2013|6|15}}
 
Рядок 232 ⟶ 138:
| end2 = {{End date|2014|6|21}}
 
| link3 extra2 = #Season{{Series 3overview/split
| episodes3num = 263
| color3Alink = #000000Season 3
| episodes3Aepisodes = 1326
| start3A = {{Start date|2014|9|19}}
| end3A color1 = {{End date|2014|12|24}}#000000
| color3B episodes1 = #00004A13
| start1 = {{Start date|2014|9|19}}
| episodes3B = 13
| start3Bend1 = {{StartEnd date|20152014|212|1524}}
| end3B = {{End date|2015|6|26}}
| color2 = #00004A
| episodes2 = 13
| start2 = {{Start date|2015|2|15}}
| end2 = {{End date|2015|6|26}}
}}
}}</nowiki></pre>
{{collapse bottom}}
 
{{Series overview
| split = y
 
| color1 = #74E387
| link1 = #Season 1
| episodes1 = 26
| start1 = {{Start date|2012|9|808}}
| end1 = {{End date|2013|6|15}}
 
Рядок 258 ⟶ 171:
| end2 = {{End date|2014|6|21}}
 
| link3 extra2 = #Season{{Series 3overview/split
| episodes3num = 263
| color3Alink = #000000Season 3
| episodes3Aepisodes = 1326
| start3A = {{Start date|2014|9|19}}
| end3A color1 = {{End date|2014|12|24}}#000000
| color3B episodes1 = #00004A13
| start1 = {{Start date|2014|9|19}}
| episodes3B = 13
| start3Bend1 = {{StartEnd date|20152014|212|1524}}
| end3B = {{End date|2015|6|26}}
| color2 = #00004A
| episodes2 = 13
| start2 = {{Start date|2015|2|15}}
| end2 = {{End date|2015|6|26}}
}}
}}<section end=split />
 
==== Example 4 - Specials ====
<section begin=special />{{collapse top|Code}}
<pre><nowiki>{{Series overview
| color1 = #74E387
| link1 = #Season 1
| episodes1 = 26
| start1 = {{Start date|2012|9|808}}
| end1 = {{End date|2013|6|15}}
 
Рядок 291 ⟶ 209:
| end3 = {{End date|2015|6|26}}
 
| extra3 = {{Series overview/special
| color3S = #00004A
| link3Scolor = #Special00004A
| linkT3Slink = S#Special
| episodes3SlinkT = 1S
| episodes = 1
| start3S = {{Start date|2015|10|21}}
| start = {{Start date|2015|10|21}}
}}
}}</nowiki></pre>
{{collapse bottom}}
Рядок 303 ⟶ 223:
| link1 = #Season 1
| episodes1 = 26
| start1 = {{Start date|2012|9|808}}
| end1 = {{End date|2013|6|15}}
 
Рядок 318 ⟶ 238:
| end3 = {{End date|2015|6|26}}
 
| extra3 = {{Series overview/special
| color3S = #00004A
| link3Scolor = #Special00004A
| linkT3Slink = S#Special
| episodes3SlinkT = 1S
| episodes = 1
| start3S = {{Start date|2015|10|21}}
| start = {{Start date|2015|10|21}}
}}
}}
 
''And with the <code>|episodes</code> parameter removed and the link text changed.''
 
{{Series overview
| color1 = #74E387
| link1 = #Season 1
| episodes1 = 26
| start1 = {{Start date|2012|9|808}}
| end1 = {{End date|2013|6|15}}
 
Рядок 346 ⟶ 267:
| end3 = {{End date|2015|6|26}}
 
| extra3 = {{Series overview/special
| color3S = #00004A
| link3Scolor = #Special00004A
| linkT3Slink = #Special
| linkT = Special
| start3S = {{Start date|2015|10|21}}
| start = {{Start date|2015|10|21}}
}}
 
==== Special first, followed by season one ====
{{collapse top|Code}}
<pre><nowiki>{{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}}
}}</nowiki></pre>
{{collapse bottom}}
 
{{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}}
}}
}}<section end=special />
 
==== Example 5 - Extra information ====
{{collapse top|Code}}
<pre><nowiki>{{Series overview
Рядок 418 ⟶ 286:
| link1 = #Season 1
| episodes1 = 26
| start1 = {{Start date|2012|9|808}}
| end1 = {{End date|2013|6|15}}
| infoA1info1A = 55
| infoB1info1B = 11.8
| infoC1info1C = 3.2
 
| color2 = #004000
Рядок 429 ⟶ 297:
| start2 = {{Start date|2013|9|13}}
| end2 = {{End date|2014|6|21}}
| infoA2info2A = 65
| infoB2info2B = 9.2
| info2C = 2.2
 
| color3 = #000000
Рядок 437 ⟶ 306:
| start3 = {{Start date|2014|9|19}}
| end3 = {{End date|2015|6|26}}
| infoA3info3A = 63
| info3B = 10.4
| info3C = 2.7
}}</nowiki></pre>
{{collapse bottom}}
Рядок 450 ⟶ 321:
| link1 = #Season 1
| episodes1 = 26
| start1 = {{Start date|2012|9|808}}
| end1 = {{End date|2013|6|15}}
| infoA1info1A = 55
| infoB1info1B = 11.8
| infoC1info1C = 3.2
 
| color2 = #004000
Рядок 461 ⟶ 332:
| start2 = {{Start date|2013|9|13}}
| end2 = {{End date|2014|6|21}}
| infoA2info2A = 65
| infoB2info2B = 9.2
| info2C = 2.2
 
| color3 = #000000
| link3 = #Season 3
Рядок 468 ⟶ 341:
| start3 = {{Start date|2014|9|19}}
| end3 = {{End date|2015|6|26}}
| infoA3info3A = 63
| info3B = 10.4
| info3C = 2.7
}}
 
''Single column with only the <code>|infoheader </code> parameter.''
 
{{Series overview
| infoheader = Average viewership<br />(in millions)
Рядок 479 ⟶ 353:
| link1 = #Season 1
| episodes1 = 26
| start1 = {{Start date|2012|9|808}}
| end1 = {{End date|2013|6|15}}
| infoA1info1A = 3.2
 
| color2 = #004000
Рядок 488 ⟶ 362:
| start2 = {{Start date|2013|9|13}}
| end2 = {{End date|2014|6|21}}
| infoA2info2A = 2.2
 
| color3 = #000000
Рядок 495 ⟶ 369:
| start3 = {{Start date|2014|9|19}}
| end3 = {{End date|2015|6|26}}
| info3A = 2.7
}}
 
==== Example 6 - Multiple networks ====
{{collapse top|Code}}
<pre><nowiki>{{Series overview
| color1 = #74E387
| link1 = #Season 1
| episodes1 = 26
| start1 = {{Start date|2012|9|808}}
| end1 = {{End date|2013|6|15}}
| network1 = [[The WB]]
| network1length = 2
 
| 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]]
| network3length = 1
}}</nowiki></pre>
{{collapse bottom}}
 
{{Series overview
| color1 = #74E387
| link1 = #Season 1
| episodes1 = 26
| start1 = {{Start date|2012|9|808}}
| end1 = {{End date|2013|6|15}}
| network1 = [[The WB]]
| network1length = 2
 
| 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]]
| network3length = 1
}}
 
==== Auxiliary columns ====
{{collapse top|Code}}
Рядок 603 ⟶ 481:
| start3 = {{Start date|2014|9|19}}
| end3 = {{End date|2015|6|26}}
}}
 
==== Released ====
{{collapse top|Code}}
<pre><nowiki>{{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
}}</nowiki></pre>
{{collapse bottom}}
 
{{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
}}
 
''End dates emitted with the <code>|allreleased</code> parameter set.''
 
{{Series overview
| released = y
| allreleased = y
 
| color1 = #74E387
| link1 = #Season 1
| episodes1 = 26
| start1 = {{Start date|2012|9|8}}
 
| color2 = #004000
| link2 = #Season 2
| episodes2 = 26
| start2 = {{Start date|2013|9|13}}
 
| color3 = #000000
| link3 = #Season 3
| episodes3 = 26
| start3 = {{Start date|2014|9|19}}
}}
 
== Parameters==
{{col-begin|width=90%}}
{{col-break|width=15%}}
'''Key for alternate rows:'''
{{col-break|width=25%}}
<small>{{color box|#D0FFD0}} = Parameter available for split seasons as {parameter}*, {parameter}*A and {parameter}*B</small>
{{col-break|width=25%}}
<small>{{color box|#FFFFBB}} = Parameter available for split seasons only as {parameter}*A and {parameter}*B</small>
{{col-break|width=25%}}
<small>{{color box|#D0D0FF}} = Parameter available for specials as {parameter}*S or {parameter}*S{A-Z}</small>
{{col-end}}
 
{| class="wikitable"
! colspan="3" | Parameter
Рядок 692 ⟶ 490:
! style="width:15%" | Status
|-
! colspan=2 | Caption
! Caption
| caption
| An appropriate caption for the table, normally something like "Series overview". Required if the table is not the first or only item in the section. 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 <nowiki><includeonly></nowiki> and <nowiki></includeonly></nowiki>.
Рядок 698 ⟶ 497:
| Optional
|-
! rowspan=42 | Header titlesInfo
! Season/Series
| seasonT
| Set to change custom text in the cell where Series/Season is typically displayed.<br />''Format:'' Series<br />''Alternate:'' seriesT
| Text
| Optional
|-
! Info header
| infoheader
Рядок 712 ⟶ 505:
|-
! Info sub-headers
| info{A-ZE}
| 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).<br />''Format:'' Viewers (in millions)
| Text
| Optional
|-
! rowspan=9 | Season specifics
! Auxiliary
| aux{A-Z}
| The titles of the auxiliary columns. 26 columns are available for auxiliary columns (labelled auxA ... auxZ).<br />''Format:'' Title
| Text
| Optional
|- style="background-color:#D0FFD0"
! rowspan=9 style="background-color:#D0D0FF" | Season specifics
! Color
| color*{1-50}
| The color of the season table for the season in question.<br />''Format:'' black / #000000
| Color
Рядок 731 ⟶ 518:
|-
! Link
| link*{1-50}
| The link to the season in question.<br />''[[WP:Transclusion|Transclusion]] format:'' <nowiki><includeonly>List of iZombie episodes</includeonly>#Season 1 (2015)</nowiki><br />''Non-transclusion format:'' #Season 1 (2015)
| Text
| Required
|-
! Link Text
| linkT*
| Alternate text to display in the season link rather than the season number.<br />''Format:'' Special
| Text
| Optional
|- style="background-color:#D0FFD0"
! Auxiliary
| aux{A-Z}*
| Auxiliary columns for season titles, etc. This column spans rows when succeeding auxiliary parameters are not set.<br />''Format:'' ''Coven''
| Text
| Optional
|- style="background-color:#D0FFD0"
! Episodes
| episodes*{1-50}
| The number of episodes in the season in question.<br />''Format:'' 22<br />''Exclusion:'' {{tlx|N/A|TBA}}
| Number
| Optional
|-
|- style="background-color:#FFFFBB"
! Start date
| start*{1-50}
| The start date of the season in question.<br />''Format:'' {{tlx|Start date|2015|3|17}}<br />''Exclusion:'' {{tlx|N/A|TBA}}
| Date
| Optional
|-
|- style="background-color:#FFFFBB"
! End date
| end*{1-50}
| 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.<br />''Format:'' {{tlx|End date|2015|6|9}}<br />''Exclusion:'' {{tlx|N/A|TBA}}
| Date/Text
| Optional
|-
|- style="background-color:#D0FFD0"
! NetworkInfo
| info{1-50}{A-E}
| network*
| The networkvalues thatof multiplethe seasonsextra haveinformation aired under, if a series has aired on two or more networks(e.g. TheRatings) span offor the network column isseason calculatedin automaticallyquestion.<br />''Format:'' ABC28
| Text
| Optional
|-
|- style="background-color:#D0FFD0"
! InfoNetwork
| infonetwork{A1-Z50}*
| The network that multiple seasons have aired under, if a series has aired on two or more networks.<br />''Format:'' ABC
| The values of the extra information (e.g. Ratings) for the season in question.<br />''Note:'' Information cell parameters will be automatically set to {{tlx|N/A|TBA}} if set for a previous season (e.g. info1A) but not included for the current season (e.g. info2A).<br />''Format:'' 28
| Text
| Optional
|-
! Network Length
! rowspan=2 | Release
| style="white-space:nowrap" | network{1-50}length
! Released
| The length, or number of seasons, that the series has aired for on this particular network.<br />''Format:'' 4
| released
| Number
| Determines whether the television series in question was released online or aired. Changes "Originally/First/Last aired" to "Originally/First/Last released".<br />''Format:'' y
| Required when corresponding network parameter is set / Unrequired when length is 1
|-
! Extra template parameters
| extra{0-50}
| A general use parameter between season rows for supplementary templates.
'''Split''': If the season in question has been split into two parts.<br />
'''Special''': If the series features a special or other single entities that have one air date.<br />
''Format:'' {{tlx|Series overview/split}} or {{tlx|Series overview/special}}
| Template
| Optional
|-
! rowspan=3 | General
! British format
| uk
| To determine whether the television series in question categorizes as Season or Series.<br />''Format:'' y
| Text
| Optional
|-
! Split
! All Released
| split
| allreleased
| DeterminesTo determine whether the television series has all episodes in everyquestion seasonhas releasedany onseasons thethat same day (e.g. [[Orange Is thehave Newbeen Black]])split.<br />''Format:'' y
| Text
| Optional
|}
<nowiki />* indicates any number that is a positive integer, starting from one for regular/split seasons, and zero for specials.
 
==See also==
*{{tlx|Series overview/split}}
*{{tlx|Series overview/special}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Television templates]]
[[Категорія:Навігаційні шаблони:Телебачення]]
}}</includeonly>