Шаблон: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.
===Syntax===
<pre>{{Series overview
| caption = TEXT<!-- Tables that are not the first or only content in a section require captions. -->
|
|
|
| info{A-E} = TEXT
| color
| link
|
|
| episodes
| start
| end
|
|
| network{1-50}length = TEXT
| extra{0-50} = TEMPLATES
| uk = TEXT
| split = TEXT
}}</pre>
=== Examples ===
==== Example 1 - Basic example ====
{{collapse top|Code}}
<pre><nowiki>{{Series overview
Рядок 127 ⟶ 36:
| color1 = #74E387
| link1 = #Season 1
| episodes1 = 26
| start1 = {{Start date|2012|9|
| end1 = {{End date|2013|6|15}}
| color2 = #004000
| link2 = #Season 2
| episodes2 = 26
| start2 = {{Start date|2013|9|13}}
Рядок 141 ⟶ 48:
| color3 = #000000
| link3 = #Season 3
| episodes3 = 26
| start3 = {{Start date|2014|9|19}}
Рядок 149 ⟶ 55:
{{Series overview
| color1 = #74E387
| link1 = #Season 1
| episodes1 = 26
| start1 = {{Start date|2012|9|
| end1 = {{End date|2013|6|15}}
| color2 = #004000
| link2 = #Season 2
| episodes2 = 26
| start2 = {{Start date|2013|9|13}}
Рядок 167 ⟶ 69:
| color3 = #000000
| link3 = #Season 3
| episodes3 = 26
| start3 = {{Start date|2014|9|19}}
Рядок 173 ⟶ 74:
}}
==== Example 2 - Series/Season & "dd
{{collapse top|Code}}
<pre><nowiki>{{Series overview
| uk = y
| color1 = #74E387
| link1 = #Season 1
| episodes1 = 26
| start1 = {{Start date|2012|9|
| 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|
| 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|
| end1 = {{End date|2013|6|15}}
Рядок 232 ⟶ 138:
| end2 = {{End date|2014|6|21}}
|
|
|
|
|
|
| start1 = {{Start date|2014|9|19}}
|
| 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|
| end1 = {{End date|2013|6|15}}
Рядок 258 ⟶ 171:
| end2 = {{End date|2014|6|21}}
|
|
|
|
|
|
| start1 = {{Start date|2014|9|19}}
|
| 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|
| end1 = {{End date|2013|6|15}}
Рядок 291 ⟶ 209:
| end3 = {{End date|2015|6|26}}
| extra3 = {{Series overview/special
|
|
|
| episodes = 1
| start = {{Start date|2015|10|21}}
}}
}}</nowiki></pre>
{{collapse bottom}}
Рядок 303 ⟶ 223:
| link1 = #Season 1
| episodes1 = 26
| start1 = {{Start date|2012|9|
| end1 = {{End date|2013|6|15}}
Рядок 318 ⟶ 238:
| end3 = {{End date|2015|6|26}}
| extra3 = {{Series overview/special
|
|
|
| episodes = 1
| 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|
| end1 = {{End date|2013|6|15}}
Рядок 346 ⟶ 267:
| end3 = {{End date|2015|6|26}}
| extra3 = {{Series overview/special
|
|
| linkT = Special
| start = {{Start date|2015|10|21}}
}}
}}<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|
| end1 = {{End date|2013|6|15}}
|
|
|
| color2 = #004000
Рядок 429 ⟶ 297:
| start2 = {{Start date|2013|9|13}}
| end2 = {{End date|2014|6|21}}
|
|
| info2C = 2.2
| color3 = #000000
Рядок 437 ⟶ 306:
| start3 = {{Start date|2014|9|19}}
| end3 = {{End date|2015|6|26}}
|
| info3B = 10.4
| info3C = 2.7
}}</nowiki></pre>
{{collapse bottom}}
Рядок 450 ⟶ 321:
| link1 = #Season 1
| episodes1 = 26
| start1 = {{Start date|2012|9|
| end1 = {{End date|2013|6|15}}
|
|
|
| color2 = #004000
Рядок 461 ⟶ 332:
| start2 = {{Start date|2013|9|13}}
| end2 = {{End date|2014|6|21}}
|
|
| info2C = 2.2
| color3 = #000000
| link3 = #Season 3
Рядок 468 ⟶ 341:
| start3 = {{Start date|2014|9|19}}
| end3 = {{End date|2015|6|26}}
|
| 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|
| end1 = {{End date|2013|6|15}}
|
| color2 = #004000
Рядок 488 ⟶ 362:
| start2 = {{Start date|2013|9|13}}
| end2 = {{End date|2014|6|21}}
|
| 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|
| 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|
| 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}}
}}
== Parameters==
{| class="wikitable"
! colspan="3" | Parameter
Рядок 692 ⟶ 490:
! style="width:15%" | Status
|-
!
! 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=
! Info header
| infoheader
Рядок 712 ⟶ 505:
|-
! Info sub-headers
| info{A-
| The sub-headers of the extra information (e.g. Viewers (in millions)) for the series in question
| Text
| Optional
|-
! rowspan=9 | Season specifics
! Color
| color
| The color of the season table for the season in question.<br />''Format:'' black / #000000
| Color
Рядок 731 ⟶ 518:
|-
! Link
| link
| 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
|-
! Episodes
| episodes
| The number of episodes in the season in question.<br />''Format:'' 22<br />''Exclusion:'' {{tlx|N/A|TBA}}
| Number
| Optional
|-
! Start date
| start
| The start date of the season in question.<br />''Format:'' {{tlx|Start date|2015|3|17}}<br />''Exclusion:'' {{tlx|N/A|TBA}}
| Date
| Optional
|-
! End date
| end
| The end date of the season in question
| Date
| Optional
|-
!
| info{1-50}{A-E}
| The
| Text
| Optional
|-
!
|
| The network that multiple seasons have aired under, if a series has aired on two or more networks.<br />''Format:'' ABC
| Text
| Optional
|-
! Network Length
| style="white-space:nowrap" | network{1-50}length
| The length, or number of seasons, that the series has aired for on this particular network.<br />''Format:'' 4
| Number
| 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
| split
|
| Text
| Optional
|}
==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>
|