GaryJJSpate (talk | contribs) m GaryJJSpate moved page Template:ShowInfobox to Template:InfoboxTV |
GaryJJSpate (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><div class="vault-infobox"><div class="vault-infobox-header">{{{name}}}</div>{{#if:{{{image|}}}|<div class="vault-infobox-image">[[File:{{{image}}}|280px]]{{#if:{{{caption|}}}|<div class="vault-infobox-caption">{{{caption}}}</div>}}</div>}}{{#if:{{{type|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">TYPE</span><span class="vault-infobox-v">{{{type}}}</span></div>}}{{#if:{{{network|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">NETWORK</span><span class="vault-infobox-v">{{{network}}}</span></div>}}{{#if:{{{presenter|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">PRESENTER</span><span class="vault-infobox-v">{{{presenter}}}</span></div>}}{{#if:{{{first_aired|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">FIRST AIRED</span><span class="vault-infobox-v">{{{first_aired}}}</span></div>}}{{#if:{{{status|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">STATUS</span><span class="vault-infobox-v vault-infobox-status">{{{status}}}</span></div>}}</div></includeonly><noinclude> | <includeonly><div class="vault-infobox"><div class="vault-infobox-header">{{{name}}}</div>{{#if:{{{image|}}}|<div class="vault-infobox-image">[[File:{{{image}}}|280px]]{{#if:{{{caption|}}}|<div class="vault-infobox-caption">{{{caption}}}</div>}}</div>}}{{#if:{{{type|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">TYPE</span><span class="vault-infobox-v">{{{type}}}</span></div>}}{{#if:{{{network|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">NETWORK</span><span class="vault-infobox-v">{{{network}}}</span></div>}}{{#if:{{{presenter|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">PRESENTER</span><span class="vault-infobox-v">{{{presenter}}}</span></div>}}{{#if:{{{first_aired|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">FIRST AIRED</span><span class="vault-infobox-v">{{{first_aired}}}</span></div>}}{{#if:{{{status|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">STATUS</span><span class="vault-infobox-v vault-infobox-status">{{{status}}}</span></div>}}</div></includeonly><noinclude> | ||
== Template: | == Template:InfoboxTV == | ||
Renders the right-hand infobox card on a page about a TV series or similar production — as distinct from a person ({{tl| | Renders the right-hand infobox card on a page about a TV series or similar production — as distinct from a person ({{tl|InfoboxPerson}}), a place ({{tl|InfoboxCase}} as a Hub Page), or a phenomenon ({{tl|InfoboxPhenomenon}}). | ||
Formerly named '''Template:ShowInfobox''' — that name now redirects here. Please use <code>{{tl|InfoboxTV}}</code> going forward. | |||
'''Note:''' requires the ParserFunctions extension for the <code>{{#if:}}</code> conditionals, same as the other infoboxes. | '''Note:''' requires the ParserFunctions extension for the <code>{{#if:}}</code> conditionals, same as the other infoboxes. | ||
'''Formatting note:''' the entire template body is written as one unbroken line, with no line breaks between rows. Splitting rows across multiple lines causes MediaWiki to wrap them in stray <code><p></code> tags, breaking the layout; leaving line breaks between rows (even with each row correctly on one line) causes blank fields to leave visible gaps. Keep any future edits to this template on one continuous line. (This template's previous version had the second issue — rows were individually well-formed but separated by blank lines.) | '''Formatting note:''' the entire template body is written as one unbroken line, with no line breaks between rows. Splitting rows across multiple lines causes MediaWiki to wrap them in stray <code><p></code> tags, breaking the layout; leaving line breaks between rows (even with each row correctly on one line) causes blank fields to leave visible gaps. Keep any future edits to this template on one continuous line. (This template's previous version had the second issue — rows were individually well-formed but separated by blank lines.) | ||
'''Usage:''' | '''Usage:''' | ||
<pre> | <pre> | ||
{{ | {{InfoboxTV | ||
|name=Most Haunted | |name=Most Haunted | ||
|image=Example.jpg | |image=Example.jpg | ||
| Line 21: | Line 19: | ||
</pre> | </pre> | ||
Place at the very top of the page, before the article text. | Place at the very top of the page, before the article text. | ||
=== Parameters === | === Parameters === | ||
* '''name''' — required | * '''name''' — required | ||
| Line 31: | Line 28: | ||
* '''first_aired''' — recommended | * '''first_aired''' — recommended | ||
* '''status''' — recommended. e.g. Ongoing, Ended, On hiatus | * '''status''' — recommended. e.g. Ongoing, Ended, On hiatus | ||
[[Category:Infoboxes]] | |||
[[Category: | |||
</noinclude> | </noinclude> | ||
Revision as of 00:26, 4 August 2026
Template:InfoboxTV
Renders the right-hand infobox card on a page about a TV series or similar production — as distinct from a person ({{InfoboxPerson}}), a place ({{InfoboxCase}} as a Hub Page), or a phenomenon ({{InfoboxPhenomenon}}).
Formerly named Template:ShowInfobox — that name now redirects here. Please use going forward.
Note: requires the ParserFunctions extension for the {{InfoboxTV}} conditionals, same as the other infoboxes.
Formatting note: the entire template body is written as one unbroken line, with no line breaks between rows. Splitting rows across multiple lines causes MediaWiki to wrap them in stray <p> tags, breaking the layout; leaving line breaks between rows (even with each row correctly on one line) causes blank fields to leave visible gaps. Keep any future edits to this template on one continuous line. (This template's previous version had the second issue — rows were individually well-formed but separated by blank lines.)
Usage:
{{InfoboxTV
|name=Most Haunted
|image=Example.jpg
|caption=Optional image caption
|type=Paranormal documentary / reality series
|network=Living (2002–2010), Really (2014–2019)
|presenter=Yvette Fielding
|first_aired=25 May 2002
|status=Ended
}}
Place at the very top of the page, before the article text.
Parameters
- name — required
- image — optional. Filename of an uploaded image (without
File:) - caption — optional. Caption shown below the image. If the image is AI-generated, the caption must say so explicitly per the Copyrights policy
- type — recommended
- network — recommended. List multiple eras if the show moved channel
- presenter — recommended
- first_aired — recommended
- status — recommended. e.g. Ongoing, Ended, On hiatus
