Jump to content

Template:Infobox television/doc

From Wikihoc

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

        }}{{#if:|
         |{{#ifexist:Template:Infobox television
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  | 
                 }}
        }}
    | 
   }}

{{safesubst:#ifeq:doc|Infobox television|[[Category:Templates that generate short descriptions{{#if:|Template:Spfor {{{category}}}|}}]]|}}

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/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | 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/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | 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
Infobox television parameters and basic guidelines
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.
  • screenplay
  • teleplay
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.
  • presenter
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.
  • num_seasons
  • num_series
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.
  • num_episodes
  • num_specials
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.
  • Do not use a link (i.e. do not include [[ ]])
  • Do not enter the number of episodes here, use |{{SAFESUBST:#if:num_episodes|num_episodes=}} for that
  • Do not link to sections in the article (i.e. do not use #Episodes) per MOS:INFOBOXPURPOSE
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

|
|

}}}}

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 asHouse, M.D.
Genre}}
Created byDavid Shore
ShowrunnerDavid Shore
Starring}}
Opening theme
Composers
{{safesubst:#if:
  • Jason Derlatka
  • Jon Ehrlich

|

  • Jason Derlatka
  • Jon Ehrlich
}}
Country of originUnited States
Original languageEnglish
No. of {{#if: 8 | seasons | series }}8
{{#ifeq: Infobox television/doc | Doctor Who | No. of series }}{{#ifeq: Infobox television/doc | 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}}
Cinematography
{{safesubst:#if:

|

}}
Running time41–49 minutes
Production companies}}
Original release
NetworkFox
ReleaseNovember 16, 2004 (2004-11-16) –
May 21, 2012 (2012-05-21)
Related
}}

{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Template
   | template
   | other
   }}
 }}

| template = {{#ifeq:Infobox television/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | 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/doc|Infobox||{{#ifeq:docdocd|Infobox|[[Category:Infobox templates|]]}}}} | 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.

}}{{#if: |

{{{subsection1}}}

}}{{#if:attendee |

Classes used

The HTML classes of this microformat include:

  • attendee
  • contact
  • description
  • dtend
  • dtstart
  • location
  • organiser
  • summary
  • url
  • vevent

{{#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}}.
| <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}}.
| width: 100%; }}{{#if:|}}}}{{#ifeq:doc|doc | |{{#ifeq:doc|sandbox | |}} }}

Tracking categories

<section begin=Tracking/>

<section end=Tracking/>