Fyrimynd:Episode table/doc
Hetta er ein dokumentatión undirsíða til Fyrimynd:Episode table. Hon inniheldur kunning um nýtsluna, bólkar og um annað innihald, ið ikki er við í uppruna fyrimynd síðuni. |
Usage
[rætta wikitekst]The purpose of the {{Episode table}} template is to easily add header row to episode tables for television series, with up to 13 different columns, and optionally set the widths of these columns, and includes the {{Episode list}} template in the "episode" parameter. Cells are included by declaring the specific variable in one of two ways: title=
includes the "Title" cell with no set width, and title=30
includes the "Title" cell with a width of 30%.
Syntax
[rætta wikitekst]Parameters |
---|
Italicized parameters indicate optional inclusion. |
Examples
[rætta wikitekst]- Standard columns:
{{Episode table|caption=This is a caption|background=#B40000|overall=5|season=5|title=17|director=11|writer=37|airdate=10|prodcode=6|viewers=9 |country=U.S.}}
No. overall |
No. in season |
Title | Directed by | Written by | Original air date | Production code |
U.S. viewers (millions) |
---|
- All columns:
{{Episode table |overall=|season=|title=|aux1=|director=|writer=|aux2= |aux3= |airdate= |altdate= |prodcode= |viewers= |aux4= |country= |aux1T=Foreign title |aux2T=Guest writer |aux3T=Featured character |aux4T=Online viewers |altdateT=UK airdate}}
No. overall |
No. in season |
Title | Foreign title | Directed by | Written by | Guest writer | Featured character | Original air date | UK airdate | Production code |
Viewers (millions) |
Online viewers |
---|
- With {{Episode list}}:
{{Episode table |background = #40ABCF |overall = 6 |season = 6 |title = 20 |director = 14 |writer = 15 |airdate = 17 |viewers = 13 |aux4 = 9 |country = UK |overallT = Story |seasonT = Episode |aux4T = AI |aux4R = <ref>A reference</ref> |episodes =
{{Episode list |EpisodeNumber = 253 |EpisodeNumber2 = – |Title = [[Last Christmas (Doctor Who)|Last Christmas]] |DirectedBy = [[Paul Wilmshurst]] |WrittenBy = [[Steven Moffat]] |OriginalAirDate = {{Start date |2014|12|25|df=y}} |Viewers = 8.28 |Aux4 = 82 }}
}}
Story | Episode | Title | Directed by | Written by | Original air date | UK viewers (millions) |
AI [1] |
---|---|---|---|---|---|---|---|
253 | – | "Last Christmas" | Paul Wilmshurst | Steven Moffat | 25 desember 2014 | 8.28 | 82 |
Parted seasons
[rætta wikitekst]For seasons which have been split into parts, use {{Episode table/part}}, as per the examples below.
{{Episode table/part|1|#183E54}}
No. overall |
No. in season |
Title | Directed by | Written by | Original air date | U.S. viewers (millions) |
---|
{{Episode table/part|Athelstan's Journal|#061453|nopart=y}}
No. | Title | Directed by | Written by | Original air date | Length (minutes) |
---|
Parameters
[rætta wikitekst]Parameter | Description | Type | Status | ||
---|---|---|---|---|---|
Table caption | Caption | caption | When the table is not the first or only content in the section, a caption should be provided that describes in general the content of the table. e.g. NCIS season 11 episodes
|
Wikitext | Optional |
Color | Background | background | The background color of the header row. If no color is specified, the background defaults to #F2F2F2. Format: white / #FFFFFF |
String | Optional |
Width | Total width | total_width | Table width defaults to 100%. For tables that are less than 100%, set this field as necessary. Format: 75 |
Number | Optional |
Cell Inclusion & Widths* | Overall Number | overall / EpisodeNumber | The inclusion (and optionally the width) of the "No." / "No. overall" cell. Note: is an alias for .Format: 10 / <blank> |
Number | Optional |
Series | series | The inclusion (and optionally the width) of the "No. in series" cell. (Inclusion will set "No." cell to "No. overall" if overallT is unset.) Format: 10 / <blank> Note: "series" and "season" cannot be included in the same table. |
Number | Optional | |
Season | season | The inclusion (and optionally the width) of the "No. in season" cell. (Inclusion will set "No." cell to "No. overall" if overallT is unset.) Format: 10 / <blank> Note: "series" and "season" cannot be included in the same table. |
Number | Optional | |
Title | title | The inclusion (and optionally the width) of the "Title" cell. Format: 10 / <blank> |
Number | Optional | |
Aux1 | aux1 | The inclusion (and optionally the width) of the "Aux1" cell. Format: 10 / <blank> |
Number | Optional | |
Director | director | The inclusion (and optionally the width) of the "Directed by" cell. Format: 10 / <blank> |
Number | Optional | |
Writer | writer | The inclusion (and optionally the width) of the "Written by" cell. Format: 10 / <blank> |
Number | Optional | |
Aux2 | aux2 | The inclusion (and optionally the width) of the "Aux2" cell. Format: 10 / <blank> |
Number | Optional | |
Aux3 | aux3 | The inclusion (and optionally the width) of the "Aux3" cell. Format: 10 / <blank> |
Number | Optional | |
Air Date | airdate | The inclusion (and optionally the width) of the "Original air date" cell. Format: 10 / <blank> |
Number | Optional | |
Alternate Air Date | altdate | The inclusion (and optionally the width) of the "Alternate Air Date" cell. Format: 10 / <blank> |
Number | Optional | |
Production Code | prodcode | The inclusion (and optionally the width) of the "Production code" cell. Format: 10 / <blank> |
Number | Optional | |
Viewers | viewers | The inclusion (and optionally the width) of the "Viewers" cell. Format: 10 / <blank> |
Number | Optional | |
Aux4 | aux4 | The inclusion (and optionally the width) of the "Aux4" cell. Format: 10 / <blank> |
Number | Optional | |
Content | Country | country | The series' originating country; displayed before "viewers". (Exclusion capitalized "Viewers"; inclusion un-capitalizes "viewers".) Format: U.S. |
String | Optional / Unrequired when viewers is not set |
Released/Aired | released | Determines whether the episodes were released online or aired. Changes the "Original air date" cell to "Original release date". Format: y |
String | Optional | |
Variable Content | {variable}T | Custom content of any cell (e.g. overallT, titleT). Format: Any string |
String | Optional / Required when aux{1-4} and altdate set | |
Reference | {variable}R | Reference for any cell (e.g. overallR, titleR). If Wikipedia's link colours are not WCAG 2 AAA Compliant with the background colour, {{Episode table/reference}} is used. Format: Reference |
Reference | Optional | |
Episodes | episodes | An infinite number of consecutive episode rows. Format: {{Episode list}} or {{Episode table/part}} |
Template | Optional, desirable |
*: These variables can be included but not set to a value, e.g. |title=, which will include the cell but not set a width to it.
See also
[rætta wikitekst]- ↑ A reference