Template:Episode list: Difference between revisions

From Destiny Wiki
Jump to navigation Jump to search
(create to test)
 
(row span and col span 1)
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable plainrowheaders wikiepisodetable" style="width:{{{total_width|100}}}{{#ifeq:{{str find|{{{total_width|}}}|%}}|-1|%|}};"
| {{{epno}}} || {{{eptitle}}} || {{{eptopic}}} || {{{epparticipants}}} || {{nowrap|{{{eplink}}}}}
|- {{#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}}}|}}
|}{{Main other|{{Ensure AAA contrast ratio|base={{{background|}}}|category=[[Category:Articles using Template:Episode table with invalid colour combination]]}}}}</includeonly><noinclude>
{{documentation}}
</noinclude>

Latest revision as of 16:00, 26 June 2024

| {{{epno}}} || {{{eptitle}}} || {{{eptopic}}} || {{{epparticipants}}} || {{{eplink}}} |-