Template:Media table section/doc
| This is a documentation subpage for Template:Media table section. It may contain usage information, categories and other content that is not part of the original template page. |
__EXPECTED_UNCONNECTED_PAGE__
| This template uses Lua: |
Usage
The purpose of the {{Media table section}} template is to easily add a header row to media tables for films or television series that have some form of split into multiple parts (e.g. a television season broadcast in parts, or a film overview with reboots), titled "Part (number)", as well as including an anchor to this row under the same name.
Note: Multiple "/part" templates all redirect here as the original names or redirects for the template, but they all serve exactly the same purpose, as can be seen in the documentation examples for:
- {{Episode table/part}} – see Template:Episode table § Parted seasons
- {{Series overview/part}} – see Template:Series overview § Multi-series franchise and part subheaders
- {{Film overview/part}} – see Template:Film overview § Detailed example
Syntax
{{Media table section|c=Background colour|part=Part number|subtitle=subtitle|r=reference}}
For seasons which have been split into parts, use {{Media table section}}, 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=1gives Act 1|chapter=1gives Chapter 1|part=1gives Part 1|volume=1gives Volume 1|week=1gives 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=Crossovergives Chapter 1: Crossover|subtitle=''Crossover''gives Crossover
To remove the bold nature of the text, use |nobold=y.
To set a background colour, use:
|c=#[hex code]or|c=[standardized colour name].|c=header-greyand|c=header-grayset the background colour to #EAECF0 (default wiki-table header colour).|c=header-blueset the background colour to #CCCCFF (default episode-table header colour).
Examples
{{Media table section |c=#183E54 |part=1}}
| No. overall | No. in season | Title | Directed by | Written by | Original release date | U.S. viewers (millions) | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Part 1 | ||||||||||||
{{Media table section |c=#061453 |subtitle=''Athelstan's Journal''}}
| No. | Title | Directed by | Written by | Original release date | Length (minutes) | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Athelstan's Journal | ||||||||||||
Parameters
| 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 | |
| Act # | act | The act number of the split season in question. Format: 1 |
Number | Optional | |
| Week # | week | The week 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 five 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 a formatted background for colour compliance. Format: <ref>...</ref> |
Reference | Optional | |
| No bold | nobold | Remove the bold nature of the text. | Text | Optional | |
See also
- {{Episode table}}
- {{Series overview}}
- {{Film overview}}