Difference between revisions of "Template:Infobox film"

From blackwiki
Jump to navigation Jump to search
imported>The Rogue Penguin
(rv)
imported>The Rogue Penguin
(missed a step, this should work. removed ! template)
Line 1: Line 1:
 
<includeonly>{| class="infobox" style="width: 20em; text-align: left; font-size: 90%;" cellspacing="2"
 
<includeonly>{| class="infobox" style="width: 20em; text-align: left; font-size: 90%;" cellspacing="2"
|-
 
 
| style="font-size: 110%;" align="center" colspan="2" | '''''{{{name}}}'''''
 
| style="font-size: 110%;" align="center" colspan="2" | '''''{{{name}}}'''''
|-
+
{{#if:{{{image|}}} | <tr><th style="font-size: 100%;" align="center" colspan="2">[[Image:{{{image}}}|{{#if:{{{image_size|}}} | {{{image_size|200px}}} | 200px}}]]{{#if:{{{caption|}}} | <br>{{{caption|}}}}}</th></tr>}}<!--
{{qif | test={{{image|}}} | then=
+
-->{{#if:{{{director|}}} | <tr><th>Directed by</th> <td>{{{director|}}}</td></tr>}}<!--
{{!}} style="font-size: 100%;" align="center" colspan="2" {{!}} [[Image:{{{image}}}|{{qif | test={{{image_size|}}} | then={{{image_size|200px}}} | else=200px}}]]{{qif | test={{{caption|}}} | then=<br>{{{caption|}}}}}}}
+
-->{{#if:{{{producer|}}} | <tr><th>Produced by</th> <td>{{{producer|}}}</td></tr>}}<!--
|-  
+
-->{{#if:{{{writer|}}} | <tr><th>Written by</th> <td>{{{writer|}}}</td></tr>}}<!--
{{qif | test={{{director|}}} | then=
+
-->{{#if:{{{starring|}}} | <tr><th>Starring</th> <td>{{{starring|}}}</td></tr>}}<!--
! Directed by
+
-->{{#if:{{{music|}}} | <tr><th>Music by</th> <td>{{{music|}}}</td></tr>}}<!--
{{!}} {{{director|}}}}}
+
-->{{#if:{{{cinematography|}}} | <tr><th>Cinematography</th> <td>{{{cinematography|}}}</td></tr>}}<!--
|-  
+
-->{{#if:{{{editing|}}} | <tr><th>Editing by</th> <td>{{{editing|}}}</td></tr>}}<!--
{{qif | test={{{producer|}}} | then=
+
-->{{#if:{{{distributor|}}} | <tr><th>Distributed by</th> <td>{{{distributor|}}}</td></tr>}}<!--
! Produced by
+
-->{{#if:{{{released|}}} | <tr><th>Released</th> <td>{{{released|}}}</td></tr>}}<!--
{{!}} {{{producer|}}}}}
+
-->{{#if:{{{runtime|}}} | <tr><th>Running time</th> <td>{{{runtime|}}}</td></tr>}}<!--
|-  
+
-->{{#if:{{{country|}}} | <tr><th>Country</th> <td>{{{country|}}}</td></tr>}}<!--
{{qif | test={{{writer|}}} | then=
+
-->{{#if:{{{language|}}} | <tr><th>Language</th> <td>{{{language|}}}</td></tr>}}<!--
! Written by
+
-->{{#if:{{{budget|}}} | <tr><th>Budget</th> <td>{{{budget|}}}</td></tr>}}<!--
{{!}} {{{writer|}}}}}
+
-->{{#if:{{{preceded_by|}}} | <tr><th>Preceded by</th> <td>{{{preceded_by|}}}</td></tr>}}<!--
|-  
+
-->{{#if:{{{followed_by|}}} | <tr><th>Followed by</th> <td>{{{followed_by|}}}</td></tr>}}<!--
{{qif | test={{{starring|}}} | then=
+
-->{{#if:{{{mpaa_rating|}}} | <tr><th>MPAA Rating</th> <td>{{{mpaa_rating|}}}</td></tr>}}<!--
! Starring
+
-->{{#if:{{{imdb_id|}}} | <tr><th style="font-size: 100%;" align="center" colspan="2">'''[http://www.imdb.com/title/tt{{{imdb_id|}}} IMDb profile]'''</th></tr>}}
{{!}} {{{starring|}}}}}
+
|}</includeonly><noinclude>
|-  
 
{{qif | test={{{music|}}} | then=
 
! Music by
 
{{!}} {{{music|}}}}}
 
|-  
 
{{qif | test={{{cinematography|}}} | then=
 
! Cinematography
 
{{!}} {{{cinematography|}}}}}
 
|-  
 
{{qif | test={{{editing|}}} | then=
 
! Editing by
 
{{!}} {{{editing|}}}}}
 
|-  
 
{{qif | test={{{distributor|}}} | then=
 
! Distributed by
 
{{!}} {{{distributor|}}}}}
 
|-  
 
{{qif | test={{{released|}}} | then=
 
! Released
 
{{!}} {{{released|}}}}}
 
|-  
 
{{qif | test={{{runtime|}}} | then=
 
! Running time
 
{{!}} {{{runtime|}}}}}
 
|-  
 
{{qif | test={{{country|}}} | then=
 
! Country
 
{{!}} {{{country|}}}}}
 
|-  
 
{{qif | test={{{language|}}} | then=
 
! Language
 
{{!}} {{{language|}}}}}
 
|-  
 
{{qif | test={{{budget|}}} | then=
 
! Budget
 
{{!}} {{{budget|}}}}}
 
|-  
 
{{qif | test={{{preceded_by|}}} | then=
 
! Preceded by
 
{{!}} {{{preceded_by|}}}}}
 
|-  
 
{{qif | test={{{followed_by|}}} | then=
 
! Followed by
 
{{!}} {{{followed_by|}}}}}
 
|-  
 
{{qif | test={{{mpaa_rating|}}} | then=
 
! MPAA Rating
 
{{!}} {{{mpaa_rating|}}}}}
 
|-  
 
{{qif | test={{{imdb_id|}}} | then=
 
{{!}} style="font-size: 100%;" align="center" colspan="2" {{!}} '''[http://www.imdb.com/title/tt{{{imdb_id|}}} IMDb profile]'''}}
 
|}</includeonly>
 
<noinclude>
 
 
{{Infobox Film
 
{{Infobox Film
 
| name          = <nowiki>{{{name}}}</nowiki>
 
| name          = <nowiki>{{{name}}}</nowiki>
Line 97: Line 43:
 
| imdb_id        = <nowiki>{{{imdb_id}}}</nowiki>
 
| imdb_id        = <nowiki>{{{imdb_id}}}</nowiki>
 
}}
 
}}
{{-}}
 
 
== Usage ==
 
== Usage ==
 
{{Template talk:{{PAGENAME}}/Syntax}}
 
{{Template talk:{{PAGENAME}}/Syntax}}

Revision as of 15:37, 19 April 2006

{{{name}}}
[[Image:{{{image}}}|{{{image_size}}}]]
{{{caption}}}
Directed by {{{director}}}
Produced by {{{producer}}}
Written by {{{writer}}}
Starring {{{starring}}}
Music by {{{music}}}
Cinematography {{{cinematography}}}
Editing by {{{editing}}}
Distributed by {{{distributor}}}
Released {{{released}}}
Running time {{{runtime}}}
Country {{{country}}}
Language {{{language}}}
Budget {{{budget}}}
Preceded by {{{preceded_by}}}
Followed by {{{followed_by}}}
MPAA Rating {{{mpaa_rating}}}
{{{imdb_id}}} IMDb profile

Usage

Template talk:Infobox film/Syntax

See the syntax guide for a detailed explanation of each field.

See also

bs:Template:Film ca:Plantilla:Fitxa Pel·lícula eo:Ŝablono: Filma kadro es:Plantilla:Ficha de película nl:Sjabloon:Film no:Mal:Infoboks film pl:Szablon:Film ro:Format:Infobox film ru:Шаблон:Фильм simple:Template:Infobox Movie sq:Stampa:Box-Movie sr:Шаблон:Филм sv:Mall:Filmfakta zh:Template:Infobox Film