Template:Film infobox: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{{name|{{PAGENAME}}}}}" to "{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}")
m (Text replacement - "{{pagetitle\|{{{pagename\|{{#if:{{{name\|}}}\|{{{name}}}\|{{PAGETITLE}}}}}}} - {{{pagelabel\|([^ ]+) {{#ifeq:{{SUBPAGENAME}}\|Silver\|\(Silver Timeline\)}}}}}}}" to "{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|$1}}}}}")
 
(39 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" style="width:300px; background:{{{BG|#3399ff}}}; color:{{{color1|inherit}}};"
{{Infobox|start|bg=#39F}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|title|name={{{name|''{{PAGETITLE}}''}}}}}
{{!}}-
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}
{{#if:{{{image|}}}|
 
! style="background:{{{imageBG|#3399ff}}}; text-align:center; padding-top:4px;" colspan="2" {{!}} {{{image|}}} {{#if:{{{caption|}}}|<div style="clear:both">{{{caption}}}</div>}}}}
{{Infobox|entry|title={{{director-title|Directed by}}}|content={{{director|}}}}}
{{!}}-
{{Infobox|entry|title={{{producer-title|Produced by}}}|content={{{producer|}}}}}
{{#if:{{{director|}}}|
{{Infobox|entry|title={{{studio-title|Studio}}}|content={{{studio|}}}}}
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{Infobox|entry|title={{{writer-title|Written by}}}|content={{{writer|}}}}}
'''{{{director-title|Directed by}}}:'''
{{Infobox|entry|title={{{music-title|Music by}}}|content={{{music|}}}}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{Infobox|entry|title={{{starring-title|Starring}}}|content={{{starring|}}}}}
{{{director|}}}
{{Infobox|entry|title={{{distributor-title|Distributed by}}}|content={{{distributor|}}}}}
{{!}}-}}
{{Infobox|entry|title={{{release date-title|Release date(s)}}}|content={{{release date|}}}}}
{{#if:{{{producer|}}}|
{{Infobox|entry|title={{{runtime-title|Running time}}}|content={{{runtime|}}}}}
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{Infobox|entry|title={{{language-title|Available in}}}|content={{{language|}}}}}
'''{{{producer-title|Produced by}}}:'''
 
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{Infobox|end}}<includeonly>{{Infobox/pagetitle|name={{{pagename|{{{name|}}}}}}|label={{{pagelabel|Film}}}}}[[Category:Film]]</includeonly><noinclude>{{clear}}
{{{producer|}}}
{{!}}-}}
{{#if:{{{studio|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{studio-title|Studio}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{studio|}}}
{{!}}-}}
{{#if:{{{writer|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{writer-title|Written by}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{writer|}}}
{{!}}-}}
{{#if:{{{music|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{music-title|Music by}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{music|}}}
{{!}}-}}
{{#if:{{{starring|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{starring-title|Starring}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{starring|}}}
{{!}}-}}
{{#if:{{{distributor|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{distributor-title|Distributed by}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{distributor|}}}
{{!}}-}}
{{#if:{{{release date|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{release date-title|Release date(s)}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{release date|}}}
{{!}}-}}
{{#if:{{{runtime|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{runtime-title|Running time}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{runtime|}}}
{{!}}-}}
{{#if:{{{language|}}}|
{{!}} class="infoboxlabel" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{language-title|Available in}}}:'''
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F2F3F4}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{language|}}}
{{!}}-}}
| colspan=2 style="text-align:center; background:{{{BG|transparent}}}; padding:0; line-height:10px; font-size:10px;" |&nbsp;
|}<includeonly>{{pagetitle|{{{pagename|{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}}}} - {{{pagelabel|Film {{#ifeq:{{SUBPAGENAME}}|Silver|(Silver Timeline)}}}}}}}[[Category:Film]]</includeonly><noinclude>
==Usage==
==Usage==
<pre>
<pre>
{{Film infobox
{{Film infobox
|name =  
|name=
|image =  
|image=
|director =  
|director=
|producer =  
|producer=
|writer =  
|writer=
|starring =  
|starring=
|music =  
|music=
|studio =  
|studio=
|distributor =  
|distributor=
|release date =  
|release date=
|runtime =  
|runtime=
|language =  
|language=
}}
}}
</pre>
</pre>
==Source==
<nowiki>
{{subst:slh|996}} {{subst:sli|996}} {{subst:slc|996|movie name|css=font-style:italic;}} {{subst:sld|Director(s)|director}} {{subst:sld|Producer(s)|producer}} {{subst:sld|Writer(s)|writer}} {{subst:sld|Starring|starring}} {{subst:sld|Music by|music}} {{subst:sld|Distributor|distributor}} {{subst:sld|Released|release date}} {{subst:sld|Runtime|runtime}} {{subst:sld|Budget|budget}} {{subst:sld|Language|language}} {{subst:sld|Timeline|timeline}} {{subst:sld|Era|era}} {{subst:sld|Preceded by|preceded by|css=font-style:italic;}} {{subst:sld|Followed by|followed by|css=font-style:italic;}} {{subst:slf|996}}
</nowiki>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 12:16, March 22, 2024

Film infobox
 

Usage

{{Film infobox
|name=
|image=
|director=
|producer=
|writer=
|starring=
|music=
|studio=
|distributor=
|release date=
|runtime=
|language=
}}