Difference between revisions of "Template:Infobox film"

From blackwiki
Jump to navigation Jump to search
imported>Sugar Bear
(IMDb user rating has got to go)
imported>The Rogue Penguin
(cleanup of qif to #if)
Line 3: Line 3:
 
| style="font-size: 110%;" align="center" colspan="2" | '''''{{{name}}}'''''
 
| style="font-size: 110%;" align="center" colspan="2" | '''''{{{name}}}'''''
 
|-
 
|-
{{qif | test={{{image|}}} | then=
+
{{#if | test={{{image|}}} | then=
{{!}} 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|}}}}}}}
+
{{!}} style="font-size: 100%;" align="center" colspan="2" {{!}} [[Image:{{{image}}}|{{#if | test={{{image_size|}}} | then={{{image_size|200px}}} | else=200px}}]]{{#if | test={{{caption|}}} | then=<br>{{{caption|}}}}}}}
 
|-  
 
|-  
{{qif | test={{{director|}}} | then=
+
{{#if | test={{{director|}}} | then=
 
! Directed by
 
! Directed by
 
{{!}} {{{director|}}}}}
 
{{!}} {{{director|}}}}}
 
|-  
 
|-  
{{qif | test={{{producer|}}} | then=
+
{{#if | test={{{producer|}}} | then=
 
! Produced by
 
! Produced by
 
{{!}} {{{producer|}}}}}
 
{{!}} {{{producer|}}}}}
 
|-  
 
|-  
{{qif | test={{{writer|}}} | then=
+
{{#if | test={{{writer|}}} | then=
 
! Written by
 
! Written by
 
{{!}} {{{writer|}}}}}
 
{{!}} {{{writer|}}}}}
 
|-  
 
|-  
{{qif | test={{{starring|}}} | then=
+
{{#if | test={{{starring|}}} | then=
 
! Starring
 
! Starring
 
{{!}} {{{starring|}}}}}
 
{{!}} {{{starring|}}}}}
 
|-  
 
|-  
{{qif | test={{{music|}}} | then=
+
{{#if | test={{{music|}}} | then=
 
! Music by
 
! Music by
 
{{!}} {{{music|}}}}}
 
{{!}} {{{music|}}}}}
 
|-  
 
|-  
{{qif | test={{{cinematography|}}} | then=
+
{{#if | test={{{cinematography|}}} | then=
 
! Cinematography
 
! Cinematography
 
{{!}} {{{cinematography|}}}}}
 
{{!}} {{{cinematography|}}}}}
 
|-  
 
|-  
{{qif | test={{{editing|}}} | then=
+
{{#if | test={{{editing|}}} | then=
 
! Editing by
 
! Editing by
 
{{!}} {{{editing|}}}}}
 
{{!}} {{{editing|}}}}}
 
|-  
 
|-  
{{qif | test={{{distributor|}}} | then=
+
{{#if | test={{{distributor|}}} | then=
 
! Distributed by
 
! Distributed by
 
{{!}} {{{distributor|}}}}}
 
{{!}} {{{distributor|}}}}}
 
|-  
 
|-  
{{qif | test={{{released|}}} | then=
+
{{#if | test={{{released|}}} | then=
 
! Released
 
! Released
 
{{!}} {{{released|}}}}}
 
{{!}} {{{released|}}}}}
 
|-  
 
|-  
{{qif | test={{{runtime|}}} | then=
+
{{#if | test={{{runtime|}}} | then=
 
! Running time
 
! Running time
 
{{!}} {{{runtime|}}}}}
 
{{!}} {{{runtime|}}}}}
 
|-  
 
|-  
{{qif | test={{{country|}}} | then=
+
{{#if | test={{{country|}}} | then=
 
! Country
 
! Country
 
{{!}} {{{country|}}}}}
 
{{!}} {{{country|}}}}}
 
|-  
 
|-  
{{qif | test={{{language|}}} | then=
+
{{#if | test={{{language|}}} | then=
 
! Language
 
! Language
 
{{!}} {{{language|}}}}}
 
{{!}} {{{language|}}}}}
 
|-  
 
|-  
{{qif | test={{{budget|}}} | then=
+
{{#if | test={{{budget|}}} | then=
 
! Budget
 
! Budget
 
{{!}} {{{budget|}}}}}
 
{{!}} {{{budget|}}}}}
 
|-  
 
|-  
{{qif | test={{{preceded_by|}}} | then=
+
{{#if | test={{{preceded_by|}}} | then=
 
! Preceded by
 
! Preceded by
 
{{!}} {{{preceded_by|}}}}}
 
{{!}} {{{preceded_by|}}}}}
 
|-  
 
|-  
{{qif | test={{{followed_by|}}} | then=
+
{{#if | test={{{followed_by|}}} | then=
 
! Followed by
 
! Followed by
 
{{!}} {{{followed_by|}}}}}
 
{{!}} {{{followed_by|}}}}}
 
|-  
 
|-  
{{qif | test={{{mpaa_rating|}}} | then=
+
{{#if | test={{{mpaa_rating|}}} | then=
 
! MPAA Rating
 
! MPAA Rating
 
{{!}} {{{mpaa_rating|}}}}}
 
{{!}} {{{mpaa_rating|}}}}}
 
|-  
 
|-  
{{qif | test={{{imdb_id|}}} | then=
+
{{#if | test={{{imdb_id|}}} | then=
 
{{!}} style="font-size: 100%;" align="center" colspan="2" {{!}} '''[http://www.imdb.com/title/tt{{{imdb_id|}}} IMDb profile]'''}}
 
{{!}} style="font-size: 100%;" align="center" colspan="2" {{!}} '''[http://www.imdb.com/title/tt{{{imdb_id|}}} IMDb profile]'''}}
 
|}</includeonly>
 
|}</includeonly>

Revision as of 15:13, 19 April 2006


{{#if | test={{{image}}} | then= {{#if | test={{{director}}} | then= {{#if | test={{{producer}}} | then= {{#if | test={{{writer}}} | then= {{#if | test={{{starring}}} | then= {{#if | test={{{music}}} | then= {{#if | test={{{cinematography}}} | then= {{#if | test={{{editing}}} | then= {{#if | test={{{distributor}}} | then= {{#if | test={{{released}}} | then= {{#if | test={{{runtime}}} | then= {{#if | test={{{country}}} | then= {{#if | test={{{language}}} | then= {{#if | test={{{budget}}} | then= {{#if | test={{{preceded_by}}} | then= {{#if | test={{{followed_by}}} | then= {{#if | test={{{mpaa_rating}}} | then= {{#if | test={{{imdb_id}}} | then=
{{{name}}}
[[Image:{{{image}}}|{{#if | test={{{image_size}}} | then={{{image_size}}} | else=200px}}]]{{#if | test={{{caption}}} | then=
{{{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