Template:Infobox film: Difference between revisions

From The Goon Show Depository

m (1 revision imported)
m (1 revision imported)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{main other|{{Infobox film/short description|released={{{released|}}}|country={{{country|}}}|director={{{director|}}}}}}}{{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
Line 7: Line 7:
| above        = {{If empty |{{{name|}}} |{{PAGENAMEBASE}} }}
| above        = {{If empty |{{{name|}}} |{{PAGENAMEBASE}} }}


| image        = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |upright=1 |alt={{{alt|}}} |title={{{alt|}}} |border={{{border|yes}}} }}
| image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|title={{{alt|}}}}}
| caption      = {{{caption|}}}
| caption      = {{{caption|}}}


Line 16: Line 16:


| label2      = Directed by
| label2      = Directed by
|  data2      = {{If empty |{{{director|}}} |{{{directors|}}} }}
|  data2      = {{{director|}}}


| label3      = Written by
| label3      = Written by
|  data3      = {{If empty |{{{writer|}}} |{{{writers|}}} }}
|  data3      = {{{writer|}}}


| label4      = Screenplay by
| label4      = Screenplay by
Line 31: Line 31:


| label7      = Produced by
| label7      = Produced by
|  data7      = {{If empty |{{{producer|}}} |{{{producers|}}} }}
|  data7      = {{{producer|}}}


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


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


| label10      = Cinematography
| label10      = Cinematography
Line 64: Line 64:


| label18      = Distributed by
| label18      = Distributed by
|  data18      = {{If empty |{{{distributor|}}} |{{{distributors|}}} }}
|  data18      = {{{distributor|}}}


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


Line 76: Line 76:


| label22      = {{Pluralize from text|{{{language|}}}|| Language | Languages }}
| 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 90: Line 85:


}}<!-- Tracking categories
}}<!-- Tracking categories
-->{{Main other|{{#if: {{{image_size|}}} | [[Category:Pages using infobox film with 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 | budget | caption | cinematography | color_process | country | director | distributor | editing | gross | italic_title | image | image_upright | language | layout_artist | music | name | narrator | native_name | producer | production_companies | released | runtime | screenplay | starring | story | studio | writer }}<!--
-->{{#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 }}<!--
-->{{Main other|{{#if: {{{released|}}} | {{#ifeq: {{Str find|{{{released|}}} | film-date}} | -1 | [[Category:Pages using infobox film with nonstandard dates]] }} | [[Category:Pages using infobox film with missing date]] }}}}<!--
--></includeonly><noinclude>
--></includeonly><noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>

Latest revision as of 22:18, 5 July 2024