Template:Infobox television episode: Difference between revisions
From Good Old TV Fan Wiki
Adminpeter (talk | contribs) m (1 revision imported) |
Adminpeter (talk | contribs) 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 | | 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 | | 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 | |||
| above | | bodyclass = vevent | ||
| headerclass | |||
| headerstyle = background: #CCCCFF; padding: 0.25em 1em; line-height: 1.5em; | | child = {{{child|}}} | ||
| subheader | |||
| 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 | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1.13}}}|alt={{{image_alt|{{{alt|}}}}}}}} | ||
| caption | | caption = {{{caption|}}} | ||
| labelstyle | | labelstyle = white-space: nowrap | ||
| label1 | | label1 = Episode {{#if: {{{multi_episodes|}}} | {{abbr|nos.|numbers}} | {{abbr|no.|number}} }} | ||
| data1 | | data1 = {{#if: {{{season|}}} | Season {{{season|}}}<br /> }}{{#if: {{{series_no|}}} | {{nowrap|Series {{{series_no|}}}}}<br /> }}{{#if: {{{episode|}}} | {{#if: {{{multi_episodes|}}} | Episodes | Episode }} {{{episode|}}} }} | ||
| label2 | | label2 = Directed by | ||
| data2 | | data2 = {{{director|}}} | ||
| label3 | | label3 = Written by | ||
| data3 | | data3 = {{{writer|}}} | ||
| label4 | | label4 = Story by | ||
| data4 | | data4 = {{{story|}}} | ||
| label5 | | label5 = Teleplay by | ||
| data5 | | data5 = {{{teleplay|}}} | ||
| label6 | | label6 = Based on | ||
| data6 | | data6 = {{#if: {{{based_on|}}} | {{{based_on|}}}{{Main other|[[Category:Pages using infobox television episode with the based on parameter]]}} | {{{based_on|}}} }} | ||
| label7 | | label7 = Narrated by | ||
| data7 | | data7 = {{{narrator|}}} | ||
| label8 | | label8 = Presented by | ||
| data8 | | data8 = {{{presenter|}}} | ||
| label9 | | label9 = Produced by | ||
| data9 | | data9 = {{{producer|}}} | ||
| label10 | | label10 = Featured music | ||
| data10 | | data10 = {{{music|}}} | ||
| label11 | | label11 = Cinematography by | ||
| data11 | | 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 | ||
| data25 | | 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 | | data27 = {{{module|}}} | ||
| | | class30 = noprint | ||
| | | header30 = Episode chronology | ||
| | | rowclass31 = noprint | ||
| | | data31 = {{#if: {{{prev|}}} {{{next|}}} {{{RPrev|}}} {{{RNext|}}} {{{rprev|}}} {{{rnext|}}} | | ||
{{{!}} style="width:100%;" | {{{!}} style="width:100%;" | ||
{{!}} style="width: 50%; padding: 0.2em 0.1em 0.2em 0; text-align: center;" {{!}} ← '''Previous'''<br />{{#if:{{{prev|}}}|"{{{prev|}}}"|{{#if:{{{RPrev|}}}|{{{RPrev}}}|—}}}} | {{!}} style="width: 50%; padding: 0.2em 0.1em 0.2em 0; text-align: center;" {{!}} ← '''Previous'''<br />{{#if: {{{prev|}}} | "{{{prev|}}}" | {{#if: {{{RPrev|}}}{{{rprev|}}} | {{If empty |{{{RPrev|}}} |{{{rprev|}}} }} | — }} }} | ||
{{!}} style="width: 50%; padding: 0.2em 0 0.2em 0.1em; text-align: center;" {{!}} '''Next''' →<br />{{#if:{{{next|}}}|"{{{next|}}}"|{{#if:{{{RNext|}}}|{{{RNext}}}|—}}}} | {{!}} style="width: 50%; padding: 0.2em 0 0.2em 0.1em; text-align: center;" {{!}} '''Next''' →<br />{{#if: {{{next|}}} | "{{{next|}}}" | {{#if: {{{RNext|}}}{{{rnext|}}} | {{If empty |{{{RNext|}}} |{{{rnext|}}} }} |— }} }} | ||
{{!}}} | {{!}}} | ||
}} | }} | ||
| belowclass | | rowclass32 = noprint | ||
| below | | 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={{ | }}<!-- | ||
}}<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> | |||