Mal:Episode-tabell
Bruk
[rediger kilde]Hensikten med {{Episode-tabell}}-malen er å enkelt legge til overskrifter i episode-tabeller for tv-serier, med opp til 13 forskjellige kolonner, og med opsjon på å sette vidden på disse kolonnene og inkludere {{Episode-liste}}-malen i «episode»-parameteren. Celler er inkludert ved å deklarere de spesifikke variable på en eller an annen måte: title=
inkluderer «Title»-cellen med ingen vidde satt, og title=30
inkluderer «Title»-cellen med en vidde på 30 %.
Syntaks
[rediger kilde]{{Episode table
- |caption=TEXT
- |background=COLOR
- |total_width=WIDTH
- |overall=WIDTH
- |series=WIDTH
- |season=WIDTH
- |title=WIDTH
- |aux1=WIDTH
- |director=WIDTH
- |writer=WIDTH
- |aux2=WIDTH
- |aux3=WIDTH
- |airdate=WIDTH
- |altdate=WIDTH
- |prodcode=WIDTH
- |viewers=WIDTH
- |aux4=WIDTH
- |country=COUNTRY
- |released=TEXT
- |overallT=TEXT
- |seriesT=TEXT
- |seasonT=TEXT
- |titleT=TEXT
- |aux1T=TEXT
- |directorT=TEXT
- |writerT=TEXT
- |aux2T=TEXT
- |aux3T=TEXT
- |airdateT=TEXT
- |altdateT=TEXT
- |prodcodeT=TEXT
- |viewersT=TEXT
- |aux4T=TEXT
- |overallR=REFERENCE
- |seriesR=REFERENCE
- |seasonR=REFERENCE
- |titleR=REFERENCE
- |aux1R=REFERENCE
- |directorR=REFERENCE
- |writerR=REFERENCE
- |aux2R=REFERENCE
- |aux3R=REFERENCE
- |airdateR=REFERENCE
- |altdateR=REFERENCE
- |prodcodeR=REFERENCE
- |viewersR=REFERENCE
- |aux4R=REFERENCE
- |episodes=EPISODE LISTS/PART ROWS
}}
Italicized parameters indicate optional inclusion.
Eksempler
[rediger kilde]- Standard-kolonner:
{{Episode-tabell|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.}}
Nr. samlet |
Nr. i sesong |
Tittel | Regi | Manus | Første gang sendt | Produksjons- kode |
U.S. seere (millioner) |
---|
- Alle kolonner:
{{Episode-tabell |overall=|season=|title=|aux1=|director=|writer=|aux2= |aux3= |airdate= |altdate= |prodcode= |viewers= |aux4= |country= |aux1T=Utenlandsk tittel |aux2T=gjesteforfatter |aux3T=Utvalgte karakterer |aux4T=online seere |altdateT=Sendt i UK}}
Nr. samlet |
Nr. i sesong |
Tittel | Utenlandsk tittel | Regi | Manus | gjesteforfatter | Utvalgte karakterer | Første gang sendt | Sendt i UK | Produksjons- kode |
Seere (millioner) |
Online seere |
---|
- Med {{Episode-liste}}:
{{Episode-tabell |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>En referanse</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 }}
}}
Historie | Episode | Tittel | Regi | Manus | Første gang sendt | UK seere (millioner) |
AI [1] |
---|---|---|---|---|---|---|---|
253 | – | «Last Christmas» | Paul Wilmshurst | Steven Moffat | 25. desember 2014 | 82 |
Referanser
- ^ En referanse
Parted seasons
[rediger kilde]For seasons which have been split into parts, use {{Episode table/part}}, as per the examples below.
{{Episode table/part|1|#183E54}}
Nr. samlet |
Nr. i sesong |
Tittel | Regi | Manus | Første gang sendt | U.S. seere (millioner) | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Mal:Visible anchor |
{{Episode table/part|Athelstan's Journal|#061453|nopart=y}}
Nr. | Tittel | Regi | Manus | Første gang sendt | Length (minutes) | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Mal:Visible anchor |
Parameters
[rediger kilde]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: EpisodeNumber is an alias for overall .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.