Template:Episode table/part
This template uses Lua: |
Usage
[kulemba source]The purpose of the {{Episode table/part}} template is to easily add a header row to episode tables for television series that have split a season into multiple parts, titled "Part (number)", as well as including an anchor to this row under the same name.
Syntax
[kulemba source]{{Episode table/part|p=Part number|c=Background colour|nopart=y|r=reference}} For seasons which have been split into parts, use {{Episode table/part}}, as per the examples below. The part row has a HTML ID attribute applied to it, equal to the text displayed; i.e. the ID attributes of the following examples will be "Part 1" and "Athelstan's Journal".
There are multiple available parameters for the parted template:
|act=1
gives Act 1|chapter=1
gives Chapter 1|part=1
gives Part 1|volume=1
gives Volume 1|week=1
gives Week 1
The use of a subtitle is used through |subtitle=Subtitle Name
, and can be used by itself or combined with any of the previous parameters. (Italics in the subtitle are to be inserted manually.) For example:
|chapter=1
|subtitle=Crossover
gives Chapter 1: Crossover|subtitle=''Crossover''
gives Crossover
(Note : |p=
and |nopart=
have been deprecated; use |part=
and |subtitle=
instead.)
Examples
[kulemba source]{{Episode table/part|c=#183E54|part=1}}
No. overall | No. in season | Title | Directed by | Written by | Original air date | U.S. viewers (millions) | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Part 1 |
{{Episode table/part|c=#061453|subtitle=''Athelstan's Journal''}}
No. | Title | Directed by | Written by | Original air date | Length (minutes) | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Athelstan's Journal |
Parameters
[kulemba source]Parameter | Description | Type | Status | ||
---|---|---|---|---|---|
Background colour | c | The background colour of the row for the split season in question. Format: #1432F5 / blue |
Colour | Required | |
Type of part | Part # | part | The part number of the split season in question. Format: 1 |
Number | Optional |
Volume # | volume | The volume number of the split season in question. Format: 1 |
Number | Optional | |
Chapter # | chapter | The chapter number of the split season in question. Format: 1 |
Number | Optional | |
Subtitle | subtitle | The subtitle of the part. This can be used in conjunction with any of the above three parameters; if so, the subtitle will be inserted after a colon, if not, the subtitle will be displayed by itself. Italics and other formatting to be inserted manually. Format: Name |
Text | Optional | |
Reference | r | A reference to add to the header, that is not combined with the anchor and uses Module:Episode table/ref. Format: <ref>...</ref> |
Reference | Optional |
See also
[kulemba source]{{Episode table}}