Template:Infobox episode: Difference between revisions

No edit summary
typo
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{main other|{{Television episode short description|episode_num={{{episode|}}}|season_num={{{season|}}}|season_num_uk={{{series_no|}}}|series_name={{{series|}}}|segment={{{segment|}}}|not_dab={{{not_dab|}}}|limited={{{limited|}}}}}}}<!--
<includeonly>{{main other|{{Episode short description|episode_num={{{episode|}}}|series_name={{{series|}}}|not_dab={{{not_dab|}}}|limited={{{limited|}}}}}}}<!--
-->{{#invoke:Infobox Half in the Bag|italic_title}}</includeonly>
-->{{#invoke:Infobox episode|italic_title}}</includeonly>
{{Infobox
{{Infobox
| templatestyles = Infobox television episode/styles.css
| templatestyles = Infobox television episode/styles.css
Line 6: Line 6:


| aboveclass    = summary
| aboveclass    = summary
| above          = <includeonly>{{#invoke:Infobox Half in the Bag|above_title}}</includeonly>
| above          = <includeonly>{{#invoke:Infobox episode|above_title}}</includeonly>


| headerclass    = summary
| headerclass    = summary
Line 20: Line 20:


| label1        = Episode {{#if: {{#invoke:String2|matchAny|,|/|&|-|–|and|source={{{episode|}}}}} | {{abbr|nos.|numbers}} | {{abbr|no.|number}} }}
| 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|}}} }}{{#ifeq: {{{segment|}}} | yes | &nbsp;(segment) | {{{segment|}}} }}
| data1          = {{#if: {{{episode|}}} | {{#if: {{#invoke:String2|matchAny|,|/|&|-|–|and|source={{{episode|}}}}} | Episodes | Episode }} {{{episode|}}} }}{{#ifeq: {{{segment|}}} | yes | &nbsp;(segment) | {{{segment|}}} }}


| class2        = plainlist
| class2        = plainlist
| label2        = Cast
| label2        = Subseries
| data2          = {{{cast|}}}
| data2          = {{{subseries|}}}


| class3        = plainlist
| class3        = plainlist
| label3        = Editing by
| label3        = Subseries Episode {{#if: {{#invoke:String2|matchAny|,|/|&|-|–|and|source={{{episode|}}}}} | {{abbr|nos.|numbers}} | {{abbr|no.|number}} }}
| data3          = {{{editor|}}}
| data3          = {{#if: {{{subseries_ep|}}} | {{#if: {{#invoke:String2|matchAny|,|/|&|-|–|and|source={{{subseries_ep|}}}}} | Episodes | Episode }} {{{subseries_ep|}}} }}{{#ifeq: {{{segment|}}} | yes | &nbsp;(segment) | {{{segment|}}} }}


| class4        = plainlist
| class4        = plainlist
| label4        = Story by
| label4        = Cast
| data4          = {{{story|}}}
| data4          = {{{cast|}}}


| class5        = plainlist
| class5        = plainlist
| label5        = Teleplay by
| label5        = Editing by
| data5          = {{{teleplay|}}}
| data5          = {{{editor|}}}


| label6        = Based on
| class6         = plainlist
| data6          = {{{based_on|}}}
| label6         = Animated by
 
| data6         = {{{animator|}}}
| 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
| class12        = plainlist
| label12        = Couch Gag
| label12        = Couch Gag
| data12        = {{{couch gag|}}}
| data12        = {{{couch_gag|}}}


| class18        = plainlist
| class18        = plainlist
Line 70: Line 51:


| class19        = plainlist
| class19        = plainlist
| label19        = Original {{#if: {{{release_date|}}} | release | air }} date{{Pluralize from text|{{If empty|{{{release_date|}}}|{{{airdate|}}}}}|plural=s}}
| label19        = Original release date{{Pluralize from text|{{{release_date|}}}|plural=s}}
| data19        = {{If empty |{{{release_date|}}} |{{{airdate|}}} }}
| data19        = {{{release_date|}}}
 
| label20        = Running time
| data20        = {{If empty |{{{runtime|}}} |{{{length|}}} }}


| header23      = {{If empty |{{{guests_title|}}} |{{nowrap|Guest appearance{{Pluralize from text|{{{guests|}}}|plural=s}}}}}}
| header23      = {{If empty |{{{guests_title|}}} |{{nowrap|Guest appearance{{Pluralize from text|{{{guests|}}}|plural=s}}}}}}
Line 95: Line 73:
{{!)}}
{{!)}}
}}
}}
| rowclass32    = noprint
| data32        = {{#if: {{{season_article|}}} | {{#invoke:String|replace|source={{{season_article}}}|pattern={{#ifeq:{{Str find|{{{season_article}}}|(}}|-1|
<!--No bracket, season/series-->
{{#ifeq:{{Str find|{{{season_article}}}|series}}|-1|
^((.*)(season %d+)(.*))$|
^((.*)(series %d+)(.*))$
}}|
<!--Brackets-->
^(([^\(]*)(%([^\)]*%))(.*))$
}}|replace=[[%1|''%2''%3%4]]|plain=false}} }}


| belowclass    = noprint
| belowclass    = noprint
| below          = {{#invoke:Infobox Half in the Bag|episode_list}}
| below          = {{#invoke:Infobox episode|episode_list}}


}}<!--Tracking categories
}}<!--Tracking categories
-->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using infobox Half in the Bag with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox Half in the Bag]] with unknown parameter "_VALUE_"|showblankpositional=1| airdate | alt | based_on | caption | cast | 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 | segment | series | series_no | story | teleplay | title | writer }}<!--
--><!--{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using infobox episode with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox episode]] with unknown parameter "_VALUE_"|showblankpositional=1| airdate | alt | based_on | caption | cast | couch gag | editor | episode | episode_list | guests | guests_title | image | image_alt | image_size | image_upright | italic_title | length | link | limited | module | music | narrator | next | not_dab | photographer | presenter | prev | producer | release_date | rnext | rprev | rtitle | runtime | season | season_article | segment | series | series_no | story | teleplay | title }}--><!--
-->{{Main other|{{#invoke:Infobox Half in the Bag|validate_values}}}}<!--
-->{{Main other|{{#invoke:Infobox episode|validate_values}}}}<!--
-->{{Main other|{{#if: {{{based_on|}}} | [[Category:Pages using infobox Half in the Bag with the based on parameter]] }}}}<!--
-->{{Main other|{{#if: {{{based_on|}}} | [[Category:Pages using infobox episode with the based on parameter]] }}}}<!--
--><noinclude>
--><noinclude>
{{Documentation}}</noinclude>
{{Documentation}}</noinclude>