WikiPartner (talk | contribs) Creating Template:Infobox TV show |
WikiPartner (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly>{{#if:{{{image|}}}|{{#setmainimage:{{{image}}}}}}}<div class="wp-infobox"> | ||
{{#if:{{{image|}}}|{{#setmainimage:{{{image}}}}}}} | |||
<div class="wp-infobox"> | |||
<div class="wp-infobox-header"> | <div class="wp-infobox-header"> | ||
| Line 9: | Line 5: | ||
{{#if:{{{genre|}}}|<div class="wp-infobox-subtitle">{{{genre}}}</div>}} | {{#if:{{{genre|}}}|<div class="wp-infobox-subtitle">{{{genre}}}</div>}} | ||
</div> | </div> | ||
{{#if:{{{image|}}}| | {{#if:{{{image|}}}| | ||
<div class="wp-infobox-image"> | <div class="wp-infobox-image" style="padding:12px 14px 0 !important;box-sizing:border-box;"> | ||
[[File:{{{image}}}|320px|alt={{{image_alt|{{{name|{{PAGENAME}}}}}}}}]] | [[File:{{{image}}}|320px|alt={{{image_alt|{{{alt|Poster or promotional image for {{{name|{{PAGENAME}}}}}}}}}}}]] | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{caption|}}}| | {{#if:{{{caption|}}}| | ||
<div class="wp-infobox-caption">{{{caption}}}</div> | <div class="wp-infobox-caption">{{{caption}}}</div> | ||
}} | }} | ||
<div class="wp-infobox-data"> | <div class="wp-infobox-data"> | ||
{{#if:{{{native_name|}}}| | {{#if:{{{native_name|}}}| | ||
| Line 34: | Line 24: | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{other_name|}}}| | {{#if:{{{other_name|}}}| | ||
| Line 50: | Line 31: | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{genre|}}}| | {{#if:{{{genre|}}}| | ||
| Line 58: | Line 38: | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{created_by|}}}| | {{#if:{{{created_by|}}}| | ||
| Line 67: | Line 46: | ||
}} | }} | ||
{{#if:{{{based_on|}}}| | |||
<div class="wp-infobox-row"> | |||
<div class="wp-infobox-label">Based on</div> | |||
<div class="wp-infobox-value">{{{based_on}}}</div> | |||
</div> | |||
}} | |||
{{#if:{{{developed_by|}}}| | {{#if:{{{developed_by|}}}| | ||
| Line 75: | Line 60: | ||
}} | }} | ||
{{#if:{{{written_by|}}}| | |||
{{#if:{{{ | |||
<div class="wp-infobox-row"> | <div class="wp-infobox-row"> | ||
<div class="wp-infobox-label"> | <div class="wp-infobox-label">Written by</div> | ||
<div class="wp-infobox-value">{{{ | <div class="wp-infobox-value">{{{written_by}}}</div> | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{directed_by|}}}| | |||
{{#if:{{{ | |||
<div class="wp-infobox-row"> | <div class="wp-infobox-row"> | ||
<div class="wp-infobox-label"> | <div class="wp-infobox-label">Directed by</div> | ||
<div class="wp-infobox-value">{{{ | <div class="wp-infobox-value">{{{directed_by}}}</div> | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{starring|}}}| | {{#if:{{{starring|}}}| | ||
| Line 98: | Line 80: | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{narrated_by|}}}| | {{#if:{{{narrated_by|}}}| | ||
| Line 106: | Line 87: | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{composer|}}}| | {{#if:{{{composer|}}}| | ||
| Line 123: | Line 95: | ||
}} | }} | ||
{{#if:{{{theme_music_composer|}}}| | |||
{{#if:{{{ | |||
<div class="wp-infobox-row"> | <div class="wp-infobox-row"> | ||
<div class="wp-infobox-label"> | <div class="wp-infobox-label">Theme music</div> | ||
<div class="wp-infobox-value">{{{ | <div class="wp-infobox-value">{{{theme_music_composer}}}</div> | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{country|}}}| | {{#if:{{{country|}}}| | ||
| Line 178: | Line 108: | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{language|}}}| | {{#if:{{{language|}}}| | ||
| Line 187: | Line 116: | ||
}} | }} | ||
{{#if:{{{number_of_seasons|}}}| | |||
{{#if:{{{ | |||
<div class="wp-infobox-row"> | <div class="wp-infobox-row"> | ||
<div class="wp-infobox-label">Seasons</div> | <div class="wp-infobox-label">Seasons</div> | ||
<div class="wp-infobox-value">{{{ | <div class="wp-infobox-value">{{{number_of_seasons}}}</div> | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{number_of_episodes|}}}| | |||
{{#if:{{{ | |||
<div class="wp-infobox-row"> | <div class="wp-infobox-row"> | ||
<div class="wp-infobox-label">Episodes</div> | <div class="wp-infobox-label">Episodes</div> | ||
<div class="wp-infobox-value">{{{ | <div class="wp-infobox-value">{{{number_of_episodes}}}</div> | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{runtime|}}}| | {{#if:{{{runtime|}}}| | ||
| Line 235: | Line 137: | ||
}} | }} | ||
{{#if:{{{executive_producer|}}}| | |||
{{#if:{{{ | |||
<div class="wp-infobox-row"> | <div class="wp-infobox-row"> | ||
<div class="wp-infobox-label"> | <div class="wp-infobox-label">Executive producer</div> | ||
<div class="wp-infobox-value">{{{ | <div class="wp-infobox-value">{{{executive_producer}}}</div> | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{producer|}}}| | |||
{{#if:{{{ | |||
<div class="wp-infobox-row"> | <div class="wp-infobox-row"> | ||
<div class="wp-infobox-label"> | <div class="wp-infobox-label">Producer</div> | ||
<div class="wp-infobox-value">{{{ | <div class="wp-infobox-value">{{{producer}}}</div> | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{production_company|}}}| | |||
{{#if:{{{ | |||
<div class="wp-infobox-row"> | <div class="wp-infobox-row"> | ||
<div class="wp-infobox-label"> | <div class="wp-infobox-label">Production company</div> | ||
<div class="wp-infobox-value">{{{ | <div class="wp-infobox-value">{{{production_company}}}</div> | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{distributor|}}}| | |||
{{#if:{{{ | |||
<div class="wp-infobox-row"> | <div class="wp-infobox-row"> | ||
<div class="wp-infobox-label"> | <div class="wp-infobox-label">Distributor</div> | ||
<div class="wp-infobox-value">{{{ | <div class="wp-infobox-value">{{{distributor}}}</div> | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{network|}}}| | |||
{{#if:{{{ | |||
<div class="wp-infobox-row"> | <div class="wp-infobox-row"> | ||
<div class="wp-infobox-label"> | <div class="wp-infobox-label">Network</div> | ||
<div class="wp-infobox-value"> | <div class="wp-infobox-value">{{{network}}}</div> | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{first_aired|}}}| | |||
{{# | |||
| | |||
}} | |||
| | |||
<div class="wp-infobox-row"> | <div class="wp-infobox-row"> | ||
<div class="wp-infobox-label">First aired</div> | <div class="wp-infobox-label">First aired</div> | ||
<div class="wp-infobox-value"> | <div class="wp-infobox-value">{{{first_aired}}}</div> | ||
</div> | </div> | ||
}} | }} | ||
{{#if:{{{last_aired|}}}| | |||
<div class="wp-infobox-row"> | <div class="wp-infobox-row"> | ||
<div class="wp-infobox-label">Last aired</div> | <div class="wp-infobox-label">Last aired</div> | ||
<div class="wp-infobox-value"> | <div class="wp-infobox-value">{{{last_aired}}}</div> | ||
</div> | </div> | ||
}} | |||
{{#if:{{{status|}}}| | |||
<div class="wp-infobox-row"> | <div class="wp-infobox-row"> | ||
<div class="wp-infobox-label"> | <div class="wp-infobox-label">Status</div> | ||
<div class="wp-infobox-value"> | <div class="wp-infobox-value">{{{status}}}</div> | ||
</div> | </div> | ||
}} | |||
{{#if:{{{related|}}}| | |||
<div class="wp-infobox-row"> | <div class="wp-infobox-row"> | ||
<div class="wp-infobox-label"> | <div class="wp-infobox-label">Related</div> | ||
<div class="wp-infobox-value"> | <div class="wp-infobox-value">{{{related}}}</div> | ||
</div> | </div> | ||
}} | |||
{{#if:{{{website|}}}| | |||
<div class="wp-infobox-row"> | <div class="wp-infobox-row"> | ||
<div class="wp-infobox-label"> | <div class="wp-infobox-label">Website</div> | ||
<div class="wp-infobox-value"> | <div class="wp-infobox-value">[{{{website}}} Official website]</div> | ||
</div> | </div> | ||
}} | }} | ||
</div> | </div> | ||
</div><!-- | |||
-->{{#wikipartner_tv_show_schema: | |||
name={{{name|{{PAGENAME}}}}} | |||
|image={{{image|}}} | |||
|genre={{{genre|}}} | |||
< | |created_by={{{created_by|}}} | ||
|based_on={{{based_on|}}} | |||
|starring={{{starring|}}} | |||
|country={{{country|}}} | |||
|language={{{language|}}} | |||
|number_of_seasons={{{number_of_seasons|}}} | |||
|number_of_episodes={{{number_of_episodes|}}} | |||
|runtime={{{runtime|}}} | |||
|production_company={{{production_company|}}} | |||
|network={{{network|}}} | |||
|first_aired={{{first_aired_iso|{{{first_aired|}}}}}} | |||
|last_aired={{{last_aired_iso|{{{last_aired|}}}}}} | |||
|status={{{status|}}} | |||
|website={{{website|}}} | |||
}}<!-- | |||
--></includeonly><noinclude> | |||
{{:Template:Infobox TV show/doc}} | |||
{ | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
} | |||
</ | |||
[[Category:WikiPartner infobox templates]] | [[Category:WikiPartner infobox templates]] | ||
[[Category:WikiPartner documentation]] | [[Category:WikiPartner documentation]] | ||
[[Category: | [[Category:Television templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 19:36, 6 September 2026
Infobox TV show is WikiPartner's standard infobox for television series, streaming series, limited series, miniseries, and other notable episodic television productions.
All parameters are optional. Add only information supported by reliable sources. Empty fields are automatically hidden.
Adding this template to an article also generates WikiPartner TVSeries structured data automatically. Editors do not need to create schema markup manually.
Short usage
Use this version for most television series articles.
{{Infobox TV show
| name =
| image =
| image_alt =
| caption =
| genre =
| created_by =
| starring =
| country =
| language =
| num_seasons =
| num_episodes =
| network =
| first_aired =
| last_aired =
| status =
| website =
}}
Full usage
Use this version when more information about the television series is available. Remove parameters that are not needed.
{{Infobox TV show
| name =
| original_name =
| image =
| image_alt =
| caption =
| genre =
| created_by =
| based_on =
| developed_by =
| written_by =
| directed_by =
| starring =
| narrated_by =
| theme_music_composer =
| composer =
| country =
| language =
| num_seasons =
| num_episodes =
| list_episodes =
| executive_producer =
| producer =
| cinematography =
| camera =
| runtime =
| production_company =
| distributor =
| network =
| first_aired =
| last_aired =
| status =
| related =
| website =
}}
Examples
The examples below show both the wikitext entered by an editor and the finished WikiPartner infobox.
Fantasy drama — Game of Thrones
Wikitext
{{Infobox TV show
| name = Game of Thrones
| genre = Fantasy drama
| created_by = David Benioff; D. B. Weiss
| based_on = ''A Song of Ice and Fire'' by George R. R. Martin
| starring = Sean Bean; Mark Addy; Nikolaj Coster-Waldau; Michelle Fairley; Lena Headey; Emilia Clarke; Kit Harington; Sophie Turner; Maisie Williams; Peter Dinklage
| composer = Ramin Djawadi
| country = United States
| language = English
| num_seasons = 8
| num_episodes = 73
| runtime = 50–82 minutes
| production_company = HBO Entertainment
| network = HBO
| first_aired = 17 April 2011
| last_aired = 19 May 2019
| status = Ended
}}
Rendered infobox
Crime drama — Breaking Bad
Wikitext
{{Infobox TV show
| name = Breaking Bad
| genre = Crime drama
| created_by = Vince Gilligan
| starring = Bryan Cranston; Anna Gunn; Aaron Paul; Dean Norris; Betsy Brandt; RJ Mitte; Bob Odenkirk; Giancarlo Esposito; Jonathan Banks
| country = United States
| language = English
| num_seasons = 5
| num_episodes = 62
| runtime = 43–60 minutes
| production_company = Sony Pictures Television
| network = AMC
| first_aired = 20 January 2008
| last_aired = 29 September 2013
| status = Ended
| related = ''Better Call Saul''
}}
Rendered infobox
South Korean thriller — Squid Game
Wikitext
{{Infobox TV show
| name = Squid Game
| original_name = 오징어 게임
| genre = Survival thriller; drama
| created_by = Hwang Dong-hyuk
| written_by = Hwang Dong-hyuk
| directed_by = Hwang Dong-hyuk
| starring = Lee Jung-jae; Lee Byung-hun; Wi Ha-jun
| country = South Korea
| language = Korean
| num_seasons = 3
| num_episodes = 22
| production_company = Siren Pictures
| network = Netflix
| first_aired = 17 September 2021
| last_aired = 27 June 2025
| status = Ended
}}
Rendered infobox
Usage notes
- Use
namefor the commonly recognized title of the television series. - Use
original_namewhen the original-language title is different from the commonly used article title. - Use
imagefor the main promotional image or title image filename only. Do not includeFile:.... - Use
image_altfor short alternative text describing the image. - Use
captiononly when the image needs a useful caption. - Use
genrefor the main genre or genres supported by reliable sources. - Use
created_byfor the credited creator or creators of the series. - Use
based_onwhen the television series is based on a book, film, character, franchise, or other existing work. - Use
developed_bywhen a separate television developer is formally credited. - Use
written_byonly when a small number of principal writers can be listed clearly. - Use
directed_bywhen principal directing credit is useful and supported. - Use
starringfor principal cast members rather than every actor who appeared in the series. - Use
narrated_bywhen the series has an officially credited narrator. - Use
theme_music_composerfor the person responsible for the theme music. - Use
composerfor the principal score composer or composers. - Use
countryfor the country or countries of origin. - Use
languagefor the original or principal language of the production. - Use
num_seasonsfor the total number of released seasons. - Use
num_episodesfor the total number of released episodes. - Use
list_episodesonly when a separate WikiPartner episode-list article exists. - Use
executive_producerandproduceronly for officially credited production roles. - Use
runtimefor the normal episode running time or a useful running-time range. - Use
production_companyfor the principal production company or companies. - Use
distributorwhen distribution information is notable and clearly documented. - Use
networkfor the original television network, channel, or streaming service. - Use
first_airedfor the original premiere date. - Use
last_airedfor the final original release or broadcast date when the series has ended. - Use
statusfor a simple current state such asOngoing,Ended, orCancelled. - Use
relatedfor directly related television productions when relevant. - Use
websiteonly for an official website. - Leave unused parameters out.
- Do not guess episode counts, cast, production companies, dates, networks, or other television information.
- Important information should be supported by reliable sources.
TemplateData
WikiPartner's standard infobox for television series, streaming series, limited series, miniseries, and other episodic television productions.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | Commonly recognized title of the television series. | String | optional |
| Original name | original_name | Original-language title when different from the commonly used title. | String | optional |
| Image | image | Main promotional, poster, or title image filename. | File | optional |
| Image alternative text | image_alt alt | Short alternative text describing the image. | String | optional |
| Image caption | caption | Short caption displayed below the image. | String | optional |
| Genre | genre | Main genre or genres of the television series. | String | optional |
| Created by | created_by | Creator or creators of the television series. | String | optional |
| Based on | based_on | Original work, book, film, character, or other source material on which the series is based. | String | optional |
| Developed by | developed_by | Person or people officially credited with developing the series for television. | String | optional |
| Written by | written_by | Principal credited writer or writers when appropriate. | String | optional |
| Directed by | directed_by | Principal credited director or directors when appropriate. | String | optional |
| Starring | starring | Principal cast members. | String | optional |
| Narrated by | narrated_by | Officially credited narrator or narrators. | String | optional |
| Theme music composer | theme_music_composer | Composer responsible for the television series theme music. | String | optional |
| Composer | composer | Principal composer or composers of the series score. | String | optional |
| Country of origin | country | Country or countries of origin of the television production. | String | optional |
| Original language | language | Original or principal language of the television series. | String | optional |
| Number of seasons | num_seasons | Total number of released seasons. | Number | optional |
| Number of episodes | num_episodes | Total number of released episodes. | Number | optional |
| Episode list | list_episodes | WikiPartner article containing a separate episode list when one exists. | String | optional |
| Executive producer | executive_producer | Officially credited executive producer or producers. | String | optional |
| Producer | producer | Officially credited producer or producers. | String | optional |
| Cinematography | cinematography | Principal cinematographer or cinematographers when relevant. | String | optional |
| Camera setup | camera | Production camera setup, such as single-camera or multi-camera. | String | optional |
| Running time | runtime | Typical running time or running-time range for episodes. | String | optional |
| Production company | production_company | Principal production company or companies. | String | optional |
| Distributor | distributor | Distributor of the television series when relevant. | String | optional |
| Original network | network | Original television network, channel, or streaming service. | String | optional |
| First aired | first_aired | Original premiere or first release date. | String | optional |
| Last aired | last_aired | Final original broadcast or release date when the series has ended. | String | optional |
| Status | status | Current status of the television series, such as Ongoing, Ended, or Cancelled. | String | optional |
| Related | related | Directly related television productions when relevant. | String | optional |
| Website | website | Official website for the television series. | URL | optional |