Wikia

Harry Potter Wiki

Changes: Template:Film infobox

View source

Back to page

m
(Redesign)
Line 1: Line 1:
<table border="0" cellspacing="0" cellpadding="4" style="float:right; margin:0 0 .5em 1em; width:250px; background:#fff; border-collapse:collapse; border:1px solid #000000; font-size:smaller; line-height:1.5; ">
+
<div id="Film_infobox" class="infobox hidable" style="padding: 0px; {{#if:{{{width|}}}|width:{{{width}}};|}}">
<tr style="text-align:center; background:#f0f0f0;">
+
{| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" style="border-width: 0px"
<td colspan="2" style="padding:0; background:{{#if:{{{bgcolor1|}}}|{{{bgcolor1}}}|#999999}}; color:#fff;">{{{image|}}}</td>
+
|-
</tr><tr style="color:#fff; background:{{#if:{{{bgcolor1|}}}|{{{bgcolor1}}}|#999999}}; font-size:larger;">
+
| class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|{{#if:{{#if:{{{bgcolor1|}}}|{{{bgcolor1}}}|999999}}|background: #{{#if:{{{bgcolor1|}}}|{{{bgcolor1}}}|999999}}|background: #999999}}}}" | {{{image|}}}
<th colspan="2">{{{name}}}</th>
+
|-
</tr> {{t|1=|1{{{hidef|}}}=<tr><th colspan="2" style="text-align:left; font-weight:normal; background:{{#if:{{{bgcolor2|}}}|{{{bgcolor2}}}|#CCCCCC}};">'''Film information'''</th></tr>}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Director(s)'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
! class="infoboxheading" colspan="2" style="{{#if:{{#if:{{{bgcolor1|}}}|{{{bgcolor1}}}|999999}}|background: #{{#if:{{{bgcolor1|}}}|{{{bgcolor1}}}|999999}}|background: #999999}}; {{{css|}}}" | {{{{{{2|name}}}}}}
  +
{{#if:{{{hidef|}}}|{{!}}-|{{!}}-
  +
! class="infoboxsubheading" colspan="2" style="background: #{{#if:{{{bgcolor2|}}}|{{{bgcolor2}}}|CCCCCC}}" {{!}} '''Film&nbsp;information'''}}
  +
{{#if:{{{director|}}}|
  +
{{!}}-
  +
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Director(s)
  +
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{director|}}}
 
{{{director|}}}
</td></tr>|1{{{director|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Producer(s)'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
{{!}}-
  +
|}}{{#if:{{{producer|}}}|
  +
{{!}}-
  +
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Producer(s)
  +
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{producer|}}}
 
{{{producer|}}}
</td></tr>|1{{{producer|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Writer(s)'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
{{!}}-
  +
|}}{{#if:{{{writer|}}}|
  +
{{!}}-
  +
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Writer(s)
  +
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{writer|}}}
 
{{{writer|}}}
</td></tr>|1{{{writer|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Starring'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
{{!}}-
  +
|}}{{#if:{{{starring|}}}|
  +
{{!}}-
  +
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Starring
  +
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{starring|}}}
 
{{{starring|}}}
</td></tr>|1{{{starring|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Music by'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
{{!}}-
  +
|}}{{#if:{{{music|}}}|
  +
{{!}}-
  +
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Music&nbsp;by
  +
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{music|}}}
 
{{{music|}}}
</td></tr>|1{{{music|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Distributor(s)'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
{{!}}-
  +
|}}{{#if:{{{distributor|}}}|
  +
{{!}}-
  +
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Distributor(s)
  +
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{distributor|}}}
 
{{{distributor|}}}
</td></tr>|1{{{distributor|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Release Date(s)'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
{{!}}-
  +
|}}{{#if:{{{release|}}}|
  +
{{!}}-
  +
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Release&nbsp;date(s)
  +
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{release|}}}
 
{{{release|}}}
</td></tr>|1{{{release|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Rated'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
{{!}}-
  +
|}}{{#if:{{{rated|}}}|
  +
{{!}}-
  +
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Rated
  +
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{rated|}}}
 
{{{rated|}}}
</td></tr>|1{{{rated|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Running Time'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
{{!}}-
  +
|}}{{#if:{{{length|}}}|
  +
{{!}}-
  +
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Running&nbsp;time
  +
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{length|}}}
 
{{{length|}}}
</td></tr>|1{{{length|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Budget'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
{{!}}-
  +
|}}{{#if:{{{budget|}}}|
  +
{{!}}-
  +
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Budget
  +
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{budget|}}}
 
{{{budget|}}}
</td></tr>|1{{{budget|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Gross Revenue'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
{{!}}-
  +
|}}{{#if:{{{revenue|}}}|
  +
{{!}}-
  +
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Gross&nbsp;Revenue
  +
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
 
{{{revenue|}}}
 
{{{revenue|}}}
</td></tr>|1{{{revenue|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Preceded by'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
{{!}}-
{{{preceded_by|}}}
+
|}}{{#if:{{{preceded by|}}}|
</td></tr>|1{{{preceded_by|}}}=}} {{t|1=<tr style="spacing-top: 0px; spacing-bottom: 0px; vertical-align: middle; background: {{{3|#f0f0f0}}}"><td style="border-top: 1px solid #999; border-bottom: 1px solid #999;">'''Followed by'''</td><td class="infoboxcell" style="border-top: 1px solid #999; border-bottom: 1px solid #999;">
+
{{!}}-
{{{followed_by|}}}
+
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Preceded&nbsp;by
</td></tr>|1{{{followed_by|}}}=}}</table><noinclude>
+
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
  +
{{{preceded by|}}}
  +
{{!}}-
  +
|}}{{#if:{{{followed by|}}}|
  +
{{!}}-
  +
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Followed&nbsp;by
  +
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
  +
{{{followed by|}}}
  +
{{!}}-
  +
|}}
  +
|}
  +
<div class="infoboxfooter plainlinks" style="text-align: center; {{#if:{{#if:{{{bgcolor1|}}}|{{{bgcolor1}}}|999999}}|background: #{{#if:{{{bgcolor1|}}}|{{{bgcolor1}}}|999999}}|background: #999999}}"><span class="hidable-button"></span>[[{{{srclink|Template:Film infobox}}}|[Source]]]</div>
  +
{{#if:{{#if:{{{bgcolor1|}}}|{{{bgcolor1}}}|999999}}|{{rb|#{{#if:{{{bgcolor1|}}}|{{{bgcolor1}}}|999999}}}}|{{rb|#999999}}}}</div><noinclude>
   
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
{{Film infobox
+
{{Film_infobox
|name=''Name of film''
 
|image=''Image of film''
 
 
|bgcolor1=''Colour behind name''
 
|bgcolor1=''Colour behind name''
 
|bgcolor2=''Colour behind headers''
 
|bgcolor2=''Colour behind headers''
  +
|image=''Image of film''
  +
|name=''Name of film''
 
|director=''Director(s) of film''
 
|director=''Director(s) of film''
 
|producer=''Producor(s) of film''
 
|producer=''Producor(s) of film''
Line 48: Line 50:
 
|budget=''Budget of film''
 
|budget=''Budget of film''
 
|revenue=''Gross revenue of film''
 
|revenue=''Gross revenue of film''
|preceded_by=''Preceded by''
+
|preceded by=''Preceded by''
|followed_by=''Followed by''
+
|followed by=''Followed by''
 
}}
 
}}
 
</pre>
 
</pre>
Line 55: Line 57:
 
==Clean template==
 
==Clean template==
 
<pre>
 
<pre>
{{Film infobox
+
{{Film_infobox
|name=
 
|image=
 
 
|bgcolor1=
 
|bgcolor1=
 
|bgcolor2=
 
|bgcolor2=
  +
|image=
  +
|name=
 
|director=
 
|director=
 
|producer=
 
|producer=
Line 69: Line 73:
 
|budget=
 
|budget=
 
|revenue=
 
|revenue=
|preceded_by=
+
|preceded by=
|followed_by=
+
|followed by=
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 08:58, February 5, 2010

{{{name}}}
Film information

Usage

{{Film_infobox
|bgcolor1=''Colour behind name''
|bgcolor2=''Colour behind headers''
|image=''Image of film''
|name=''Name of film''
|director=''Director(s) of film''
|producer=''Producor(s) of film''
|writer=''Writer(s) of film''
|starring=''Star(s) of film''
|music=''Music for film''
|distributor=''Distributor(s) of film''
|release=''Release date of film''
|rated=''Rating of film''
|length=''Running time of film''
|budget=''Budget of film''
|revenue=''Gross revenue of film''
|preceded by=''Preceded by''
|followed by=''Followed by''
}}

Clean template

{{Film_infobox
|bgcolor1=
|bgcolor2=
|image=
|name=
|director=
|producer=
|writer=
|starring=
|music=
|distributor=
|release=
|rated=
|length=
|budget=
|revenue=
|preceded by=
|followed by=
}}

Around Wikia's network

Random Wiki