Template:Episode list: Difference between revisions

From Destiny Wiki
Jump to navigation Jump to search
(remove main other template)
(ok nvm we straight stealing and repurposing the infobox to see if it works)
Line 1: Line 1:
{| class="wikitable plainrowheaders wikiepisodetable" style="width:{{{total_width|100}}}{{#ifeq:{{str find|{{{total_width|}}}|%}}|-1|%|}};"
{| class="wikitable" style="background: hsla(219, 25%, 80%, 0.1);border-radius: 4px; width: auto;min-width:20em;max-width:30em; font-size: 90%; text-align: left; float: right; overflow: auto; border: 1px solid hsla(219, 25%, 80%, 0.2); float: right; margin: 14px; padding: 2px 5px 2px 5px; box-shadow: 0em 0em 0em hsla(0, 0%, 0%, .2);"
|- {{#if:{{{background|}}}|style="color:{{Greater color contrast ratio|{{{background}}}|black|white}};"|style="color:black;"}}
 
|+{{#if:{{{caption|}}}|{{{caption|}}} }}
 
{{#ifeq:{{{overall|{{{EpisodeNumber|}}}}}}|{{{overall|{{{EpisodeNumber|-}}}}}}| {{Episode table/cell |background={{{background|}}} |cell={{{overall|{{{EpisodeNumber|}}}}}} |text={{{overallT|{{{EpisodeNumberT|{{Abbr|No.|Number}} {{#ifeq:{{{season|{{{EpisodeNumber2|}}}}}}|{{{season|{{{EpisodeNumber2|-}}}}}}|<br />overall| {{#ifeq:{{{series|{{{EpisodeNumber2Series|}}}}}}|{{{series|{{{EpisodeNumber2Series|-}}}}}}|<br />overall| {{#if:{{{forceoverall|}}}|<br />overall|}} }} }}}}}}}} |ref={{{overallR|{{{EpisodeNumberR|}}}}}} }} |}}<!--
 
-->{{#ifeq:{{{season|{{{EpisodeNumber2|}}}}}}|{{{season|{{{EpisodeNumber2|-}}}}}}| {{Episode table/cell |background={{{background|}}} |cell={{{season|{{{EpisodeNumber2|}}}}}} |text={{{seasonT|{{{EpisodeNumber2T|{{Abbr|No.|Number}} in<br />season}}}}}} |ref={{{seasonR|{{{EpisodeNumber2R|}}}}}} }} | {{#ifeq:{{{series|{{{EpisodeNumber2Series|}}}}}}|{{{series|{{{EpisodeNumber2Series|-}}}}}}| {{Episode table/cell |background={{{background|}}} |cell={{{series|{{{EpisodeNumber2Series|}}}}}} |text={{{seriesT|{{{EpisodeNumber2SeriesT|{{Abbr|No.|Number}} in<br />series}}}}}} |ref={{{seriesR|{{{EpisodeNumber2SeriesR|}}}}}} }} |}} }}<!--
 
-->{{#ifeq:{{{title|{{{Title|}}}}}}|{{{title|{{{Title|-}}}}}}| {{Episode table/cell |background={{{background|}}} |cell={{{title|{{{Title|}}}}}} |text={{{titleT|{{{TitleT|Title}}}}}} |ref={{{titleR|{{{TitleR|}}}}}} }} |}}<!--
 
-->{{#ifeq:{{{aux1{{{Aux1|}}}|}}}|{{{aux1|{{{Aux1|-}}}}}}| {{Episode table/cell |background={{{background|}}} |cell={{{aux1|{{{Aux1|}}}}}} |text={{{aux1T|{{{Aux1T|}}}}}} |ref={{{aux1R|{{{Aux1R|}}}}}} }} |}}<!--
 
-->{{#ifeq:{{{director|{{{DirectedBy|}}}}}}|{{{director|{{{DirectedBy|-}}}}}}| {{Episode table/cell |background={{{background|}}} |cell={{{director|{{{DirectedBy|}}}}}} |text={{{directorT|{{{DirectedByT|Directed by}}}}}} |ref={{{directorR|{{{DirectedByR|}}}}}} }} |}}<!--
 
-->{{#ifeq:{{{writer|{{{WrittenBy|}}}}}}|{{{writer|{{{WrittenBy|-}}}}}}| {{Episode table/cell |background={{{background|}}} |cell={{{writer|{{{WrittenBy|}}}}}} |text={{{writerT|{{{WrittenByT|Written by}}}}}} |ref={{{writerR|{{{WrittenByR|}}}}}} }} |}}<!--
 
-->{{#ifeq:{{{aux2{{{Aux2|}}}|}}}|{{{aux2|{{{Aux2|-}}}}}}| {{Episode table/cell |background={{{background|}}} |cell={{{aux2|{{{Aux2|}}}}}} |text={{{aux2T|{{{Aux2T|}}}}}} |ref={{{aux2R|{{{Aux2R|}}}}}} }} |}}<!--
 
-->{{#ifeq:{{{aux3{{{Aux3|}}}|}}}|{{{aux3|{{{Aux3|-}}}}}}| {{Episode table/cell |background={{{background|}}} |cell={{{aux3|{{{Aux3|}}}}}} |text={{{aux3T|{{{Aux3T|}}}}}} |ref={{{aux3R|{{{Aux3R|}}}}}} }} |}}<!--
 
-->{{#ifeq:{{{airdate|{{{OriginalAirDate|}}}}}}|{{{airdate|{{{OriginalAirDate|-}}}}}}| {{Episode table/cell |background={{{background|}}} |cell={{{airdate|{{{OriginalAirDate|}}}}}} |text={{{airdateT|{{{OriginalAirDateT|Original {{#if:{{{release|}}}{{{released|}}}|release|air}} date}}}}}} |ref={{{airdateR|{{{OriginalAirDateR|}}}}}} }} |}}<!--
 
-->{{#ifeq:{{{altdate|{{{AltDate|}}}}}}|{{{altdate|{{{AltDate|-}}}}}}| {{Episode table/cell |background={{{background|}}} |cell={{{altdate|{{{AltDate|}}}}}} |text={{{altdateT|{{{AltDateT|}}}}}} |ref={{{altdateR|{{{AltDateR|}}}}}} }} |}}<!--
 
-->{{#ifeq:{{{prodcode|{{{ProdCode|}}}}}}|{{{prodcode|{{{ProdCode|-}}}}}}| {{Episode table/cell |background={{{background|}}} |cell={{{prodcode|{{{ProdCode|}}}}}} |text={{{prodcodeT|{{{ProdCodeT|{{Abbr|Prod.|Production}}<br />code}}}}}} |ref={{{prodcodeR|{{{ProdCodeR|}}}}}} }} |}}<!--
 
-->{{#ifeq:{{{viewers|{{{Viewers|}}}}}}|{{{viewers|{{{Viewers|-}}}}}}| {{Episode table/cell |background={{{background|}}} |cell={{{viewers|{{{Viewers|}}}}}} |text={{{viewersT|{{{ViewersT|{{{country|}}} {{#if:{{{country|}}}|v|V}}iewers<br />{{#ifeq:{{{viewers_type|}}}|{{{viewers_type|-}}}|{{#if:{{{viewers_type|}}}|({{{viewers_type|millions}}})|}}|({{{viewers_type|millions}}})}}}}}}}} |ref={{{viewersR|{{{ViewersR|}}}}}} }} |}}<!--
 
-->{{#ifeq:{{{aux4{{{Aux4|}}}|}}}|{{{aux4|{{{Aux4|-}}}}}}| {{Episode table/cell |background={{{background|}}} |cell={{{aux4|{{{Aux4|}}}}}} |text={{{aux4T|{{{Aux4T|}}}}}} |ref={{{aux4R|{{{Aux4R|}}}}}} }} |}}
|-
|-
{{#if:{{{episodes|}}}|{{{episodes}}}|}}
! colspan="5" style="background-color: hsla(240, 65%, 55%, 1); width: 50%; text-align: center; color: hsla(219, 25%, 80%, 1); margin:0px -4px 0px -4px" | <big>{{{series name}}}</big>
|-{{#if: {{{ep_no_1|}}} {{!}} {{{ep_no_1|}}}}} {{!}} {{{ep_1_title}}} {{!}} {{{ep_1_topic}}} {{!}} {{{ep_1_participants}}} {{!}} {{{ep_1_link}}}
|}
|}

Revision as of 05:47, 24 June 2024

{{{series name}}}