Template:Infobox television episode: Difference between revisions

From Good Old TV Fan Wiki
m (1 revision imported)
 
m (1 revision imported)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Infobox
<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
| bodyclass   = vevent
| 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>
| aboveclass   = summary
| 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> }}
| abovestyle   = font-weight: normal; background: #CCCCFF; padding: 0.25em 1em; line-height: 1.5em;
 
| above       = <includeonly>{{#if:{{{RTitle|}}}|'''{{{RTitle}}}'''|"'''{{{title|{{PAGENAMEBASE}}}}}'''"}}</includeonly>
| bodyclass     = vevent
| headerclass = summary
 
| headerstyle = background: #CCCCFF; padding: 0.25em 1em; line-height: 1.5em;
| child          = {{{child|}}}
| subheader   = {{#if:{{{series|}}}|{{nowrap|''{{{series|}}}'' episode}} }}
 
| aboveclass     = summary
| abovestyle     = font-weight: normal; background: #CCCCFF; padding: 0.25em 1em; line-height: normal;
| above         = <includeonly>{{#if: {{{RTitle|}}}{{{rtitle|}}} | '''{{{RTitle|{{{rtitle|}}}}}}''' | "'''{{{title|{{PAGENAMEBASE}}}}}'''" }}</includeonly>
 
| headerclass   = summary
| headerstyle   = background: #CCCCFF; padding: 0.25em 1em; line-height: 1.5em;
| autoheaders    = y
 
| subheader     = {{#if: {{{series|}}} | {{nowrap|''{{{series|}}}'' {{#if: {{{multi_episodes|}}} | episodes |episode }}}} }}
| subheaderstyle = font-weight: bold; font-size: 110%
| subheaderstyle = font-weight: bold; font-size: 110%


| image       = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}
| image         = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1.13}}}|alt={{{image_alt|{{{alt|}}}}}}}}
| caption     = {{{caption|}}}
| caption       = {{{caption|}}}


| labelstyle   = white-space: nowrap
| labelstyle     = white-space: nowrap


| label1       = Episode {{abbr|no.|number}}
| label1         = Episode {{#if: {{{multi_episodes|}}} | {{abbr|nos.|numbers}} | {{abbr|no.|number}} }}
| data1       = {{#if:{{{season|}}}|Season&nbsp;{{{season|}}}<br />}}{{#if:{{{series_no|}}}|{{nowrap|Series {{{series_no|}}}}}<br />}}{{#if:{{{episode|}}}|Episode {{{episode|}}}}}
| data1         = {{#if: {{{season|}}} | Season&nbsp;{{{season|}}}<br /> }}{{#if: {{{series_no|}}} | {{nowrap|Series {{{series_no|}}}}}<br /> }}{{#if: {{{episode|}}} | {{#if: {{{multi_episodes|}}} | Episodes | Episode }} {{{episode|}}} }}


| label2       = Directed by
| label2         = Directed by
| data2       = {{{director|}}}
| data2         = {{{director|}}}


| label3       = Written by
| label3         = Written by
| data3       = {{{writer|}}}
| data3         = {{{writer|}}}


| label4       = Story by
| label4         = Story by
| data4       = {{{story|}}}
| data4         = {{{story|}}}


| label5       = Teleplay by
| label5         = Teleplay by
| data5       = {{{teleplay|}}}
| data5         = {{{teleplay|}}}


| label6       = Narrated by
| label6         = Based on
| data6       = {{{narrator|}}}
| data6         = {{#if: {{{based_on|}}} | {{{based_on|}}}{{Main other|[[Category:Pages using infobox television episode with the based on parameter]]}} | {{{based_on|}}} }}


| label7       = Presented by
| label7         = Narrated by
| data7       = {{{presenter|}}}
| data7         = {{{narrator|}}}


| label8       = Produced by
| label8         = Presented by
| data8       = {{{producer|}}}
| data8         = {{{presenter|}}}


| label9       = Featured music
| label9         = Produced by
| data9       = {{{music|}}}
| data9         = {{{producer|}}}


| label10     = Cinematography by
| label10       = Featured music
| data10       = {{{photographer|}}}
| data10         = {{{music|}}}


| label11     = Editing by
| label11       = Cinematography by
| data11       = {{{editor|}}}
| data11         = {{{photographer|}}}


| label18      = Production code
| label12        = Editing by
| data18      = {{{production|}}}
| data12        = {{{editor|}}}


| label19      = Original {{#if:{{{release_date|}}}|release|air}} date
| label18        = Production {{#if: {{{multi_episodes|}}} | code(s) | code }}
| data19      = {{if empty|{{{release_date|}}}|{{{airdate|}}}}}
| data18        = {{{production|}}}


| label20      = Running time
| label19        = Original {{#if: {{{release_date|}}} | release | air }} {{#if: {{{multi_episodes|}}} | date(s) | date }}
| data20      = {{{runtime|{{{length|}}}}}}
| data19        = {{If empty |{{{release_date|}}} |{{{airdate|}}} }}


| label22      = Awards
| label20        = Running time
| data22      = {{{awards|}}}
| data20        = {{If empty |{{{runtime|}}} |{{{length|}}} }}


| header24    = {{#if:{{{guests|}}}|{{{guests_title|{{nowrap|Guest appearance(s)}}}}}}}
| label22        = Awards
| data25       = {{#if:{{{guests|}}}|<div style="text-align: left; padding: 5; margin: 0; padding-left: 1em">
| data22        = {{{awards|}}}
 
| header24      = {{If empty |{{{guests_title|}}} |{{nowrap|Guest appearance(s)}} }}
| data25         = {{#if: {{{guests|}}} | <div style="text-align: left; padding: 5px; margin: 0; padding-left: 1em">
{{{guests|}}}
{{{guests|}}}
</div>}}
</div> }}
 
| header26      = _BLANK_


| data27       = {{{module|}}}
| data27         = {{{module|}}}


| class28      = noprint
| class30        = noprint
| header28    = {{#if:{{{season_list|}}}|{{#if:{{{season|}}}|Season {{{season|}}} episodes|Series {{{series_no|}}} episodes}}}}
| header30       = Episode chronology
| rowclass29  = noprint
| data29       = {{#if:{{{season_list|}}}|
<div style="background-color: transparent; text-align: left; padding: 5; margin: 0; padding-left: 1em">
{{{season_list|}}}
</div>
}}


| class30      = noprint
| rowclass31    = noprint
| header30    = {{#if:{{{prev|}}}{{{next|}}}{{{RPrev|}}}{{{RNext|}}}|Episode chronology}}
| data31        = {{#if: {{{prev|}}} {{{next|}}} {{{RPrev|}}} {{{RNext|}}} {{{rprev|}}} {{{rnext|}}} |
| rowclass31  = noprint
| data31      = {{#if:{{{prev|}}}{{{next|}}}{{{RPrev|}}}{{{RNext|}}}|
{{{!}} style="width:100%;"
{{{!}} 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}}}|&mdash;}}}}
{{!}} 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}}}|&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; }} }}
{{!}}}
{{!}}}
}}
}}


| belowclass   = noprint
| rowclass32    = noprint
| below       = {{{episode_list|}}}
| 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_"|ignoreblank=y| airdate | alt | awards | caption | director | editor | episode | episode list | episode_list | guests | guests_title | image | image_size | length | module | music | narrator | next | photographer | presenter | prev | producer | production | release_date | RNext | RPrev | RTitle | runtime | season | season_list | series | series_no | story | teleplay | title | writer |
}}<!--
}}<noinclude>{{documentation}}</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>

Latest revision as of 12:23, 11 March 2021