Difference between revisions of "Template:Infobox film"

From blackwiki
Jump to navigation Jump to search
imported>The Rogue Penguin
(cleanup of qif to #if)
imported>The Rogue Penguin
(rv)
Line 3: Line 3:
 
| style="font-size: 110%;" align="center" colspan="2" | '''''{{{name}}}'''''
 
| style="font-size: 110%;" align="center" colspan="2" | '''''{{{name}}}'''''
 
|-
 
|-
{{#if | test={{{image|}}} | then=
+
{{qif | test={{{image|}}} | then=
{{!}} 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|}}}}}}}
+
{{!}} 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 | test={{{director|}}} | then=
+
{{qif | test={{{director|}}} | then=
 
! Directed by
 
! Directed by
 
{{!}} {{{director|}}}}}
 
{{!}} {{{director|}}}}}
 
|-  
 
|-  
{{#if | test={{{producer|}}} | then=
+
{{qif | test={{{producer|}}} | then=
 
! Produced by
 
! Produced by
 
{{!}} {{{producer|}}}}}
 
{{!}} {{{producer|}}}}}
 
|-  
 
|-  
{{#if | test={{{writer|}}} | then=
+
{{qif | test={{{writer|}}} | then=
 
! Written by
 
! Written by
 
{{!}} {{{writer|}}}}}
 
{{!}} {{{writer|}}}}}
 
|-  
 
|-  
{{#if | test={{{starring|}}} | then=
+
{{qif | test={{{starring|}}} | then=
 
! Starring
 
! Starring
 
{{!}} {{{starring|}}}}}
 
{{!}} {{{starring|}}}}}
 
|-  
 
|-  
{{#if | test={{{music|}}} | then=
+
{{qif | test={{{music|}}} | then=
 
! Music by
 
! Music by
 
{{!}} {{{music|}}}}}
 
{{!}} {{{music|}}}}}
 
|-  
 
|-  
{{#if | test={{{cinematography|}}} | then=
+
{{qif | test={{{cinematography|}}} | then=
 
! Cinematography
 
! Cinematography
 
{{!}} {{{cinematography|}}}}}
 
{{!}} {{{cinematography|}}}}}
 
|-  
 
|-  
{{#if | test={{{editing|}}} | then=
+
{{qif | test={{{editing|}}} | then=
 
! Editing by
 
! Editing by
 
{{!}} {{{editing|}}}}}
 
{{!}} {{{editing|}}}}}
 
|-  
 
|-  
{{#if | test={{{distributor|}}} | then=
+
{{qif | test={{{distributor|}}} | then=
 
! Distributed by
 
! Distributed by
 
{{!}} {{{distributor|}}}}}
 
{{!}} {{{distributor|}}}}}
 
|-  
 
|-  
{{#if | test={{{released|}}} | then=
+
{{qif | test={{{released|}}} | then=
 
! Released
 
! Released
 
{{!}} {{{released|}}}}}
 
{{!}} {{{released|}}}}}
 
|-  
 
|-  
{{#if | test={{{runtime|}}} | then=
+
{{qif | test={{{runtime|}}} | then=
 
! Running time
 
! Running time
 
{{!}} {{{runtime|}}}}}
 
{{!}} {{{runtime|}}}}}
 
|-  
 
|-  
{{#if | test={{{country|}}} | then=
+
{{qif | test={{{country|}}} | then=
 
! Country
 
! Country
 
{{!}} {{{country|}}}}}
 
{{!}} {{{country|}}}}}
 
|-  
 
|-  
{{#if | test={{{language|}}} | then=
+
{{qif | test={{{language|}}} | then=
 
! Language
 
! Language
 
{{!}} {{{language|}}}}}
 
{{!}} {{{language|}}}}}
 
|-  
 
|-  
{{#if | test={{{budget|}}} | then=
+
{{qif | test={{{budget|}}} | then=
 
! Budget
 
! Budget
 
{{!}} {{{budget|}}}}}
 
{{!}} {{{budget|}}}}}
 
|-  
 
|-  
{{#if | test={{{preceded_by|}}} | then=
+
{{qif | test={{{preceded_by|}}} | then=
 
! Preceded by
 
! Preceded by
 
{{!}} {{{preceded_by|}}}}}
 
{{!}} {{{preceded_by|}}}}}
 
|-  
 
|-  
{{#if | test={{{followed_by|}}} | then=
+
{{qif | test={{{followed_by|}}} | then=
 
! Followed by
 
! Followed by
 
{{!}} {{{followed_by|}}}}}
 
{{!}} {{{followed_by|}}}}}
 
|-  
 
|-  
{{#if | test={{{mpaa_rating|}}} | then=
+
{{qif | test={{{mpaa_rating|}}} | then=
 
! MPAA Rating
 
! MPAA Rating
 
{{!}} {{{mpaa_rating|}}}}}
 
{{!}} {{{mpaa_rating|}}}}}
 
|-  
 
|-  
{{#if | test={{{imdb_id|}}} | then=
+
{{qif | 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:16, 19 April 2006