GaryJJSpate (talk | contribs) Created page with "<includeonly><div class="vault-infobox"> <div class="vault-infobox-header">{{{name}}}</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..." |
GaryJJSpate (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><div class="vault-infobox"> | <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> | ||
<div class="vault-infobox-header">{{{name}}}</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:ShowInfobox == | == Template:ShowInfobox == | ||
Renders the right-hand infobox card on a page about a TV series or similar production — as distinct from a person ({{tl|PersonInfobox}}), a place ({{tl|CaseInfobox}} as a Hub Page), or a phenomenon ({{tl|PhenomenonInfobox}}). | Renders the right-hand infobox card on a page about a TV series or similar production — as distinct from a person ({{tl|PersonInfobox}}), a place ({{tl|CaseInfobox}} as a Hub Page), or a phenomenon ({{tl|PhenomenonInfobox}}). | ||
'''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.) | |||
'''Usage:''' | '''Usage:''' | ||
| Line 16: | Line 11: | ||
{{ShowInfobox | {{ShowInfobox | ||
|name=Most Haunted | |name=Most Haunted | ||
|image=Example.jpg | |||
|caption=Optional image caption | |||
|type=Paranormal documentary / reality series | |type=Paranormal documentary / reality series | ||
|network=Living (2002–2010), Really (2014–2019) | |network=Living (2002–2010), Really (2014–2019) | ||
| Line 23: | Line 20: | ||
}} | }} | ||
</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 | ||
* '''image''' — optional. Filename of an uploaded image (without <code>File:</code>) | |||
* '''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 | * '''type''' — recommended | ||
* '''network''' — recommended. List multiple eras if the show moved channel | * '''network''' — recommended. List multiple eras if the show moved channel | ||
| Line 33: | Line 31: | ||
* '''first_aired''' — recommended | * '''first_aired''' — recommended | ||
* '''status''' — recommended. e.g. Ongoing, Ended, On hiatus | * '''status''' — recommended. e.g. Ongoing, Ended, On hiatus | ||
[[Category:Vault Templates]] | [[Category:Vault Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 14:20, 31 July 2026
Template:ShowInfobox
Renders the right-hand infobox card on a page about a TV series or similar production — as distinct from a person ({{PersonInfobox}}), a place ({{CaseInfobox}} as a Hub Page), or a phenomenon ({{PhenomenonInfobox}}).
Note: requires the ParserFunctions extension for the 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:
{{ShowInfobox
|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
