Template:Infobox television episode: Difference between revisions

Jump to navigation Jump to search
No edit summary
m (1 revision imported)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Infobox television episode
<includeonly>{{main other|{{Television episode short description|episode_num={{{episode|}}}|season_num={{{season|}}}|season_num_uk={{{series_no|}}}|series_name={{{series|}}}|not_dab={{{not_dab|}}}|limited={{{limited|}}}}}}}<!--
| title          =  
-->{{#invoke:Infobox television episode|italic_title}}</includeonly>
| series        = <!-- without italics or formatting. Wikilinking optional. -->
{{Infobox
| image          = <!-- bare filename only. Wikilinking, "File:", and pixel size not required. -->
| templatestyles = Infobox television episode/styles.css
| image_size    = <!-- raw number. "px" not required. -->
| bodyclass      = ib-tv-episode vevent
| image_alt      =  
| caption        =
| season        =
| series_no     =
| episode        =
| director      =  
| writer        =
| story          =  
| teleplay      =
| based_on      =  
| narrator      =
| presenter      =
| producer      =
| music          =
| photographer  =
| editor        =
| production    =
| airdate        = <!-- {{Start date|YYYY|MM|DD}} -->
| length        =
| awards        =
| guests        =
| module        = {{Infobox
| child      = yes
  | decat      = yes
  | headerclass = summary
  | headerstyle = background: #CCCCFF; padding: 0.25em 1em; line-height: 1.5em;
  | header1    =


  | label2      =  
| aboveclass    = summary
  | data2      =
| above          = <includeonly>{{#invoke:Infobox television episode|above_title}}</includeonly>


   | label3      =  
| headerclass   = summary
   | data3      =  
| autoheaders   = yes


| subheaderclass = nowrap
| subheader      = {{#if: {{{series|}}} | ''{{{series}}}'' {{#if: {{#invoke:String2|matchAny|,|/|&|-|–|and|source={{{episode|}}}}} | episodes |episode }} }}
| image          = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{image_alt|{{{alt|}}}}}}}}
| caption        = {{{caption|}}}
| labelstyle    = white-space: nowrap;
| label1        = Episode {{#if: {{#invoke:String2|matchAny|,|/|&|-|–|and|source={{{episode|}}}}} | {{abbr|nos.|numbers}} | {{abbr|no.|number}} }}
| data1          = {{#if: {{{season|}}} | Season&nbsp;{{{season|}}}<br /> }}{{#if: {{{series_no|}}} | {{nowrap|Series {{{series_no|}}}}}<br /> }}{{#if: {{{episode|}}} | {{#if: {{#invoke:String2|matchAny|,|/|&|-|–|and|source={{{episode|}}}}} | Episodes | Episode }} {{{episode|}}} }}
| class2        = plainlist
| label2        = Directed by
| data2          = {{{director|}}}
| class3        = plainlist
| label3        = Written by
| data3          = {{{writer|}}}
| class4        = plainlist
| label4        = Story by
| data4          = {{{story|}}}
| class5        = plainlist
| label5        = Teleplay by
| data5          = {{{teleplay|}}}
| label6        = Based on
| data6          = {{{based_on|}}}
| class7        = plainlist
| label7        = Narrated by
| data7          = {{{narrator|}}}
| class8        = plainlist
| label8        = Presented by
| data8          = {{{presenter|}}}
| class9        = plainlist
| label9        = Produced by
| data9          = {{{producer|}}}
| class10        = plainlist
| label10        = Featured music
| data10        = {{{music|}}}
| class11        = plainlist
| label11        = Cinematography by
| data11        = {{{photographer|}}}
| class12        = plainlist
| label12        = Editing by
| data12        = {{{editor|}}}
| class18        = plainlist
| label18        = Production code{{Pluralize from text|{{{production|}}}|plural=s}}
| data18        = {{{production|}}}
| class19        = plainlist
| label19        = Original {{#if: {{{release_date|}}} | release | air }} date{{Pluralize from text|{{If empty|{{{release_date|}}}|{{{airdate|}}}}}|plural=s}}
| data19        = {{If empty |{{{release_date|}}} |{{{airdate|}}} }}
| label20        = Running time
| data20        = {{If empty |{{{runtime|}}} |{{{length|}}} }}
| header23      = {{If empty |{{{guests_title|}}} |{{nowrap|Guest appearance{{Pluralize from text|{{{guests|}}}|plural=s}}}}}}
| class25        = ib-tv-episode-guests
| data25        = {{{guests|}}}
| header26      = _BLANK_
| data27        = {{{module|}}}
| class30        = noprint
| header30      = Episode chronology
| rowclass31    = noprint
| data31        = {{#if: {{{prev|}}} {{{next|}}} {{{rprev|}}} {{{rnext|}}} |
{{(!}} style="width: 100%; display: inline-table;"
{{!}} style="width: 50%; padding: 0.2em 0.1em 0.2em 0; text-align: center;" {{!}} ←&nbsp;'''Previous'''<br />{{#if: {{{prev|}}} | "{{{prev}}}" | {{#if: {{{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}}} | &mdash; }} }}
{{!)}}
}}
}}
| prev          =  
 
| next          =  
| rowclass32    = noprint
| season_article =  
| data32        = {{#if: {{{season_article|}}} | {{#invoke:String|replace|source={{{season_article}}}|pattern=^(([^\(]*)%(([^\)]*)%)(.*))$|replace=[[%1|''%2''(%3)%4]]|plain=false}} }}
| episode_list   =
 
}}<!--
| belowclass    = noprint
-->{{#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>
| below          = {{#invoke:Infobox television episode|episode_list}}
 
}}<!--Tracking categories
-->{{#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 | based_on | caption | director | editor | episode | episode_list | guests | guests_title | image | image_alt | image_size | image_upright | italic_title | length | limited | module | music | narrator | next | not_dab | photographer | presenter | prev | producer | production | release_date | rnext | rprev | rtitle | runtime | season | season_article | series | series_no | story | teleplay | title | writer }}<!--
-->{{Main other|{{#invoke:Infobox television episode|validate_values}}}}<!--
-->{{Main other|{{#if: {{{based_on|}}} | [[Category:Pages using infobox television episode with the based on parameter]] }}}}<!--
--><noinclude>
{{Documentation}}</noinclude>
{{Documentation}}</noinclude>

Latest revision as of 19:44, 2 October 2023