Template:Infobox television episode: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<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
{{Infobox television episode
| 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>
| title         =  
| 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> }}
| series         = <!-- without italics or formatting. Wikilinking optional. -->
 
| image         = <!-- bare filename only. Wikilinking, "File:", and pixel size not required. -->
| bodyclass      = vevent
| image_size    = <!-- raw number. "px" not required. -->
 
| image_alt     =  
| child         = {{{child|}}}
| caption        =  
 
| season        =  
| aboveclass    = summary
| series_no      =  
| abovestyle    = font-weight: normal; background: #CCCCFF; padding: 0.25em 1em; line-height: normal;
| episode       =  
| above          = <includeonly>{{#if: {{{RTitle|}}}{{{rtitle|}}} | '''{{{RTitle|{{{rtitle|}}}}}}''' | "'''{{{title|{{PAGENAMEBASE}}}}}'''" }}</includeonly>
| director       =  
 
| writer        =  
| headerclass    = summary
| story         =  
| headerstyle    = background: #CCCCFF; padding: 0.25em 1em; line-height: 1.5em;
| teleplay       =  
| autoheaders    = y
| based_on       =  
 
| narrator       =  
| subheader     = {{#if: {{{series|}}} | {{nowrap|''{{{series|}}}'' {{#if: {{{multi_episodes|}}} | episodes |episode }}}} }}
| presenter     =  
| subheaderstyle = font-weight: bold; font-size: 110%
| producer       =  
 
| music         =  
| image          = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1.13}}}|alt={{{image_alt|{{{alt|}}}}}}}}
| photographer   =  
| caption        = {{{caption|}}}
| editor         =  
 
| production     =  
| labelstyle    = white-space: nowrap
| airdate        = <!-- {{Start date|YYYY|MM|DD}} -->
 
| length         =  
| label1        = Episode {{#if: {{{multi_episodes|}}} | {{abbr|nos.|numbers}} | {{abbr|no.|number}} }}
| awards        =  
| data1          = {{#if: {{{season|}}} | Season&nbsp;{{{season|}}}<br /> }}{{#if: {{{series_no|}}} | {{nowrap|Series {{{series_no|}}}}}<br /> }}{{#if: {{{episode|}}} | {{#if: {{{multi_episodes|}}} | Episodes | Episode }} {{{episode|}}} }}
| guests        =  
 
| prev           =  
| label2        = Directed by
| next           =  
| data2          = {{{director|}}}
| season_article =  
 
| 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>
-->{{#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>
{{Documentation}}</noinclude>

Revision as of 01:58, 17 January 2021

Template loop detected: Template:Infobox television episode