GaryJJSpate (talk | contribs) Created page with "<includeonly><div class="vault-infobox"> <div class="vault-infobox-header">{{{name}}}</div> {{#if:{{{director|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">DIRECTOR</span><span class="vault-infobox-v">{{{director}}}</span></div>}} {{#if:{{{studio|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">STUDIO</span><span class="vault-infobox-v">{{{studio}}}</span></div>}} {{#if:{{{release_date|}}}|<div class="vault-infobox-row"><span class="vau..." |
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:{{{director|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">DIRECTOR</span><span class="vault-infobox-v">{{{director}}}</span></div>}}{{#if:{{{studio|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">STUDIO</span><span class="vault-infobox-v">{{{studio}}}</span></div>}}{{#if:{{{release_date|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">RELEASE DATE</span><span class="vault-infobox-v">{{{release_date}}}</span></div>}}{{#if:{{{genre|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">GENRE</span><span class="vault-infobox-v">{{{genre}}}</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:{{{director|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">DIRECTOR</span><span class="vault-infobox-v">{{{director}}}</span></div>}} | |||
{{#if:{{{studio|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">STUDIO</span><span class="vault-infobox-v">{{{studio}}}</span></div>}} | |||
{{#if:{{{release_date|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">RELEASE DATE</span><span class="vault-infobox-v">{{{release_date}}}</span></div>}} | |||
{{#if:{{{genre|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">GENRE</span><span class="vault-infobox-v">{{{genre}}}</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:FilmInfobox == | == Template:FilmInfobox == | ||
Renders the right-hand infobox card on a page about a film — as distinct from a TV series ({{tl|ShowInfobox}}) or book ({{tl|BookInfobox}}). | Renders the right-hand infobox card on a page about a film — as distinct from a TV series ({{tl|ShowInfobox}}) or book ({{tl|BookInfobox}}). | ||
'''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: | ||
{{FilmInfobox | {{FilmInfobox | ||
|name=Ghostbusters | |name=Ghostbusters | ||
|image=Example.jpg | |||
|caption=Optional image caption | |||
|director=Ivan Reitman | |director=Ivan Reitman | ||
|studio=Columbia Pictures | |studio=Columbia Pictures | ||
| 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 | |||
* '''director''' — recommended | * '''director''' — recommended | ||
* '''studio''' — recommended | * '''studio''' — recommended | ||
| Line 33: | Line 31: | ||
* '''genre''' — recommended | * '''genre''' — recommended | ||
* '''status''' — optional. e.g. Standalone, Franchise ongoing | * '''status''' — optional. e.g. Standalone, Franchise ongoing | ||
[[Category:Vault Templates]] | [[Category:Vault Templates]] | ||
</noinclude> | </noinclude> | ||
Revision as of 18:42, 1 August 2026
Template:FilmInfobox
Renders the right-hand infobox card on a page about a film — as distinct from a TV series ({{ShowInfobox}}) or book ({{BookInfobox}}).
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:
{{FilmInfobox
|name=Ghostbusters
|image=Example.jpg
|caption=Optional image caption
|director=Ivan Reitman
|studio=Columbia Pictures
|release_date=8 June 1984
|genre=Supernatural comedy
|status=Franchise ongoing
}}
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
- director — recommended
- studio — recommended
- release_date — recommended
- genre — recommended
- status — optional. e.g. Standalone, Franchise ongoing
