Redigerer
Mal:Episode-tabell/dok
Hopp til navigering
Hopp til søk
Advarsel:
Du er ikke innlogget. IP-adressen din vil bli vist offentlig om du redigerer. Hvis du
logger inn
eller
oppretter en konto
vil redigeringene dine tilskrives brukernavnet ditt, og du vil få flere andre fordeler.
Antispamsjekk.
Ikke
fyll inn dette feltet!
{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> == Bruk == Hensikten med '''{{tl|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 {{tl|Episode-liste}}-malen i «episode»-parameteren. Celler er inkludert ved å deklarere de spesifikke variable på en eller an annen måte: <code>title=</code> inkluderer «Title»-cellen med ingen vidde satt, og <code>title=30</code> inkluderer «Title»-cellen med en vidde på 30 %. ===Syntaks=== {{collapse top|title=Parameters}} {{Episode table :{{!}}''caption{{=}}TEXT''<br /><!-- Tables that are not the first or only content in a section require captions. --> :{{!}}background{{=}}COLOR<br /> :{{!}}''total_width{{=}}WIDTH''<!-- Table width defaults to 100%. For tables that need to be less than 100%, set this field as necessary. --><br /> :{{!}}''overall{{=}}WIDTH''<br /> :{{!}}''series{{=}}WIDTH''<br /> :{{!}}''season{{=}}WIDTH''<br /> :{{!}}''title{{=}}WIDTH''<br /> :{{!}}''aux1{{=}}WIDTH''<br /> :{{!}}''director{{=}}WIDTH''<br /> :{{!}}''writer{{=}}WIDTH''<br /> :{{!}}''aux2{{=}}WIDTH''<br /> :{{!}}''aux3{{=}}WIDTH''<br /> :{{!}}''airdate{{=}}WIDTH''<br /> :{{!}}''altdate{{=}}WIDTH''<br /> :{{!}}''prodcode{{=}}WIDTH''<br /> :{{!}}''viewers{{=}}WIDTH''<br /> :{{!}}''aux4{{=}}WIDTH''<br /> :{{!}}''country{{=}}COUNTRY''<br /> :{{!}}''released{{=}}TEXT''<br /> :{{!}}''overallT{{=}}TEXT''<br /> :{{!}}''seriesT{{=}}TEXT''<br /> :{{!}}''seasonT{{=}}TEXT''<br /> :{{!}}''titleT{{=}}TEXT''<br /> :{{!}}''aux1T{{=}}TEXT''<br /> :{{!}}''directorT{{=}}TEXT''<br /> :{{!}}''writerT{{=}}TEXT''<br /> :{{!}}''aux2T{{=}}TEXT''<br /> :{{!}}''aux3T{{=}}TEXT''<br /> :{{!}}''airdateT{{=}}TEXT''<br /> :{{!}}''altdateT{{=}}TEXT''<br /> :{{!}}''prodcodeT{{=}}TEXT''<br /> :{{!}}''viewersT{{=}}TEXT''<br /> :{{!}}''aux4T{{=}}TEXT''<br /> :{{!}}''overallR{{=}}REFERENCE''<br /> :{{!}}''seriesR{{=}}REFERENCE''<br /> :{{!}}''seasonR{{=}}REFERENCE''<br /> :{{!}}''titleR{{=}}REFERENCE''<br /> :{{!}}''aux1R{{=}}REFERENCE''<br /> :{{!}}''directorR{{=}}REFERENCE''<br /> :{{!}}''writerR{{=}}REFERENCE''<br /> :{{!}}''aux2R{{=}}REFERENCE''<br /> :{{!}}''aux3R{{=}}REFERENCE''<br /> :{{!}}''airdateR{{=}}REFERENCE''<br /> :{{!}}''altdateR{{=}}REFERENCE''<br /> :{{!}}''prodcodeR{{=}}REFERENCE''<br /> :{{!}}''viewersR{{=}}REFERENCE''<br /> :{{!}}''aux4R{{=}}REFERENCE''<br /> :{{!}}''episodes{{=}}EPISODE LISTS/PART ROWS''<br /> }} {{small|''Italicized parameters indicate optional inclusion.''}} {{collapse bottom}} ===Eksempler=== ;Standard-kolonner<nowiki>:</nowiki> {{tlx|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.}} {{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.}} ---- ;Alle kolonner<nowiki>:</nowiki> {{tlx|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}} {{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}} ---- ;Med {{tl|Episode-liste}}<nowiki>:</nowiki> <code><nowiki>{{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 =</nowiki></code> :<code><nowiki>{{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 }}</nowiki></code> <code><nowiki>}}</nowiki></code> {{Episode-tabell |background = #40ABCF |overall = 6 |season = 6 |title = 20 |director = 14 |writer = 15 |airdate = 17 |viewers = 13 |aux4 = 9 |country = UK |overallT = Historie |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 }} }} {{reflist-talk}} ---- ===Parted seasons=== <section begin=parted />For seasons which have been split into parts, use {{tl|Episode table/part}}, as per the examples below. {{tlx|Episode table/part|1|#183E54}} {{Episode table |background=#183E54|overall=6 |season=6 |title=20 |director=20 |writer=26 |airdate=13 |viewers=9 |country=U.S. |episodes= {{Episode table/part|1|#183E54}} }} ---- {{tlx|Episode table/part|Athelstan's Journal|#061453|nopart{{=}}y}} {{Episode table |color=white |background=#061453|overall=6 |title=24 |director=20 |writer=20 |airdate=17 |aux4=13 |aux4T=Length<br>(minutes) |episodes= {{Episode table/part|Athelstan's Journal|#061453|nopart=y}} }}<section end=parted /> == Parameters== {| class="wikitable" ! colspan="3" | 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. <code>''NCIS'' season 11 episodes</code> | Wikitext | Optional |- ! Color ! Background | background | The background color of the header row. If no color is specified, the background defaults to #F2F2F2.<br />''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.<br />''Format:'' 75 | Number | Optional |- ! rowspan="14" style="width:5%" | Cell Inclusion & Widths* ! Overall Number | overall / EpisodeNumber | The inclusion (and optionally the width) of the "No." / "No. overall" cell.<br />''Note:'' {{code|EpisodeNumber}} is an alias for {{code|overall}}.<br />''Format:'' 10 / <blank> | Number | Optional |- ! Series | series | The inclusion (and optionally the width) of the "No. in series" cell.<br />(Inclusion will set "No." cell to "No. overall" if ''overallT'' is unset.)<br />''Format:'' 10 / <blank><br />''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.<br />(Inclusion will set "No." cell to "No. overall" if ''overallT'' is unset.)<br />''Format:'' 10 / <blank><br />''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.<br />''Format:'' 10 / <blank> | Number | Optional |- ! Aux1 | aux1 | The inclusion (and optionally the width) of the "Aux1" cell.<br />''Format:'' 10 / <blank> | Number | Optional |- ! Director | director | The inclusion (and optionally the width) of the "Directed by" cell.<br />''Format:'' 10 / <blank> | Number | Optional |- ! Writer | writer | The inclusion (and optionally the width) of the "Written by" cell.<br />''Format:'' 10 / <blank> | Number | Optional |- ! Aux2 | aux2 | The inclusion (and optionally the width) of the "Aux2" cell.<br />''Format:'' 10 / <blank> | Number | Optional |- ! Aux3 | aux3 | The inclusion (and optionally the width) of the "Aux3" cell.<br />''Format:'' 10 / <blank> | Number | Optional |- ! Air Date | airdate | The inclusion (and optionally the width) of the "Original air date" cell.<br />''Format:'' 10 / <blank> | Number | Optional |- ! Alternate Air Date | altdate | The inclusion (and optionally the width) of the "Alternate Air Date" cell.<br />''Format:'' 10 / <blank> | Number | Optional |- ! Production Code | prodcode | The inclusion (and optionally the width) of the "Production code" cell.<br />''Format:'' 10 / <blank> | Number | Optional |- ! Viewers | viewers | The inclusion (and optionally the width) of the "Viewers" cell.<br />''Format:'' 10 / <blank> | Number | Optional |- ! Aux4 | aux4 | The inclusion (and optionally the width) of the "Aux4" cell.<br />''Format:'' 10 / <blank> | Number | Optional |- ! rowspan="5" | Content ! Country | country | The series' originating country; displayed before "viewers".<br />(Exclusion capitalized "Viewers"; inclusion un-capitalizes "viewers".)<br />''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".<br />''Format:'' y | String | Optional |- ! Variable Content | {variable}T | Custom content of any cell (e.g. overallT, titleT).<br />''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, {{tl|Episode table/reference}} is used.<br />''Format:'' Reference | Reference | Optional |- ! Episodes | episodes | An infinite number of consecutive episode rows.<br />''Format:'' {{tl|Episode list}} or {{tl|Episode table/part}} | Template | Optional, desirable |} {{small|<nowiki>*</nowiki>: ''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== * {{tl|Episode table/part}} * {{tl|Episode table/reference}} <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <!-- Categories below this line, please; interwikis at Wikidata --> [[Category:Television templates]] }}</includeonly>
Redigeringsforklaring:
Merk at alle bidrag til Wikisida.no anses som frigitt under Creative Commons Navngivelse-DelPåSammeVilkår (se
Wikisida.no:Opphavsrett
for detaljer). Om du ikke vil at ditt materiale skal kunne redigeres og distribueres fritt må du ikke lagre det her.
Du lover oss også at du har skrevet teksten selv, eller kopiert den fra en kilde i offentlig eie eller en annen fri ressurs.
Ikke lagre opphavsrettsbeskyttet materiale uten tillatelse!
Avbryt
Redigeringshjelp
(åpnes i et nytt vindu)
Forhåndsvis en side som bruker denne malen
Denne siden er medlem av 1 skjult kategori:
Kategori:Sider hvor ekspansjonsdybden er overskredet
Navigasjonsmeny
Personlige verktøy
Ikke logget inn
Brukerdiskusjon
Bidrag
Opprett konto
Logg inn
Navnerom
Mal
Diskusjon
norsk bokmål
Visninger
Les
Rediger kilde
Vis historikk
Mer
Navigasjon
Forside
Siste endringer
Tilfeldig side
Hjelp til MediaWiki
Verktøy
Lenker hit
Relaterte endringer
Spesialsider
Sideinformasjon