Template:Infobox television episode: Difference between revisions

Jump to navigation Jump to search
(Created page with "{{Infobox television episode | title = | series = <!-- without italics or formatting. Wikilinking optional. --> | image = <!-- bare filename only. W...")
 
No edit summary
Line 1: Line 1:
{{Infobox television episode
<includeonly>{{Television episode short description|episode_num={{{episode|}}}|season_num={{{season|}}}|season_num_uk={{{series_no|}}}|series_name={{{series|}}}|multi_episodes={{{multi_episodes|}}}|not_dab={{{not_dab|}}}}}</includeonly>{{Infobox
| title         =  
| italic title   = <noinclude>no</noinclude> <includeonly>{{#if: {{{no_italic|}}} | no | {{#if: {{{series|}}} | {{#ifeq: {{Str find|{{Title disambig text|{{PAGENAME}}}}|{{Delink|{{{series|}}}}}}} | -1 | no | all }} | no }} }}</includeonly>
| series        = <!-- without italics or formatting. Wikilinking optional. -->
| italic_string  = {{#if: {{{no_italic|}}} | <!-- In case the page does not need to be italicized, any value will turn it off --> | <includeonly>{{#if: {{{series|}}} | {{#ifeq: {{Str find|{{Title disambig text|{{PAGENAME}}}}|{{Delink|{{{series|}}}}}}} | -1 | | {{Delink|{{{series|}}}}} }} }}</includeonly> }}
| image         = <!-- bare filename only. Wikilinking, "File:", and pixel size not required. -->
 
| image_size    = <!-- raw number. "px" not required. -->
| bodyclass      = vevent
| image_alt     =
 
| caption        =  
| child         = {{{child|}}}
| season         =  
 
| series_no     =  
| aboveclass    = summary
| episode        =  
| abovestyle    = font-weight: normal; background: #CCCCFF; padding: 0.25em 1em; line-height: normal;
| director      =  
| above          = <includeonly>{{#if: {{{RTitle|}}}{{{rtitle|}}} | '''{{{RTitle|{{{rtitle|}}}}}}''' | "'''{{{title|{{PAGENAMEBASE}}}}}'''" }}</includeonly>
| writer        =  
 
| story          =  
| headerclass    = summary
| teleplay      =  
| headerstyle    = background: #CCCCFF; padding: 0.25em 1em; line-height: 1.5em;
| based_on       =  
| autoheaders    = y
| narrator       =  
 
| presenter     =  
| subheader      = {{#if: {{{series|}}} | {{nowrap|''{{{series|}}}'' {{#if: {{{multi_episodes|}}} | episodes |episode }}}} }}
| producer       =  
| subheaderstyle = font-weight: bold; font-size: 110%
| music         =  
 
| photographer   =  
| image          = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1.13}}}|alt={{{image_alt|{{{alt|}}}}}}}}
| editor        =  
| caption        = {{{caption|}}}
| production    =  
 
| airdate        = <!-- {{Start date|YYYY|MM|DD}} -->
| labelstyle    = white-space: nowrap
| length         =  
 
| awards        =  
| label1         = Episode {{#if: {{{multi_episodes|}}} | {{abbr|nos.|numbers}} | {{abbr|no.|number}} }}
| guests        =  
| data1          = {{#if: {{{season|}}} | Season&nbsp;{{{season|}}}<br /> }}{{#if: {{{series_no|}}} | {{nowrap|Series {{{series_no|}}}}}<br /> }}{{#if: {{{episode|}}} | {{#if: {{{multi_episodes|}}} | Episodes | Episode }} {{{episode|}}} }}
| prev          =  
 
| next           =  
| label2        = Directed by
| season_article =  
| data2          = {{{director|}}}
| episode_list  =
 
| label3        = Written by
| data3          = {{{writer|}}}
 
| label4         = Story by
| data4          = {{{story|}}}
 
| label5        = Teleplay by
| data5         = {{{teleplay|}}}
 
| label6        = Based on
| data6          = {{#if: {{{based_on|}}} | {{{based_on|}}}{{main other|[[Category:Pages using infobox television episode with the based on parameter]]}} | {{{based_on|}}} }}
 
| label7        = Narrated by
| data7          = {{{narrator|}}}
 
| label8        = Presented by
| data8          = {{{presenter|}}}
 
| label9        = Produced by
| data9          = {{{producer|}}}
 
| label10        = Featured music
| data10        = {{{music|}}}
 
| label11        = Cinematography by
| data11        = {{{photographer|}}}
 
| label12        = Editing by
| data12        = {{{editor|}}}
 
| label18        = Production {{#if: {{{multi_episodes|}}} | code(s) | code }}
| data18         = {{{production|}}}
 
| label19        = Original {{#if: {{{release_date|}}} | release | air }} {{#if: {{{multi_episodes|}}} | date(s) | date }}
| data19        = {{If empty |{{{release_date|}}} |{{{airdate|}}} }}
 
| label20        = Running time
| data20        = {{If empty |{{{runtime|}}} |{{{length|}}} }}
 
| label22       = Awards
| data22        = {{{awards|}}}
 
| header24      = {{#if: {{{guests|}}} | {{If empty |{{{guests_title|}}} |{{nowrap|Guest appearance(s)}} }} }}
| data25        = {{#if: {{{guests|}}} | <div style="text-align: left; padding: 5px; margin: 0; padding-left: 1em">
{{{guests|}}}
</div> }}
 
| data27         = {{{module|}}}
 
| class30        = noprint
| header30      = Episode chronology
 
| rowclass31    = noprint
| data31        = {{#if: {{{prev|}}} {{{next|}}} {{{RPrev|}}} {{{RNext|}}} {{{rprev|}}} {{{rnext|}}} |
{{{!}} style="width:100%;"
{{!}} style="width: 50%; padding: 0.2em 0.1em 0.2em 0; text-align: center;" {{!}} ←&nbsp;'''Previous'''<br />{{#if: {{{prev|}}} | "{{{prev|}}}" | {{#if: {{{RPrev|}}}{{{rprev|}}} | {{If empty |{{{RPrev|}}} |{{{rprev|}}} }} | &mdash; }} }}
{{!}} style="width: 50%; padding: 0.2em 0 0.2em 0.1em; text-align: center;" {{!}} '''Next'''&nbsp;→<br />{{#if: {{{next|}}} | "{{{next|}}}" | {{#if: {{{RNext|}}}{{{rnext|}}} | {{If empty |{{{RNext|}}} |{{{rnext|}}} }} |&mdash; }} }}
{{!}}}
}}
}}
| rowclass32    = noprint
| data32        = {{#if: {{{season_article|}}} | {{#invoke:string|replace|{{{season_article|}}}|^(([^\(]*)%(([^\)]*)%)(.*))$|[[%1|''%2''(%3)%4]]|plain=false}} }}
| belowclass    = noprint
| below          = {{#ifeq: {{{episode_list|}}} | {{Replace|{{{episode_list|}}}|]]|}} | {{#invoke:string|replace|{{#invoke:string|replace|{{{episode_list|}}}|^((List of )([^\(]*)(.*)( [^%s]*))$|[[%1|%2''%3''%4%5]]|plain=false}}|^(([^\[][^\(\#]*)(.*))$|[[%1|List of ''%2'' episodes]]|plain=false}} | {{{episode_list|}}}{{Main other|[[Category:Pages using infobox television episode with incorrectly formatted episode list]]}} }}
}}<!--
-->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using infobox television episode with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox television episode]] with unknown parameter "_VALUE_"|showblankpositional=1| airdate | alt | awards | based_on | caption | child | director | editor | episode | episode_list | guests | guests_title | image | image_alt | image_size | image_upright | length | no_italic | module | multi_episodes | music | narrator | next | not_dab | photographer | presenter | prev | producer | production | release_date | RNext | rnext | RPrev | rprev | RTitle | rtitle | runtime | season | season_article | series | series_no | story | teleplay | title | writer }}<noinclude>
{{Documentation}}</noinclude>

Revision as of 19:59, 27 August 2020