Difference between revisions of "Template:Infobox film"

From The League Wiki
Jump to navigation Jump to search
(Created page with "<includeonly>{{Infobox | italic title = {{{italic title|<noinclude>no</noinclude>}}} | bodyclass = vevent | bodystyle = font-size:90%; | aboveclass = summary | aboves...")
 
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>{{Infobox
 
<includeonly>{{Infobox
| italic title = {{{italic title|<noinclude>no</noinclude>}}}
+
| italic title = {{{italic_title|<noinclude>no</noinclude>}}}  
 
| bodyclass    = vevent
 
| bodyclass    = vevent
 
| bodystyle    = font-size:90%;
 
| bodystyle    = font-size:90%;
Line 8: Line 8:
 
| above        = {{{name|{{PAGENAMEBASE}}}}}
 
| above        = {{{name|{{PAGENAMEBASE}}}}}
  
| image        = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|{{{image size|}}}}}} |sizedefault=frameless |upright=1 |alt={{{alt|}}} |border={{{border|yes}}} }}
+
| image        = {{center|{{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |upright=1 |alt={{{alt|}}} |border={{{border|yes}}} }}}}
 
| captionstyle = font-size:95%;padding:0.35em 0.35em 0.25em;line-height:1.25em;
 
| captionstyle = font-size:95%;padding:0.35em 0.35em 0.25em;line-height:1.25em;
| caption      = {{{caption|}}}
+
| caption      = {{center|{{{caption|}}}}}
  
 
| labelstyle  = white-space:nowrap;padding-right:0.65em<!--(to ensure gap between any long/nonwrapped label and subsequent data on same line-->;
 
| labelstyle  = white-space:nowrap;padding-right:0.65em<!--(to ensure gap between any long/nonwrapped label and subsequent data on same line-->;
  
 
| class1      = description
 
| class1      = description
|  data1      = {{{film_name|{{{film name|}}}}}}
+
|  data1      = {{{native_name|}}}
  
 
| label2      = Directed by
 
| label2      = Directed by
|  data2      = {{{director|{{{directors|}}}}}}
+
|  data2      = {{If empty |{{{director|}}} |{{{directors|}}} }}
  
 
| label3      = Produced by
 
| label3      = Produced by
|  data3      = {{{producer|{{{producers|}}}}}}
+
|  data3      = {{If empty |{{{producer|}}} |{{{producers|}}} }}
  
 
| label4      = Written by
 
| label4      = Written by
|  data4      = {{{writer|{{{writers|}}}}}}
+
|  data4      = {{If empty |{{{writer|}}} |{{{writers|}}} }}
  
 
| label5      = Screenplay by
 
| label5      = Screenplay by
Line 33: Line 33:
  
 
| label7      = Based on
 
| label7      = Based on
|  data7      = {{{based_on|{{{based on|}}}}}}
+
|  data7      = {{{based_on|}}}
  
 
| label8      = Starring
 
| label8      = Starring
Line 39: Line 39:
  
 
| label9      = Narrated by
 
| label9      = Narrated by
|  data9      = {{{narrator|{{{narrators|}}}}}}
+
|  data9      = {{If empty |{{{narrator|}}} |{{{narrators|}}} }}
  
 
| label10      = Music by
 
| label10      = Music by
Line 62: Line 62:
 
| data16      = {{{color_process|}}}
 
| data16      = {{{color_process|}}}
  
| label17      = {{longitem |Production<br/>compan{{#if: {{{production companies|{{{production_companies|}}} }}} |ies |y}} }}
+
| label17      = {{longitem |Production<br/>compan{{#if: {{{production_companies|}}} |ies |y}} }}
|  data17      = {{#if:{{{production companies|{{{production_companies|{{{studio|}}} }}} }}} |<div style="vertical-align:middle;">{{{production companies|{{{production_companies|{{{studio|}}} }}} }}}</div>}}
+
|  data17      = {{#if:{{{production_companies|{{{studio|}}} }}} |<div style="vertical-align:middle;">{{{production_companies|{{{studio|}}}}}}</div>}}
  
 
| label18      = Distributed by
 
| label18      = Distributed by
Line 91: Line 91:
 
|  data24      = {{{gross|}}}
 
|  data24      = {{{gross|}}}
  
}}<!--
+
}}<!-- Start tracking
    Tracking categories:
+
     -->{{#if:{{{image_size|}}}|{{main other|[[Category:Film articles using image size parameter]]}}}}<!--
     -->{{#if:{{{image_size|}}}{{{image size|}}} |[[Category:Film articles using image size parameter]]}}<!--
+
     -->{{#invoke:Check for unknown parameters|check|unknown={{Main other|[[Category:Pages using infobox film with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[:Template:Infobox film]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | animator | background_artist | based_on | border | budget | caption | cinematography | color_process | country | director | directors | distributor | distributors | editing | gross | italic_title | image | image_size | language | layout_artist | music | name | narrator | narrators | native_name | producer | producers | production_companies | released | runtime | screenplay | starring | story | studio | writer | writers }}<!--
     -->{{#if:{{{preceded by|}}}{{{preceded_by|}}}{{{followed by|}}}{{{followed_by|}}}|[[Category:Film articles using infobox succession]]}}<!--
+
     -->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox film with unknown empty parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[:Template:Infobox film]] with unknown parameter "_VALUE_"|showblankpositional=1| alt | animator | background_artist | based_on | border | budget | caption | cinematography | color_process | country | director | directors | distributor | distributors | editing | gross | italic_title | image | image_size | language | layout_artist | music | name | narrator | narrators | native_name | producer | producers | production_companies | released | runtime | screenplay | starring | story | studio | writer | writers }}<!-- End tracking --></includeonly><noinclude>
     -->{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox film with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[:Template:Infobox film]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | animator | background_artist | based on | based_on | border | budget | caption | cinematography | color_process | country | director | directors | distributor | distributors | editing | film name | film_name | gross | italic title | image | image size | image_size | language | layout_artist | music | name | narrator | narrators | producer | producers | production companies | production_companies | released | runtime | screenplay | starring | story | studio | writer | writers }}<!--
 
--></includeonly><noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 02:26, 23 March 2022