Template:Infobox television episode/doc: Difference between revisions
Jump to navigation
Jump to search
Neuleinster (talk | contribs) No edit summary |
Neuleinster (talk | contribs) 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 | ||
{{ | | 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> | ||
{{ | | 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> }} | ||
{{ | |||
| bodyclass = vevent | |||
= | | child = {{{child|}}} | ||
| 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% | ||
| | |||
| | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1.13}}}|alt={{{image_alt|{{{alt|}}}}}}}} | ||
| | | caption = {{{caption|}}} | ||
| | |||
| | | labelstyle = white-space: nowrap | ||
| | |||
| | | label1 = Episode {{#if: {{{multi_episodes|}}} | {{abbr|nos.|numbers}} | {{abbr|no.|number}} }} | ||
| data1 = {{#if: {{{season|}}} | Season {{{season|}}}<br /> }}{{#if: {{{series_no|}}} | {{nowrap|Series {{{series_no|}}}}}<br /> }}{{#if: {{{episode|}}} | {{#if: {{{multi_episodes|}}} | Episodes | Episode }} {{{episode|}}} }} | |||
| | |||
| label2 = Directed by | |||
| | | data2 = {{{director|}}} | ||
| | |||
| | | 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;" {{!}} ← '''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|}}} | {{If empty |{{{RNext|}}} |{{{rnext|}}} }} |— }} }} | |||
{{!}}} | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| next | |||
}} | }} | ||
= | | 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> | ||
[[Category: | {{Documentation}}</noinclude> | ||
[[ | |||
}}</ |