Jump to content

Template:Infobox television: Difference between revisions

Add preview warning
No edit summary
(Add preview warning)
Line 1: Line 1:
{{Main other|{{Infobox television/Short description|released={{{released|}}}|first_aired={{{first_aired|}}}|country={{{country|}}}}}}}
{{Infobox
{{Infobox
| italic title = {{{italic_title|<noinclude>no</noinclude>}}}
| italic title = {{{italic_title|<noinclude>no</noinclude>}}}
Line 4: Line 5:
| bodyclass    = vevent
| bodyclass    = vevent


| abovestyle  = font-style: italic; background: #CCCCFF; padding: 0.25em 1em; line-height: 1.5em; line-height: normal;
| abovestyle  = background-color: #CCCCFF; padding: 0.25em 1em; font-size: 125%;
| aboveclass  = summary
| aboveclass  = summary
| above        = {{If empty |{{{name|}}} |<includeonly>{{PAGENAMEBASE}}</includeonly> }}
| above        = {{#invoke:Infobox television|above_title}}


| headerclass  = summary
| headerclass  = summary
| headerstyle  = background: #CCCCFF; padding: 0.25em 1em; line-height: 1.5em;
| headerstyle  = background-color: #CCCCFF; padding: 0.25em 1em;
| autoheaders  = y
| autoheaders  = y


| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1.13}}}<!-- 1.13 is the most common size used in TV articles. -->|alt={{{image_alt|{{{alt|}}}}}}}}
| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1.13}}}<!-- 1.13 is the most common size used in TV articles. -->|alt={{{image_alt|{{{alt|}}}}}}|title={{{image_alt|{{{alt|}}}}}}}}
| caption      = {{{caption|}}}
| caption      = {{{caption|}}}


Line 38: Line 39:
| data7        = {{{writer|}}}
| data7        = {{{writer|}}}


| label8      = Screenplay by
| label8      = {{#if: {{{teleplay|}}} | Teleplay | Screenplay}} by
| data8        = {{{screenplay|}}}
| data8        = {{{screenplay|{{{teleplay|}}}}}}


| label9      = Story by
| label9      = Story by
Line 48: Line 49:
| data10      = {{{director|}}}
| data10      = {{{director|}}}


| label11      = Creative {{Nowrap|director(s)}}
| label11      = Creative director{{Pluralize from text|{{{creative_director|}}}|plural=s}}
| class11      = attendee
| class11      = attendee
| data11      = {{{creative_director|}}}
| data11      = {{{creative_director|}}}
Line 76: Line 77:


| label18      = Opening theme
| label18      = Opening theme
| data18      = {{{opentheme|}}}
| data18      = {{If empty |{{{open_theme|}}} |{{{opentheme|}}} }}


| label19      = Ending theme
| label19      = Ending theme
| data19      = {{{endtheme|}}}
| data19      = {{If empty |{{{end_theme|}}} |{{{endtheme|}}} }}


| label20      = Composer(s)
| label20      = Composer{{Pluralize from text|{{{composer|}}}|plural=s}}
| data20      = {{{composer|}}}
| data20      = {{{composer|}}}


Line 87: Line 88:
| data21      = {{{country|}}}
| data21      = {{{country|}}}


| label22      = Original {{Nowrap|language(s)}}
| label22      = Original language{{Pluralize from text|{{{language|}}}|plural=s}}
| data22      = {{{language|}}}
| data22      = {{{language|}}}


Line 93: Line 94:
| data23      = {{If empty |{{{num_seasons|}}} |{{{num_series|}}} }}
| data23      = {{If empty |{{{num_seasons|}}} |{{{num_series|}}} }}


| label24      = {{#ifeq: {{{name|}}} | Doctor Who | {{Abbr|No.|Number}} of series }}
| label24      = {{#ifeq: {{PAGENAME}} | Doctor Who | {{Abbr|No.|Number}} of series }}
| data24      = {{#ifeq: {{{name|}}} | Doctor Who | {{{num_series|}}} }}
| data24      = {{#ifeq: {{PAGENAME}} | Doctor Who | {{{num_series|}}} }}


| label25      = {{Abbr|No.|Number}} of episodes
| label25      = {{Abbr|No.|Number}} of {{#if: {{{num_specials|}}} | specials | episodes }}
| data25      = {{{num_episodes|}}} {{#if: {{{list_episodes|}}} | {{Nowrap|([[{{{list_episodes}}}|list of episodes]])}} }}
| data25      = {{If empty |{{{num_specials|}}} |{{{num_episodes|}}} }} {{#if: {{{list_episodes|}}} | {{Nowrap|([[{{{list_episodes}}}|list of episodes]])}} }} {{#ifeq:{{{list_episodes|}}} | #Episodes | {{Preview warning|1=Page using [[Template:Infobox television]] with "list_episodes" parameter using self-link. See [[Template:Infobox television#Usage|Infobox instructions]] and [[MOS:INFOBOXPURPOSE]].}} |}}


| header26    = Production
| header26    = Production


| label27      = Executive {{Nowrap|producer(s)}}
| label27      = Executive producer{{Pluralize from text|{{{executive_producer|}}}|plural=s}}
| data27      = {{{executive_producer|}}}
| data27      = {{{executive_producer|}}}


| label28      = {{Nowrap|Producer(s)}}
| label28      = Producer{{Pluralize from text|{{{producer|}}}|plural=s}}
| data28      = {{{producer|}}}
| data28      = {{{producer|}}}


| label29      = News editor(s)
| label29      = News editor{{Pluralize from text|{{{news_editor|}}}|plural=s}}
| data29      = {{{news_editor|}}}
| data29      = {{{news_editor|}}}


| label30      = Production location(s)
| label30      = Production location{{Pluralize from text|{{{location|}}}|plural=s}}
| data30      = {{{location|}}}
| data30      = {{{location|}}}


Line 116: Line 117:
| data31      = {{{cinematography|}}}
| data31      = {{{cinematography|}}}


| label32      = Animator(s)
| label32      = Animator{{Pluralize from text|{{{animator|}}}|plural=s}}
| data32      = {{{animator|}}}
| data32      = {{{animator|}}}


| label33      = Editor(s)
| label33      = Editor{{Pluralize from text|{{{editor|}}}|plural=s}}
| data33      = {{{editor|}}}
| data33      = {{{editor|}}}


Line 128: Line 129:
| data35      = {{{runtime|}}}
| data35      = {{{runtime|}}}


| label36      = Production {{Nowrap|company(s)}}
| label36      = Production {{Pluralize from text|{{If empty |{{{company|}}} |{{{studio|}}} }}|singular=company|plural=companies}}
| data36      = {{If empty |{{{company|}}} |{{{studio|}}} }}
| data36      = {{If empty |{{{company|}}} |{{{studio|}}} }}
| label37      = Distributor
| data37      = {{{distributor|}}}


| label38      = Budget
| label38      = Budget
Line 147: Line 145:
| label42      = Audio format
| label42      = Audio format
| data42      = {{{audio_format|}}}
| data42      = {{{audio_format|}}}
| label43      = First shown in
| data43      = {{{first_run|}}}


| label44      = Original release
| label44      = Original release
| data44      = {{#invoke:Infobox/dates|dates|{{{first_aired|{{{released|}}}}}}|{{{last_aired|}}}}}
| data44      = {{#invoke:Infobox/dates|dates|{{If empty |{{{first_aired|}}} |{{{released|}}} }}|{{{last_aired|}}}}}
 
| header45    = Chronology
 
| label46      = Preceded by
| data46      = {{{preceded_by|}}}
 
| label47      = Followed by
| data47      = {{{followed_by|}}}
 
| label48      = Related shows
| data48      = {{{related|}}}


| header49     = External links
| header45     = Related
| class50      = url
| data50      = {{#if: {{{website|{{#property:P7736}}}}} | [{{{website|{{#property:P7736}}}}} {{#if: {{{website_title|}}} | {{{website_title}}}|Website}}] }}


| data51       = {{#if: {{{production_website|}}} | [{{{production_website}}} {{#if: {{{production_website_title|}}} | {{{production_website_title}}}|Production website}}] }}
| data46       = {{{related|}}}
| class51      = url


| below        = {{If preview|[[Template:Infobox television#Usage|Infobox instructions (only shown in preview)]]}}
| below        = {{If preview|[[Template:Infobox television#Usage|Infobox instructions (only shown in preview)]]}}


}}<!-- Start tracking
}}<!-- Tracking categories
-->{{Main other|{{#ifeq: {{{host|♠}}}{{{studio|♠}}} | ♠♠ || [[Category:Pages using infobox television with alias parameters|{{#ifeq: {{{host|♠}}} | ♠ || H }}{{#ifeq: {{{studio|♠}}} | ♠ || S }}]] }}}}<!--
-->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using infobox television with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox television]] with unknown parameter "_VALUE_". See [[Template:Infobox television#Usage|Infobox instructions]].|showblankpositional=1| alt | alt_name | animator | audio_format | based_on | budget | camera | caption | channel | cinematography | company | composer | country | creative_director | creator | developer | director | editor | end_theme | endtheme | executive_producer | first_aired | genre | host | image | image_alt | image_size | image_upright | inspired_by | italic_title | judges | language | last_aired | list_episodes | location | music | name | narrated | native_name | network | news_editor | num_episodes | num_seasons | num_series | num_specials | open_theme| opentheme | picture_format | presenter | producer | related | released | runtime | screenplay | starring | story | studio | teleplay | theme_music_composer | voices | writer }}<!--
-->{{#if: {{{editor|}}} | {{Main other|[[Category:Pages using infobox television with editor parameter]]}} }}<!--
-->{{Main other|{{#if: {{{host|}}} | [[Category:Pages using infobox television with alias parameters|H]] }}}}<!--
-->{{#ifexpr: {{Str find|{{If empty |{{{released|}}} |dtstart}}|dtstart}} < 1 or {{Str find|{{If empty |{{{first_aired|}}} |dtstart}}|dtstart}} < 1 or {{#ifexpr: {{Str find|{{If empty |{{{last_aired|}}} |dtend}}|dtend}} > -1 or {{#ifeq: {{If empty |{{{last_aired|}}} |present}} | present | 1 | -1 }} > -1 | 1 | -1 }} < 1 | [[Category:Pages using infobox television with nonstandard dates]] }}<!--
-->{{Main other|{{#if: {{{studio|}}} | [[Category:Pages using infobox television with alias parameters|S]] }}}}<!--
-->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using infobox television with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox television]] with unknown parameter "_VALUE_". See [[Template:Infobox television#Usage|Infobox instructions]].|ignoreblank=y| alt | alt_name | animator | audio_format | based_on | budget | camera | caption | channel | cinematography | company | composer | country | creative_director | creator | developer | director | distributor | editor | endtheme | executive_producer | first_aired | first_run | followed_by | genre | host | image | image_alt | image_size | image_upright | inspired_by | italic_title | judges | language | last_aired | list_episodes | location | music | name | narrated | native_name | network | news_editor | num_episodes | num_seasons | num_series | opentheme | picture_format | preceded_by | presenter | producer | production_website | production_website_title | related | released | runtime | screenplay | starring | story | studio | theme_music_composer | voices | website | website_title | writer }}<!--  
-->{{Main other|{{#invoke:Infobox television|validate_values}}}}<!--
-->{{#invoke:Check for unknown parameters|check|unknown=[[Category:Pages using infobox television with unknown empty parameters|_VALUE_{{PAGENAME}}]]|preview=Page using [[Template:Infobox television]] with unknown parameter "_VALUE_". See [[Template:Infobox television#Usage|Infobox instructions]].|showblankpositional=1| alt | alt_name | animator | audio_format | based_on | budget | camera | caption | channel | cinematography | company | composer | country | creative_director | creator | developer | director | distributor | editor | endtheme | executive_producer | first_aired | first_run | followed_by | genre | host | image | image_alt | image_size | image_upright | inspired_by | italic_title | judges | language | last_aired | list_episodes | location | music | name | narrated | native_name | network | news_editor | num_episodes | num_seasons | num_series | opentheme | picture_format | preceded_by | presenter | producer | production_website | production_website_title | related | released | runtime | screenplay | starring | story | studio | theme_music_composer | voices | website | website_title | writer }}<!--  
-->{{Main other|{{#invoke:Infobox television disambiguation check|main|{{PAGENAME}}}}}}<!--
-->{{Main other|{{#invoke:Infobox television disambiguation check|main|{{PAGENAME}}}}}}<!-- End tracking --><noinclude>
--><noinclude>
{{Documentation}}
{{Documentation}}
<!-- category links go on /doc, not here -->
</noinclude>
</noinclude>
Anonymous user