Template:Infobox film: Difference between revisions

Jump to navigation Jump to search
m (1 revision imported)
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{main other|{{Infobox film/short description|released={{{released|}}}|country={{{country|}}}|director={{{director|}}}}}}}{{Infobox
| italic title = {{{italic title|<noinclude>no</noinclude>}}}
| italic title = {{{italic_title|<noinclude>no</noinclude>}}}  
| bodyclass    = vevent
| bodyclass    = vevent
| bodystyle    = font-size:90%;


| aboveclass  = summary
| aboveclass  = summary
| abovestyle  = font-size:110%;font-style:italic;
| abovestyle  = font-size: 125%; font-style: italic;
| above        = {{{name|{{PAGENAMEBASE}}}}}
| above        = {{If empty |{{{name|}}} |{{PAGENAMEBASE}} }}


| image        = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|{{{image size|}}}}}} |sizedefault=frameless |upright=1 |alt={{{alt|}}} |border={{{border|yes}}} }}
| image        = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |upright=1 |alt={{{alt|}}} |title={{{alt|}}} |border={{{border|yes}}} }}
| captionstyle = font-size:95%;padding:0.35em 0.35em 0.25em;line-height:1.25em;
| caption      = {{{caption|}}}
| caption      = {{{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      = Written by
|  data3      = {{{producer|{{{producers|}}}}}}
|  data3      = {{If empty |{{{writer|}}} |{{{writers|}}} }}


| label4      = Written by
| label4      = Screenplay by
|  data4      = {{{writer|{{{writers|}}}}}}
|  data4      = {{{screenplay|}}}


| label5      = Screenplay by
| label5      = Story by
|  data5      = {{{screenplay|}}}
|  data5      = {{{story|}}}


| label6      = Story by
| label6      = Based on
|  data6      = {{{story|}}}
|  data6      = {{{based_on|}}}


| label7      = Based on
| label7      = Produced by
|  data7      = {{{based_on|{{{based on|}}}}}}
|  data7      = {{If empty |{{{producer|}}} |{{{producers|}}} }}


| label8      = Starring
| label8      = Starring
Line 39: Line 37:


| label9      = Narrated by
| label9      = Narrated by
|  data9      = {{{narrator|{{{narrators|}}}}}}
|  data9      = {{If empty |{{{narrator|}}} |{{{narrators|}}} }}


| label10      = Music by
| label10      = Cinematography
|  data10      = {{{music|}}}
|  data10      = {{{cinematography|}}}


| label11      = Cinematography
| label11      = Edited by
|  data11      = {{{cinematography|}}}
|  data11      = {{{editing|}}}


| label12      = Edited by
| label12      = Music by
|  data12      = {{{editing|}}}
|  data12      = {{{music|}}}


| label13      = Animation by
| label13      = Animation by
Line 62: Line 60:
| data16      = {{{color_process|}}}
| data16      = {{{color_process|}}}


| label17      = {{longitem |Production<br/>compan{{#if: {{{production companies|{{{production_companies|}}} }}} |ies |y}} }}
| label17      = {{Longitem |Production<br/>{{Pluralize from text|{{If empty |{{{production_companies|}}} |{{{studio|}}} }} || company | companies }}}}
|  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
|  data18      = {{{distributor|{{{distributors|}}}}}}
|  data18      = {{If empty |{{{distributor|}}} |{{{distributors|}}} }}


| label19      = {{longitem|style=white-space:normal; |Release date}}
| label19      = {{Longitem|style=white-space: normal;|Release date{{Pluralize from text|{{{released|}}}|||s}}}}
|  data19      = {{{released|}}}
|  data19      = {{{released|}}}


| label20      = {{longitem|style=white-space:normal; |Running time}}
| label20      = {{Longitem|style=white-space: normal;|Running time}}
|  data20      = {{{runtime|}}}
|  data20      = {{{runtime|}}}


| label21      = Country
| label21      = {{Pluralize from text|{{{country|}}}|| Country | Countries }}
|  data21      = {{{country|}}}
|  data21      = {{{country|}}}


| label22     = Language
| label22      = {{Pluralize from text|{{{language|}}}|| Language | Languages }}
|  data22     = {{#if:{{{language|}}}
| data22      = {{{language|}}}
                  | {{#switch:{{lc:{{{language|}}}}}
                    | english = English {{#if:{{NAMESPACE}} | |[[Category:English-language films]]}}
                    | silent (english intertitles) |silent(english intertitles) |silent film (english intertitles) |silent film(english intertitles) |silent with english intertitles |silent |silent film = Silent {{#if:{{NAMESPACE}} | |[[Category:Silent films]]}}
                    | #default = {{{language|}}} {{#if:{{NAMESPACE}} | |{{#ifexist:Category:{{#invoke:string|replace|{{{language}}}|%[%[([^%[%]]*) [%(]?language[%)]?{{!}}[^%[%]]*%]%]|%1|plain=false}}-language films |[[Category:{{#invoke:string|replace|{{{language}}}|%[%[([^%[%]]*) [%(]?language[%)]?{{!}}[^%[%]]*%]%]|%1|plain=false}}-language films]]}} }}
                }} }}


| label23      = Budget
| label23      = Budget
Line 91: Line 84:
|  data24      = {{{gross|}}}
|  data24      = {{{gross|}}}


}}<!--
}}<!-- Tracking categories
    Tracking categories:
-->{{Main other|{{#if: {{{image_size|}}} | [[Category:Pages using infobox film with 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_"|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 }}<!--
    -->{{#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 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>
--></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 21:47, 29 October 2022