Template:Infobox/Media/Film/Episode: Difference between revisions

From Halopedia, the Halo wiki

m (Text replacement - "{{#if:{{{image\|}}}\|↵{{!}} class="infoboxmedia" colspan="2" style="[^\n"]*background:{{{imageBG\|#(F0F0F0|f0f0f0)}}}[^\n"]+" {{!}} {{{image}}} {{#if:{{{caption\|}}}\|{{clear}}{{{caption}}}}}↵}}↵\|-" to "{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}}}")
m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} ?class="infoboxlabel" style="[^\n"]+" {{!}}↵([^\n]+):↵{{!}} ?class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to " {{Infobox|entry|title=$2|content=$1}}")
Line 1: Line 1:
<includeonly>{| class="infobox" style="width:260px; background:{{{BG|#AA0000}}}; color:{{{color1|#000}}}" cellspacing="0"
<includeonly>{| class="infobox" style="width:260px; background:{{{BG|#AA0000}}}; color:{{{color1|#000}}}" cellspacing="0"
{{#if:{{{previous|}}}|
{{Infobox|entry|title={{{previous-title|Previous episode}}}|content={{{previous|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{Infobox|entry|title={{{next-title|Next episode}}}|content={{{next|}}}}}
{{{previous-title|Previous episode}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{previous}}}
}}
|-
{{#if:{{{next|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{next-title|Next episode}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{next}}}
}}
|-
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
|-
Line 21: Line 9:
}}
}}
|-
|-
{{#if:{{{series|}}}|
{{Infobox|entry|title={{{series-title|Series}}}|content={{{series|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{Infobox|entry|title={{{season-title|Season}}}|content={{{season|}}}}}
{{{series-title|Series}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{series}}}
}}
|-
{{#if:{{{season|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{season-title|Season}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{season}}}
}}
|-


<!--New section-->
<!--New section-->
Line 41: Line 17:
}}
}}
|-
|-
{{#if:{{{episode|}}}|
{{Infobox|entry|title={{{episode-title|Episode}}}|content={{{episode|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{Infobox|entry|title={{{airdate-title|Air date}}}|content={{{airdate|}}}}}
{{{episode-title|Episode}}}:
{{Infobox|entry|title={{{runtime-title|Run time}}}|content={{{runtime|}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{episode}}}
}}
|-
{{#if:{{{airdate|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{airdate-title|Air date}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{airdate}}}
}}
|-
{{#if:{{{runtime|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{runtime-title|Run time}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{runtime}}}
}}
|-


<!--New Section-->
<!--New Section-->
Line 68: Line 26:
}}
}}
|-
|-
{{#if:{{{directors|}}}|
{{Infobox|entry|title={{{directors-title|Director(s)}}}|content={{{directors|}}}}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{Infobox|entry|title={{{writers-title|Writer(s)}}}|content={{{writers|}}}}}
{{{directors-title|Director(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{directors}}}
}}
|-
{{#if:{{{writers|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}; width:100px" {{!}}
{{{writers-title|Writer(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{writers}}}
}}
|-
{{Infobox|end}}</includeonly><noinclude>{{Doc/Template}} [[Category:Infobox templates]]</noinclude>
{{Infobox|end}}</includeonly><noinclude>{{Doc/Template}} [[Category:Infobox templates]]</noinclude>

Revision as of 13:18, August 29, 2023

vde
Template Documentation

Usage

This infobox is for use on the top page of an episode for a given film or audio drama.

Instructions

Cut and paste the following code into your article, then put the relevant specifications after the "=" signs.

{{Infobox/Media/Film/Episode
|previous=
|next=
|name=
|image=
|series=
|season=
|episode=
|airdate=
|runtime=
|directors=
|writers=
}}