Anonymous user
Template:Infobox television: Difference between revisions
Add preview warning
Johnrdorazio (talk | contribs) 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 = | | abovestyle = background-color: #CCCCFF; padding: 0.25em 1em; font-size: 125%; | ||
| aboveclass = summary | | aboveclass = summary | ||
| above = {{ | | above = {{#invoke:Infobox television|above_title}} | ||
| headerclass = summary | | headerclass = summary | ||
| headerstyle = background: #CCCCFF; padding: 0.25em 1em | | 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 {{ | | 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 | | label20 = Composer{{Pluralize from text|{{{composer|}}}|plural=s}} | ||
| data20 = {{{composer|}}} | | data20 = {{{composer|}}} | ||
Line 87: | Line 88: | ||
| data21 = {{{country|}}} | | data21 = {{{country|}}} | ||
| label22 = Original {{ | | 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: {{ | | label24 = {{#ifeq: {{PAGENAME}} | Doctor Who | {{Abbr|No.|Number}} of series }} | ||
| data24 = {{#ifeq: {{ | | 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 {{ | | label27 = Executive producer{{Pluralize from text|{{{executive_producer|}}}|plural=s}} | ||
| data27 = {{{executive_producer|}}} | | data27 = {{{executive_producer|}}} | ||
| label28 = {{ | | label28 = Producer{{Pluralize from text|{{{producer|}}}|plural=s}} | ||
| data28 = {{{producer|}}} | | data28 = {{{producer|}}} | ||
| label29 = News editor | | label29 = News editor{{Pluralize from text|{{{news_editor|}}}|plural=s}} | ||
| data29 = {{{news_editor|}}} | | data29 = {{{news_editor|}}} | ||
| label30 = Production location | | label30 = Production location{{Pluralize from text|{{{location|}}}|plural=s}} | ||
| data30 = {{{location|}}} | | data30 = {{{location|}}} | ||
Line 116: | Line 117: | ||
| data31 = {{{cinematography|}}} | | data31 = {{{cinematography|}}} | ||
| label32 = Animator | | label32 = Animator{{Pluralize from text|{{{animator|}}}|plural=s}} | ||
| data32 = {{{animator|}}} | | data32 = {{{animator|}}} | ||
| label33 = Editor | | label33 = Editor{{Pluralize from text|{{{editor|}}}|plural=s}} | ||
| data33 = {{{editor|}}} | | data33 = {{{editor|}}} | ||
Line 128: | Line 129: | ||
| data35 = {{{runtime|}}} | | data35 = {{{runtime|}}} | ||
| label36 = Production {{ | | label36 = Production {{Pluralize from text|{{If empty |{{{company|}}} |{{{studio|}}} }}|singular=company|plural=companies}} | ||
| data36 = {{If empty |{{{company|}}} |{{{studio|}}} }} | | data36 = {{If empty |{{{company|}}} |{{{studio|}}} }} | ||
| label38 = Budget | | label38 = Budget | ||
Line 147: | Line 145: | ||
| label42 = Audio format | | label42 = Audio format | ||
| data42 = {{{audio_format|}}} | | data42 = {{{audio_format|}}} | ||
| label44 = Original release | | label44 = Original release | ||
| data44 = {{#invoke:Infobox/dates|dates|{{ | | data44 = {{#invoke:Infobox/dates|dates|{{If empty |{{{first_aired|}}} |{{{released|}}} }}|{{{last_aired|}}}}} | ||
| | |||
| | | header45 = Related | ||
| | | data46 = {{{related|}}} | ||
| 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)]]}} | ||
}}<!-- | }}<!-- Tracking categories | ||
-->{{#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 }}<!-- | |||
-->{{Main other|{{#if: {{{host|}}} | [[Category:Pages using infobox television with alias parameters|H]] }}}}<!-- | |||
-->{{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]].| | -->{{Main other|{{#invoke:Infobox television|validate_values}}}}<!-- | ||
-->{{# | -->{{Main other|{{#invoke:Infobox television disambiguation check|main|{{PAGENAME}}}}}}<!-- | ||
-->{{Main other|{{#invoke:Infobox television disambiguation check|main|{{PAGENAME}}}}}}<!-- | --><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |