GaryJJSpate (talk | contribs) No edit summary |
GaryJJSpate (talk | contribs) No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| 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:{{{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> | <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:{{{writer|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">WRITER</span><span class="vault-infobox-v">{{{writer}}}</span></div>}}{{#if:{{{based_on|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">BASED ON</span><span class="vault-infobox-v">{{{based_on}}}</span></div>}}{{#if:{{{starring|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">STARRING</span><span class="vault-infobox-v">{{{starring}}}</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:{{{distributor|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">DISTRIBUTOR</span><span class="vault-infobox-v">{{{distributor}}}</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:{{{runtime|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">RUNTIME</span><span class="vault-infobox-v">{{{runtime}}}</span></div>}}{{#if:{{{budget|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">BUDGET</span><span class="vault-infobox-v">{{{budget}}}</span></div>}}{{#if:{{{box_office|}}}|<div class="vault-infobox-row"><span class="vault-infobox-k">BOX OFFICE</span><span class="vault-infobox-v">{{{box_office}}}</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: | == Template:InfoboxMovie == | ||
Renders the right-hand infobox card on a page about a film — as distinct from a TV series ({{tl| | Renders the right-hand infobox card on a page about a film — as distinct from a TV series ({{tl|InfoboxShow}}) or book ({{tl|InfoboxBook}}). | ||
Formerly named '''Template:FilmInfobox''' — that name now redirects here. Please use <code>{{tl|InfoboxMovie}}</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> | ||
{{ | {{InfoboxMovie | ||
|name=Ghostbusters | |name=Ghostbusters | ||
|image=Example.jpg | |image=Example.jpg | ||
|caption=Optional image caption | |caption=Optional image caption | ||
|director=Ivan Reitman | |director=Ivan Reitman | ||
|writer=Dan Aykroyd, Harold Ramis | |||
|based_on=Optional — original story, novel, or prior work | |||
|starring=Bill Murray, Dan Aykroyd, Sigourney Weaver | |||
|studio=Columbia Pictures | |studio=Columbia Pictures | ||
|distributor=Columbia Pictures | |||
|release_date=8 June 1984 | |release_date=8 June 1984 | ||
|runtime=105 minutes | |||
|budget=$30 million | |||
|box_office=$295 million | |||
|genre=Supernatural comedy | |genre=Supernatural comedy | ||
|status=Franchise ongoing | |status=Franchise ongoing | ||
| Line 21: | Line 26: | ||
</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 27: | Line 31: | ||
* '''caption''' — optional. Caption shown below the image. If the image is AI-generated, the caption must say so explicitly per the Copyrights policy | * '''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 | ||
* '''writer''' — optional. Screenwriter(s), if distinct from director | |||
* '''based_on''' — optional. The novel, short story, or other prior work the film adapts, if any | |||
* '''starring''' — optional. Principal cast | |||
* '''studio''' — recommended | * '''studio''' — recommended | ||
* '''distributor''' — optional. If different from the producing studio | |||
* '''release_date''' — recommended | * '''release_date''' — recommended | ||
* '''runtime''' — optional | |||
* '''budget''' — optional | |||
* '''box_office''' — optional | |||
* '''genre''' — recommended | * '''genre''' — recommended | ||
* '''status''' — optional. e.g. Standalone, Franchise ongoing | * '''status''' — optional. e.g. Standalone, Franchise ongoing | ||
[[Category:Vault Templates]] | [[Category:Vault Templates]] | ||
[[Category:Infoboxes]] | |||
</noinclude> | </noinclude> | ||
Latest revision as of 19:20, 3 August 2026
Template:InfoboxMovie
Renders the right-hand infobox card on a page about a film — as distinct from a TV series ({{InfoboxShow}}) or book ({{InfoboxBook}}).
Formerly named Template:FilmInfobox — that name now redirects here. Please use going forward.
Note: requires the ParserFunctions extension for the {{InfoboxMovie}} 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:
{{InfoboxMovie
|name=Ghostbusters
|image=Example.jpg
|caption=Optional image caption
|director=Ivan Reitman
|writer=Dan Aykroyd, Harold Ramis
|based_on=Optional — original story, novel, or prior work
|starring=Bill Murray, Dan Aykroyd, Sigourney Weaver
|studio=Columbia Pictures
|distributor=Columbia Pictures
|release_date=8 June 1984
|runtime=105 minutes
|budget=$30 million
|box_office=$295 million
|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
- writer — optional. Screenwriter(s), if distinct from director
- based_on — optional. The novel, short story, or other prior work the film adapts, if any
- starring — optional. Principal cast
- studio — recommended
- distributor — optional. If different from the producing studio
- release_date — recommended
- runtime — optional
- budget — optional
- box_office — optional
- genre — recommended
- status — optional. e.g. Standalone, Franchise ongoing
