Difference between revisions of "Template:Infobox film"

From blackwiki
Jump to navigation Jump to search
imported>Estoy Aquí
(Since it seems to be agreed on the talk, added "Country". Feel free to rephrase, or move position.)
imported>Flowerparty
(refine image_size param and add to example code)
Line 4: Line 4:
 
|-
 
|-
 
{{qif | test={{{image|}}} | then=
 
{{qif | test={{{image|}}} | then=
{{!}} style="font-size: 100%;" align="center" colspan="2" {{!}} [[Image:{{{image}}}|{{{image_size|200px}}}]]{{qif | 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|}}}}}}}
 
|-  
 
|-  
 
{{qif | test={{{imdb_rating|}}} | then=
 
{{qif | test={{{imdb_rating|}}} | then=
Line 81: Line 81:
 
| name          = <nowiki>{{{name}}}</nowiki>
 
| name          = <nowiki>{{{name}}}</nowiki>
 
| image          = <nowiki>{{{image}}}</nowiki>
 
| image          = <nowiki>{{{image}}}</nowiki>
 +
| image_size    = <nowiki>{{{image_size}}}</nowiki>
 
| caption        = <nowiki>{{{caption}}}</nowiki>
 
| caption        = <nowiki>{{{caption}}}</nowiki>
 
| imdb_rating    = <nowiki>{{{imdb_rating}}}</nowiki>
 
| imdb_rating    = <nowiki>{{{imdb_rating}}}</nowiki>

Revision as of 04:10, 14 April 2006