Template:Infobox television
{{safesubst:#switch:
{{safesubst:#if:
| {{{demospace}}}
| {{safesubst:#ifeq:Template|
| main
| other
}}
}}
| main = Template:Infobox television/Short description | other | #default = }}
| Infobox television | |
|---|---|
| {{#ifeq: Infobox television | Doctor Who | No. of series }} | {{#ifeq: Infobox television | Doctor Who | }} |
| No. of {{#if: | specials | episodes }} | {{#if: | ([[{{{list_episodes}}}|list of episodes]]) }} {{#ifeq: | #Episodes | |}} |
{{#switch:
{{#if:
| {{{demospace}}}
| {{#ifeq:Template|Template
| template
| other
}}
}}
| template = {{#ifeq:Infobox television|Infobox||{{#ifeq:Infobox|Infobox|}}}} | other | #default = }}{{safesubst:#switch:
{{safesubst:#if:
| {{{demospace}}}
| {{safesubst:#ifeq:Template|
| main
| other
}}
}}
| main = {{#ifeq: | #Episodes | }} | other | #default = }}{{safesubst:#switch:
{{safesubst:#if:
| {{{demospace}}}
| {{safesubst:#ifeq:Template|
| main
| other
}}
}}
| main = | other | #default = }}{{safesubst:#switch:
{{safesubst:#if:
| {{{demospace}}}
| {{safesubst:#ifeq:Template|
| main
| other
}}
}}
| main = Script error: No such module "Infobox television disambiguation check". | other | #default = }}
{{#ifeq:infobox television |doc
|
{{#ifeq:show |show
|| icon | This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Template |User |template template page |{{#if:Template |template page|article}}}}}}}}. |
}}{{#if:|
|{{#ifexist:Template:Infobox television
| [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
|
}}
}}
|
}}
| Warning | This template is used on approximately 64,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
| File:Information icon4.svg | This infobox should italicize the article title automatically. If this is not required, add |{{SAFESUBST:#if:{{#if:italic_title|italic_title|italic title}}|{{#if:italic_title|italic_title|italic title}}=}}{{#if:|{{{3}}}|no}} to the list of parameters. {{#if: yes | | If this is required but the title is not being italicized, try |{{SAFESUBST:#if:{{#if:italic_title|italic_title|italic title}}|{{#if:italic_title|italic_title|italic title}}=}}force.}} |
| File:Information icon4.svg | This template {{#if:|sometimesTemplate:Sp}}adds an automatically generated short description{{#if:|Template:Sp({{{category}}})|}}{{#if:|Template:Spvia an embedded template}}{{#if:|{{#iferror:{{#expr:1}}
|{{#switch:{{{1}}}
|fig=
|en=
|em=
|thin=
|hair=
|
}}
|{{#switch:{{{2}}}
|fig=
|en=
|em=
|thin=
|hair=
|
}}
}}{{{conditions}}}}}.{{#if:||{{#iferror:{{#expr:1}} |{{#switch:{{{1}}}
|fig=
|en=
|em=
|thin=
|hair=
|
}}
|{{#switch:{{{2}}}
|fig=
|en=
|em=
|thin=
|hair=
|
}}
}}If the automatic short description is not optimal, override it by adding {{Short description}} at the top of the article.}} |
Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value). Lua error in Module:TNT at line 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Uses TemplateStyles.tab.
{{Infobox television}} is used to create an infobox which summarizes the main information of a particular television or internet program and can also be used for television films.
Usage
{{ {{#ifeq:0|0|{{{{#if:||FULL}}BASEPAGENAME}}|{{{{#if:||FULL}}PAGENAME}}}} | italic_title = no | image = Example-serious.jpg | image_upright = 1.1 | image_alt = Alt text for image | caption = caption | alt_name = alt_name | native_name = native_name | genre = genre | creator = creator | based_on = based_on | inspired_by = inspired_by | developer = developer | showrunner = showrunner | writer = writer | screenplay = screenplay | story = story | director = director | editor = editor | creative_director = creative_director | presenter = presenter | starring = starring | judges = judges | voices = voices | narrator = narrator | theme_music_composer = theme_music_composer | open_theme = open_theme | end_theme = end_theme | composer = composer | country = country | language = language | num_seasons = num_seasons | num_series = num_series | num_episodes = num_episodes | list_episodes = Template:Infobox television | executive_producer = executive_producer | producer = producer | news_editor = news_editor | location = location | cinematography = cinematography | animator = animator | camera = camera | runtime = runtime | company = company | budget = budget | network = network | first_aired = first_aired (released) | last_aired = last_aired | related = related }}
Short
<section begin=infobox /> <syntaxhighlight lang="wikitext" style="overflow: auto;"> {{safesubst:#switch:
{{safesubst:#if:
| {{{demospace}}}
| {{safesubst:#ifeq:Template|
| main
| other
}}
}}
| main = Template:Infobox television/Short description | other | #default = }} Lua error in package.lua at line 80: module 'Module:Italic title' not found.{{#switch:
{{#if:
| {{{demospace}}}
| {{#ifeq:Template|Template
| template
| other
}}
}}
| template = {{#ifeq:Infobox television|Infobox||{{#ifeq:Infobox|Infobox|}}}} | other | #default = }}{{safesubst:#switch:
{{safesubst:#if:
| {{{demospace}}}
| {{safesubst:#ifeq:Template|
| main
| other
}}
}}
| main = {{#ifeq: | #Episodes | }} | other | #default = }}{{safesubst:#switch:
{{safesubst:#if:
| {{{demospace}}}
| {{safesubst:#ifeq:Template|
| main
| other
}}
}}
| main = | other | #default = }}{{safesubst:#switch:
{{safesubst:#if:
| {{{demospace}}}
| {{safesubst:#ifeq:Template|
| main
| other
}}
}}
| main = Script error: No such module "Infobox television disambiguation check". | other | #default = }} </syntaxhighlight> <section end=infobox />
Full
<syntaxhighlight lang="wikitext" style="overflow: auto;"> {{safesubst:#switch:
{{safesubst:#if:
| {{{demospace}}}
| {{safesubst:#ifeq:Template|
| main
| other
}}
}}
| main = Template:Infobox television/Short description | other | #default = }} Lua error in package.lua at line 80: module 'Module:Italic title' not found.{{#switch:
{{#if:
| {{{demospace}}}
| {{#ifeq:Template|Template
| template
| other
}}
}}
| template = {{#ifeq:Infobox television|Infobox||{{#ifeq:Infobox|Infobox|}}}} | other | #default = }}{{safesubst:#switch:
{{safesubst:#if:
| {{{demospace}}}
| {{safesubst:#ifeq:Template|
| main
| other
}}
}}
| main = {{#ifeq: | #Episodes | }} | other | #default = }}{{safesubst:#switch:
{{safesubst:#if:
| {{{demospace}}}
| {{safesubst:#ifeq:Template|
| main
| other
}}
}}
| main = | other | #default = }}{{safesubst:#switch:
{{safesubst:#if:
| {{{demospace}}}
| {{safesubst:#ifeq:Template|
| main
| other
}}
}}
| main = Script error: No such module "Infobox television disambiguation check". | other | #default = }} </syntaxhighlight>
Maintenance
If you encounter a usage of the template which you want to quickly restore to the above standard, use {{subst:Infobox television/subst}}.
Parameters
- Link people only if they have articles.
- For most of the fields below, if there are multiple entries, separate them using {{Plainlist}} or {{Unbulleted list}}.
- For fields that feature people as part of a team that use "&" and "and" crediting, each person should be listed individually.
- When adding data to fields, do not use small text as this reduces the size of the text to below 85% of the page font size. See Wikipedia:Manual of Style/Accessibility#Text for more information.
- Do not add additional text, such as years, seasons, or individual episodes, that explains when a person was part of the show
| Parameter | Explanation |
|---|---|
| italic_title | A "no" value will disable the automatic italicization of the article's name. This parameter should not be used most of the time. |
| name | The name of the television program, film or miniseries, defaults to the page name. Need not be used if the name is the same as the article title as the infobox handles this automatically. If set, use the full name and do not wikilink it. |
| image | A suitable image relevant to the show. The image does not need to be wikilinked and should exclude "File:" e.g. Example.png Typically the image will be the series' title card, although this is not mandated. Free content should be used where available.
|
| image_size | image_upright=}}. The size should not be set greater than 300px. |
| image_upright | image_size=}}, as it allows auto-sizing of images according to user preferences. The size should not be set to a value that would result in an image width greater than 300px. See help below for guidance on determining the value to be used. Parameter defaults to 1. |
| image_alt | Alt text, as required by MOS:ALT. Per guideline, the text must be plain text (no HTML or wiki markup such as Wikilinks) and without line breaks. |
| caption | A caption explaining the image. An image of the title card including the title logo, or the logo only, of the show does not need a caption. |
| image_class | |
| alt_name | An alternative name by which the television program is known. |
| native_name | Insert the native title using the {{Infobox name module}} template if it is different from the displayed title; please visit that template's page for full instructions. This parameter is for the native title only, i.e. it should not be used to add translated titles to the infobox. Example: {{Infobox name module|ta|பாசமலர்}} will display the Tamil native name in the infobox – "ta" is the ISO 639 code for Tamil.
|
| genre | The genre of the show. Examples listed at Film and television genres. Link if an article is available. Genres must be reliably sourced. |
| creator | developer=}} if the show is based on original material i.e. Lost or Law & Order, unless a reliable source attributes a person with the title "creator". |
| based_on | Insert the title of the source material and the name(s) of the source material writer(s). Use {{based on}} or similar formatting where possible. Use this field if a series is based on previously produced or published material, such as films, books, plays, articles, old screenplays etc, and is explicitly credited as such. Do not use this field where the source material is ambiguous or cannot be reliably sourced. If a work was inspired by another, use |{{SAFESUBST:#if:inspired_by|inspired_by=}}.
|
| inspired_by | Insert the title of the source material that inspired the series and the name(s) of the source material's writer(s). Use {{based on}} or similar formatting where possible. Use this field if a series is inspired by previously produced or published material, such as films, books, plays, articles, old screenplays etc, and is explicitly credited as such. Do not use this field where the source material is ambiguous or cannot be reliably sourced. If a work was based on another, use |{{SAFESUBST:#if:based_on|based_on=}}.
|
| developer | creator=}} if the show is based on non-original material i.e. The Walking Dead or Smallville, unless a reliable source attributes a person with the title |{{SAFESUBST:#if:developer|developer=}}.
|
| showrunner | The show's showrunner or showrunners. Only to be used when a reliable source can verify that this position is used on a particular series. |
| writer | The show's writer or writers. Do not use if the show has many (5+) writers. |
|
teleplay=}}. |
| story | Used for television films. Insert the name(s) of the story writer(s). Use this field instead of the normal writer field if films divide writing credits between screenplay and story writers. In addition, link each writer to their appropriate article if possible. |
| director | The show's director. |
| creative_director | The show's creative director. |
|
The show's presenters or hosts. Presenters are listed in original credit order followed by order in which new presenters joined the show. |
| starring | The show's starring cast. Cast are listed in original credit order followed by order in which new cast joined the show. Character names should not be included. |
| judges | If the show involves judges, list them here. Judges are listed in original credit order followed by order in which new judges joined the show. |
| voices | Any voice artists used in the show. Cast are listed in original credit order followed by order in which new cast joined the show. Character names should not be included. |
| narrator | The show's credited narrator(s) (if applicable). Cannot be used with |{{SAFESUBST:#if:announcer|announcer=}}.
|
| announcer | narrator=}}. |
| theme_music_composer | composer=}}. |
| music | theme_music_composer=}}. Do not use if |{{SAFESUBST:#if:theme_music_composer|theme_music_composer=}} is set; use |{{SAFESUBST:#if:composer|composer=}} instead.
|
| open_theme | The name of the opening theme for the show. |
| end_theme | The name of the ending theme for the show. |
| composer | The principal composer or composers providing incidental music for the show's episodes. |
| country | The show's country or countries of origin. Do not use flag icons, as this places an unnecessary emphasis on nationality – see MOS:INFOBOXFLAG for a detailed rationale. Do not link major countries, e.g., [[United States]], per WP:OVERLINK. |
| language | The original language or languages of the show. Do not link major languages, e.g., [[English language|English]], per WP:OVERLINK. |
|
The number of seasons (US) or series (UK) produced. Use one or the other, not both. The parameter should only be incremented once the first episode of that season or series has aired, or if a reliable source confirms production has commenced. An inline citation is required if the total number of seasons produced is greater than the number aired. |
|
The number of episodes or specials released. This parameter should only be incremented when new episodes or specials air. An inline citation is required if the total number of episodes produced is greater than the number aired, such as in the case of a show being cancelled. |
| list_episodes | If a Wikipedia "List of" article exists for the show's episodes, put its name here.
|
| Production-specific | |
| executive_producer | The executive producer(s) of the show. This should not be used for writers on the series' writing staff who receive "co-executive producer" credits, which are not the same as executive producers. |
| producer | The producer(s) of the show. This generally should be for individuals who receive either "Produced by" or "Producer" credit in a series' main opening or on-end credits (typically credited between executive producers and below-the-line creative head credits). This role and credit generally refers to the series' line producer; see the Producers Guild of America guide to television credits for more information. Note that this field should not be used for low-level writers on the series' writing staff who can receive credits such as "producer", "co-producer", or "supervising producer", nor starring actors who are granted creative producer credit. |
| news_editor | This field should be used to indicate the senior reporter who oversees the writing of news and magazine video content for a current affairs or political show such as Newsnight. |
| location | Production location, i.e. where the show was primarily shot. Leave blank if same as country of origin above. |
| cinematography | The director of cinematography or lead cameraman. |
| animator | The person(s) who served as animators of the show. Note: animation houses or other sub-contractors hired to perform production work should not be included here. |
| editor | The film editor(s) or video editor(s). |
| camera | Either Single-camera or Multi-camera. |
| runtime | Episode duration. Should not include commercials and should be approximated, e.g. "22–26 minutes" for most half-hour shows. |
| company | The names of the production company or companies that funded or organized series production. Note: sub-contractors hired to perform production work, e.g. animation houses, special effects studios, post-production facilities etc. should not be included here, as this may create confusion about the nation(s) of origin. Instead, use sourced prose in the article's Production section to explain these details. |
| budget | Used for television films. The budget of the television film or miniseries. |
| Broadcast-specific | |
| network | The original network(s) or streaming media services (such as Netflix) on which the show first appeared in the country of origin. Use links if articles are available. |
| released | The date the show first aired on its original network or streaming media site. This should be used for one-off programs such as television films, television plays, and specials or for shows that released all of their episodes at the same time. Only insert the date after it has happened. The parameter is not restricted to a "premiere" date. In the event a program airs a full "preview" episode on TV in advance of a premiere, that date should be used instead. Do not use this field to list dates for spin-offs. Use {{Start date}} (e.g. {{Start date|1981|2|26}}) so that the date is included in the template's hCalendar microformat, and is properly formatted according to a reader's Wikipedia date and time preferences. Add |{{SAFESUBST:#if:df|df=}}y if the article uses the dmy date format.
|
| first_aired | The date the show first aired its first episode on its original network or streaming media site. Only insert the date after it has happened. The parameter is not restricted to a "premiere" date. In the event a program airs a full "preview" episode on TV in advance of a premiere, that date should be used instead. Separate pilot episodes do not count as a premiere date. Do not use this field to list dates for spin-offs. Use {{Start date}} (e.g. {{Start date|1981|2|26}}) so that the date is included in the template's hCalendar microformat, and is properly formatted according to a reader's Wikipedia date and time preferences. Add |{{SAFESUBST:#if:df|df=}}y if the article uses the dmy date format.
|
| last_aired | The date the show first aired its last episode on its original network or streaming media site. Use "present" if the show is ongoing or renewed and {{End date}} if the show has ended. Insert the last episode's date only after it has happened. In some cases, the fate of a program might be uncertain, for example if there are no announcements that a show has been renewed. If such a program has not aired a new episode in 12 months, "present" can be changed to the date the last episode aired, using {{End date}}. This does not imply the series has been cancelled, rather that the program "last aired" on that date. This is to prevent programs from being listed as "present" in perpetuity. In the event that a program resumes airing after a long hiatus, such as more than 12 months between episodes or cancellation and subsequent renewal, the date template can be replaced with "present" to reflect the current status of the program. |
| network[2-8] | If the show was canceled and revived or moved to another network, or the network was rebranded, use the additional parameters. See #network for additional information. |
| released[2-8] | If the show was canceled and revived or moved to another network, or the network was rebranded, use the additional parameters. See #released for additional information. |
| first_aired[2-8] | If the show was canceled and revived or moved to another network, or the network was rebranded, use the additional parameters. See #first aired for additional information. |
| last_aired[2-8] | If the show was canceled and revived or moved to another network, or the network was rebranded, use the additional parameters. See #last aired for additional information. |
| Related | |
| related | Related TV shows, i.e. remakes, spin-offs, adaptations for different audiences, etc. For example, The Office (British TV series) and The Office (American TV series); The Upper Hand and Who's the Boss?; etc. Note that simply sharing crossover episodes does not make series related. Links to larger franchises may also be helpful to include, such as Law & Order (franchise) or List of Marvel Cinematic Universe television series (Marvel Studios). |
Deprecated parameters
The "External links" parameters (|{{SAFESUBST:#if:website|website=}}, |{{SAFESUBST:#if:website_title|website_title=}}, |{{SAFESUBST:#if:production_website|production_website=}}, and |{{SAFESUBST:#if:production_website_title|production_website_title=}}) were removed from the infobox in March 2022 (discussion). If the website is useful and is not already present in the article's "External links" section, it should be added there.
The |{{SAFESUBST:#if:distributor|distributor=}} parameter was removed from the infobox in March 2023 (discussion).
The "Chronology" parameters (|{{SAFESUBST:#if:preceded_by|preceded_by=}} and |{{SAFESUBST:#if:followed_by|followed_by=}}) were removed from the infobox in March 2023 (discussion). Further clarifying of related and successive series or franchises is better discussed elsewhere in the article, such as its lead, within the body of the article or a "See also" section, or in a related navbox, and should be added or moved to those locations if needed. The parameter |{{SAFESUBST:#if:related|related=}} remains in the infobox to also be utilized, while the heading was adjusted from "Chronology" to "Related".
The "Picture format" and "Audio format" parameters (|{{SAFESUBST:#if:picture_format|picture_format=}} and |{{SAFESUBST:#if:audio_format|audio_format=}}) were removed from the infobox in August 2023 (discussion).
Controlling line-breaking in embedded bulletless lists
Template {{nbsp}} may be used with {{wbr}} and {{nowrap}} to control line-breaking in bulletless lists embedded in the infobox (e.g. cast and other credits lists), to prevent wrapped long entries from being confused with multiple entries. See Template:Wbr/doc#Controlling line-breaking in infoboxes for details.
{{#section:Template:Infobox Australian place/doc|image_upright}}
TemplateData
{{ safesubst:#if: |{{ safesubst:#ifeq:{{{demo}}} |no
| |
}} |{{ safesubst:#ifeq:Template|Template
| |
}}}}
class="{{safesubst:#switch:
{{safesubst:#if:
|
{{{demospace}}} | main | other
}} }} |
main = cot-header-mainspace | other | #default = cot-header-other
}}" style="{{safesubst:#if:|background:{{{bg}}}|{{ safesubst:#if: |
no | {{safesubst:#switch:
{{safesubst:#if:
|
{{{demospace}}} | main | other
}} }} |
main = background:#F0F2F5 | other | #default = background:#CCFFCC
}} }} |
Template | {{safesubst:#switch:
{{safesubst:#if:
|
{{{demospace}}} | main | other
}} }} |
main = background:#F0F2F5 | other | #default = background:#CCFFCC
}} }}}}}}; font-size:87%; padding:0.2em 0.3em; text-align:{{safesubst:#if:|left|{{safesubst:#if:|left|center}}}}; {{safesubst:#if:|color: {{{fc}}};|{{safesubst:#if:|color:#202122|{{ safesubst:#if: |
no | color:black;
}} |
Template | color:black;
}}}}}}}}" | TemplateData documentation used by VisualEditor and other tools
{{safesubst:#if: |
- | The following is a closed discussion. {{safesubst:#switch:
{{safesubst:#if:
|
{{{demospace}}} | main | other
}} }} |
main = Template:FormattingError | other | #default = Please do not modify it.
}} }} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
{{#if:1|{{#switch:
|
=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+television%7CInfobox+television%7CInfobox+television%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|no|S|s}}ee a monthly parameter usage report] for {{#if:Infobox television|Template:Infobox television|this template}} in articles{{#ifeq:{{safesubst:#switch: y |
no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:Infobox television|its|this}} TemplateData}}. |
none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+television%7CInfobox+television%7CInfobox+television%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y |
no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:Infobox television|its|this}} TemplateData}} |
For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+television%7CInfobox+television%7CInfobox+television%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|no|P|p}}arameter usage report] for {{#if:Infobox television|Template:Infobox television|Template:Infobox television}}{{#ifeq:{{safesubst:#switch: y |
no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:Infobox television|its|this}} TemplateData}}. |
#default=[1]{{#ifeq:{{safesubst:#switch: y | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:Infobox television|its|this}} TemplateData}} }}|This is the {{#if:|TemplateData|TemplateData}} for this template used by TemplateWizard, VisualEditor and other tools. {{#switch: |
=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+television%7CInfobox+television%7CInfobox+television%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|no|S|s}}ee a monthly parameter usage report] for {{#if:Infobox television|Template:Infobox television|this template}} in articles{{#ifeq:{{safesubst:#switch: y |
no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:Infobox television|its|this}} TemplateData}}. |
none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+television%7CInfobox+television%7CInfobox+television%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y |
no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:Infobox television|its|this}} TemplateData}} |
For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3AInfobox+television%7CInfobox+television%7CInfobox+television%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|no|P|p}}arameter usage report] for {{#if:Infobox television|Template:Infobox television|Template:Infobox television}}{{#ifeq:{{safesubst:#switch: y |
no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:Infobox television|its|this}} TemplateData}}. |
#default=[2]{{#ifeq:{{safesubst:#switch: y | no | n | f | false | off | 0 = no | = no | ¬ = no | yes | y | t | true | on | 1 = yes | #default = no
}}|yes| based on {{#if:Infobox television|its|this}} TemplateData}} }}}} TemplateData for Infobox television {{#switch: {{#if:
|
{{{demospace}}} | Template | template | other
}} }} |
sandbox|1}}{{safesubst:#ifeq:Infobox television|doc|1}} |
}} |
other | #default =
}} <templatedata> { "description": "Infobox used on articles about television and web programs.", "params": { "italic_title": { "label": "Italic title", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "A \"no\" value will disable the automatic italicization of the article. This parameter should not be used most of the time." }, "name": { "label": "Television program name", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The name of the television program, film or miniseries, defaults to the page name. Should not be used if the name is the same as the article title as the infobox handles this automatically. If set, use the full name and do not wikilink it." }, "image": { "label": "Image", "type": "wiki-file-name", "required": false, "suggested": true, "deprecated": false, "description": "An image relevant to the show." }, "image_size": { "label": "Image size", "type": "number", "required": false, "suggested": false, "deprecated": false, "description": "Width of the image in pixels, excluding \"px\". If not specified the image width defaults to the value explained in \"image_upright\". The size should not be set greater than 300px." }, "image_upright": { "label": "Image upright", "type": "number", "required": false, "suggested": false, "deprecated": false, "description": "Use of this parameter is preferred to using \"image_size\", as it allows auto-sizing of images according to user preferences. The size should not be set to a value that would result in an image width greater than 300px. See help below for guidance on determining the value to be used." }, "image_alt": { "label": "Image alt", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Alt text, as required by MOS:ALT. Per guideline, the text must be plain text (no HTML or wiki markup such as Wikilinks) and without line breaks.", "aliases": [ "alt" ] }, "caption": { "label": "Image caption", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "A caption explaining the image." }, "image_class": { "label": "Image class", "type": "line", "required": false, "suggested": false, "deprecated": false, "suggestedvalues": [ "skin-invert" ] }, "alt_name": { "label": "Additional show names", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "An alternative name by which the television program is known." }, "native_name": { "label": "Native name", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Native title. Should only be used, if the native title differs from the common film title." }, "genre": { "label": "Genre", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The genre of the show. Examples listed at Film and television genres." }, "creator": { "label": "Creator", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The show's creator or creators." }, "based_on": { "label": "Based on", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The title of the source material and the name(s) of the source material writer(s). Use this field if a series is based on previously produced or published material, such as films, books, plays, articles, old screenplays etc, and is explicitly credited as such. Do not use this field where the source material is ambiguous or cannot be reliably sourced. If a work was inspired by another, use inspired_by." }, "inspired_by": { "label": "Inspired by", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The title of the source material that inspired the series and the name(s) of the source material's writer(s). Use this field if a series is inspired by previously produced or published material, such as films, books, plays, articles, old screenplays etc, and is explicitly credited as such. Do not use this field where the source material is ambiguous or cannot be reliably sourced. If a work was based on another, use based_on." }, "developer": { "label": "Developer", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The show's developer or developers." }, "showrunner": { "label": "Showrunner", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The show's showrunner or showrunners" }, "writer": { "label": "Writer", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The show's writer or writers." }, "screenplay": { "label": "Screenplay", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Used for television films. Insert the name(s) of the screenplay writer(s). Use this field instead of the normal writer field if films divide writing credits between screenplay and story writers.", "aliases": [ "teleplay" ] }, "story": { "label": "Story", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Used for television films. Insert the name(s) of the story writer(s). Use this field instead of the normal writer field if films divide writing credits between screenplay and story writers." }, "director": { "label": "Director", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The show's director." }, "creative_director": { "label": "Creative director", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The show's creative director." }, "presenter": { "label": "Presenter", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The show's presenters.", "aliases": [ "host" ] }, "starring": { "label": "Starring", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The show's starring cast." }, "judges": { "label": "Judges", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "If the show involves judges, list them here." }, "voices": { "label": "Voice actors", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Any voice artists used in the show." }, "narrator": { "label": "Narrators", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The show's credited narrator(s) (if applicable)." }, "announcer": { "label": "Announcer", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The show's credited announcer(s) (if applicable), such as those for a game show or talk show." }, "theme_music_composer": { "label": "Theme music composer", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The name of the composer of the show's theme music. For non-theme music composer, use |music=." }, "music": { "label": "Music composer", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The name of the composer of the show's music. For the theme music composer, use |theme_music_composer=." }, "open_theme": { "label": "Opening theme", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The name of the opening theme for the show." }, "end_theme": { "label": "Ending theme", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The name of the ending theme for the show." }, "composer": { "label": "Composer", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The principal composer or composers providing incidental music for the show's episodes." }, "country": { "label": "Country", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The show's country of origin." }, "language": { "label": "Language", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The original language or languages of the show." }, "num_seasons": { "label": "Number of seasons", "type": "number", "required": false, "suggested": false, "deprecated": false, "description": "The number of seasons (US) or series (UK) produced.", "aliases": [ "num_series" ] }, "num_episodes": { "label": "Number of episodes", "type": "number", "required": false, "suggested": false, "deprecated": false, "description": "The number of episodes released.", "aliases": [ "num_specials" ] }, "list_episodes": { "label": "List of episodes article", "type": "wiki-page-name", "required": false, "suggested": false, "deprecated": false, "description": "The show's List of episodes article." }, "executive_producer": { "label": "Executive producer", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The executive producer(s) of the show." }, "producer": { "label": "Producer", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The producer(s) of the show who receive either \"Produced by\" or \"Producer\" credit in a series' main opening or on-end credits." }, "news_editor": { "label": "News editor", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Content editor or editors of a current affairs or political show" }, "location": { "label": "Location", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The production location." }, "cinematography": { "label": "Cinematographer", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The director of cinematography or lead cameraman." }, "animator": { "label": "Animator", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The animator or animators of the show." }, "editor": { "label": "Editor", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The editor or editors." }, "camera": { "label": "Camera setup", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Either Single-camera or Multi-camera." }, "runtime": { "label": "Run time", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Episode duration. Should not include commercials and should be approximated, e.g. \"22–26 minutes\" for most half-hour shows." }, "company": { "label": "Company", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The names of the production company or companies that funded/organized series production.", "aliases": [ "studio" ] }, "budget": { "label": "Budget", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "Used for television films. The budget of the television film or miniseries." }, "network": { "label": "Network", "type": "string", "required": false, "suggested": false, "deprecated": false, "description": "The original network(s) on which the show first appeared in the country of origin. Use links if articles are available.", "aliases": [ "channel" ] }, "released": { "label": "Released", "type": "date", "required": false, "suggested": false, "deprecated": false, "description": "The date the show first aired on its original network or streaming media site. Do not use this field to list dates for spin-offs." }, "first_aired": { "label": "First aired date", "type": "date", "required": false, "suggested": false, "deprecated": false, "description": "The date the show first aired its first episode on its original network or streaming media site. Do not use this field to list dates for spin-offs." }, "last_aired": { "label": "Last aired date", "type": "date", "required": false, "suggested": false, "deprecated": false, "description": "The date the show first aired its last episode on its original network or streaming media site. Use \"present\" if the show is ongoing or renewed and Error: Year value is required (help) if the show is ended." }, "network2": { "label": "Network2", "inherits": "network", "aliases": [ "channel2" ] }, "released2": { "label": "Released2", "inherits": "released" }, "first_aired2": { "label": "First aired date2", "inherits": "first_aired" }, "last_aired2": { "label": "Last aired date2", "inherits": "last_aired" }, "network3": { "label": "Network3", "inherits": "network", "aliases": [ "channel3" ] }, "released3": { "label": "Released3", "inherits": "released" }, "first_aired3": { "label": "First aired date3", "inherits": "first_aired" }, "last_aired3": { "label": "Last aired date3", "inherits": "last_aired" }, "network4": { "label": "Network4", "inherits": "network", "aliases": [ "channel4" ] }, "released4": { "label": "Released4", "inherits": "released" }, "first_aired4": { "label": "First aired date4", "inherits": "first_aired" }, "last_aired4": { "label": "Last aired date4", "inherits": "last_aired" }, "network5": { "label": "Network5", "inherits": "network", "aliases": [ "channel5" ] }, "released5": { "label": "Released5", "inherits": "released" }, "first_aired5": { "label": "First aired date5", "inherits": "first_aired" }, "last_aired5": { "label": "Last aired date5", "inherits": "last_aired" }, "network6": { "label": "Network6", "inherits": "network", "aliases": [ "channel6" ] }, "released6": { "label": "Released6", "inherits": "released" }, "first_aired6": { "label": "First aired date6", "inherits": "first_aired" }, "last_aired6": { "label": "Last aired date6", "inherits": "last_aired" }, "network7": { "label": "Network7", "inherits": "network", "aliases": [ "channel7" ] }, "released7": { "label": "Released7", "inherits": "released" }, "first_aired7": { "label": "First aired date7", "inherits": "first_aired" }, "last_aired7": { "label": "Last aired date7", "inherits": "last_aired" }, "network8": { "label": "Network8", "inherits": "network", "aliases": [ "channel8" ] }, "released8": { "label": "Released8", "inherits": "released" }, "first_aired8": { "label": "First aired date8", "inherits": "first_aired" }, "last_aired8": { "label": "Last aired date8", "inherits": "last_aired" }, "related": { "label": "Related", "type": "wiki-page-name", "required": false, "suggested": false, "deprecated": false, "description": "Related TV shows, i.e. remakes, spin-offs, adaptations for different audiences, etc." } }, "format": "\nTemplate:\n\n", "paramOrder": [ "italic_title", "name", "image", "image_size", "image_upright", "image_alt", "caption", "image_class", "alt_name", "native_name", "genre", "creator", "based_on", "inspired_by", "developer", "showrunner", "writer", "screenplay", "story", "director", "creative_director", "presenter", "starring", "judges", "voices", "narrator", "announcer", "theme_music_composer", "music", "open_theme", "end_theme", "composer", "country", "language", "num_seasons", "num_episodes", "list_episodes", "executive_producer", "producer", "news_editor", "location", "cinematography", "animator", "editor", "camera", "runtime", "company", "budget", "network", "released", "first_aired", "last_aired", "network2", "released2", "first_aired2", "last_aired2", "network3", "released3", "first_aired3", "last_aired3", "network4", "released4", "first_aired4", "last_aired4", "network5", "released5", "first_aired5", "last_aired5", "network6", "released6", "first_aired6", "last_aired6", "network7", "released7", "first_aired7", "last_aired7", "network8", "released8", "first_aired8", "last_aired8", "related" ] } </templatedata> |
Example
{{safesubst:#switch:
{{safesubst:#if:
| {{{demospace}}}
| {{safesubst:#ifeq:Template|
| main
| other
}}
}}
| main = Template:Infobox television/Short description | other | #default = }}
| House | |
|---|---|
| File:House logo.svg | |
| Also known as | House, M.D. |
| Genre | }} |
| Created by | David Shore |
| Showrunner | David Shore |
| Starring | }} |
| Opening theme | |
| Composers | {{safesubst:#if:
}}
|
|
| Country of origin | United States |
| Original language | English |
| No. of {{#if: 8 | seasons | series }} | 8 |
| {{#ifeq: Infobox television | Doctor Who | No. of series }} | {{#ifeq: Infobox television | Doctor Who | }} |
| No. of {{#if: | specials | episodes }} | 177 {{#if: List of House episodes | (list of episodes) }} {{#ifeq:List of House episodes | #Episodes | |}} |
| Production | |
| Executive producers | {{safesubst:#if:
}}
|
|
| Cinematography | {{safesubst:#if:
}}
|
|
| Running time | 41–49 minutes |
| Production companies | }} |
| Original release | |
| Network | Fox |
| Release | November 16, 2004 – May 21, 2012 |
| Related | |
| }} | |
{{#if:
| {{{demospace}}}
| {{#ifeq:Template|Template
| template
| other
}}
}}
| template = {{#ifeq:Infobox television|Infobox||{{#ifeq:Infobox|Infobox|}}}} | other | #default = }}{{safesubst:#switch:
{{safesubst:#if:
| {{{demospace}}}
| {{safesubst:#ifeq:Template|
| main
| other
}}
}}
| main = {{#ifeq:List of House episodes | #Episodes | }} | other | #default = }}{{safesubst:#switch:
{{safesubst:#if:
| {{{demospace}}}
| {{safesubst:#ifeq:Template|
| main
| other
}}
}}
| main = | other | #default = }}{{safesubst:#switch:
{{safesubst:#if:
| {{{demospace}}}
| {{safesubst:#ifeq:Template|
| main
| other
}}
}}
| main = Script error: No such module "Infobox television disambiguation check". | other | #default = }}
<syntaxhighlight lang="wikitext" style="overflow: auto;"> {{safesubst:#switch:
{{safesubst:#if:
| {{{demospace}}}
| {{safesubst:#ifeq:Template|
| main
| other
}}
}}
| main = Template:Infobox television/Short description | other | #default = }} Lua error in package.lua at line 80: module 'Module:Italic title' not found.{{#switch:
{{#if:
| {{{demospace}}}
| {{#ifeq:Template|Template
| template
| other
}}
}}
| template = {{#ifeq:Infobox television|Infobox||{{#ifeq:Infobox|Infobox|}}}} | other | #default = }}{{safesubst:#switch:
{{safesubst:#if:
| {{{demospace}}}
| {{safesubst:#ifeq:Template|
| main
| other
}}
}}
| main = {{#ifeq:List of House episodes | #Episodes | }} | other | #default = }}{{safesubst:#switch:
{{safesubst:#if:
| {{{demospace}}}
| {{safesubst:#ifeq:Template|
| main
| other
}}
}}
| main = | other | #default = }}{{safesubst:#switch:
{{safesubst:#if:
| {{{demospace}}}
| {{safesubst:#ifeq:Template|
| main
| other
}}
}}
| main = Script error: No such module "Infobox television disambiguation check". | other | #default = }} </syntaxhighlight>
Microformat
The HTML mark-up produced by this template includes {{#if: |{{{type}}} |an hCalendar microformat}} that makes event details readily parsable by computer programs. This aids tasks such as the cataloguing of articles and maintenance of databases. For more information about the use of microformats on Wikipedia, please visit the Microformat WikiProject.{{#if:{{#if:{{{hide_subtemplates}}} |}}
|- Subtemplates
{{#if:{{{hide_subtemplates}}} |}}
Please do not remove instances of these subtemplates.
{{{subsection1}}}
- Classes used
The HTML classes of this microformat include:
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
nor collapse nested elements which use them}}. | Please do not rename or remove these classes{{#if:on |
nor collapse nested elements which use them}}. | <div style="}}display: inline-block; line-height: 1.2em; padding: .1em 0; {{#ifeq: Please do not rename or remove these classes{{#if:on |
nor collapse nested elements which use them}}. | Please do not rename or remove these classes{{#if:on |
nor collapse nested elements which use them}}. | line-height:1.3em">Please do not rename or remove these classes{{#if:on |
nor collapse nested elements which use them}}.
Tracking categories
<section begin=Tracking/>
- {{#if:|{{{name}}}|Category:Pages using infobox television with flag icon}} (0)
- {{#if:|{{{name}}}|Category:Pages using infobox television with image-related values without an image}} (0)
- {{#if:|{{{name}}}|Category:Pages using infobox television with incorrectly formatted values}} (0)
- {{#if:|{{{name}}}|Category:Pages using infobox television with list episodes parameter using self-link}} (2)
- {{#if:|{{{name}}}|Category:Pages using infobox television with non-matching title}} (1)
- {{#if:|{{{name}}}|Category:Pages using infobox television with manual displaytitle}} (0)
- {{#if:|{{{name}}}|Category:Pages using infobox television with missing dates}} (2)
- {{#if:|{{{name}}}|Category:Pages using infobox television with nonstandard dates}} (0)
- {{#if:|{{{name}}}|Category:Pages using infobox television with unknown parameters}} (0)
- {{#if:|{{{name}}}|Category:Pages using infobox television with unlinked values}} (0)
- {{#if:|{{{name}}}|Category:Pages using infobox television with unnecessary manual displaytitle}} (0)
- {{#if:|{{{name}}}|Category:Pages using infobox television with unnecessary name parameter}} (0)
- {{#if:|{{{name}}}|Category:Television articles with incorrect naming style}} (0)
<section end=Tracking/>
{{safesubst:#if:{{safesubst:#ifeq:Infobox|sandbox|1}}{{safesubst:#ifeq:Infobox television|doc|1}}||
}}
- Pages with script errors
- Infobox templates
- Pages using infobox television with list episodes parameter using self-link
- Pages using infobox television with missing dates
- Pages with broken file links
- Documentation subpages without corresponding pages
- Templates using TemplateData
- Pages using Module:Date time with invalid values
- Pages using infobox television with non-matching title
- Pages using Template:Longitem with unnamed style parameter
- Templates generating hCalendars
- Television infobox templates
- Infobox templates using Wikidata
- Templates that add a tracking category