Difference between revisions of "Template:Episode list/sublist"

From Ava Zinn Wiki
Jump to: navigation, search
[checked revision][unchecked revision]
(Redirected page to Template:Episode list)
Line 1: Line 1:
<!--
+
#REDIRECT [[Template:Episode list]]
 
 
Please do not "fork" this template by making copies with changes for a particular show instead discuss on the talk page how this template can be used and if necessary modified to do what you need.
 
 
 
--><includeonly>{{#if:{{{MainList|{{{1|}}}}}}{{{TopColor|}}}{{{RowColor|}}}{{{EpisodeNumber|}}}{{{EpisodeNumber2|}}}{{{Title|}}}{{{RTitle|}}}{{{AltTitle|}}}{{{RAltTitle|}}}{{{Aux1|}}}{{{DirectedBy|}}}{{{WrittenBy|}}}{{{Aux2|}}}{{{Aux3|}}}{{{OriginalAirDate|}}}{{{AltDate|}}}{{{ProdCode|}}}{{{Viewers|}}}{{{Aux4|}}}<!--Test the ShortSummary only if it is going to be used-->{{#ifeq: {{anchorencode:{{{MainList|{{{1|}}}}}}}} | {{anchorencode:{{PAGENAME}}}} | <!--nothing--> | {{{ShortSummary|}}}}}<!--end of ShortSummary test-->{{{LineColor|}}}||}}<tr class="vevent" style="text-align: center;{{#if:{{{TopColor|}}}|background:#{{{TopColor}}}|{{
 
  #ifeq: {{anchorencode:{{{MainList|{{{1|}}}}}}}} | {{anchorencode:{{PAGENAME}}}} | {{
 
    #switch: {{{RowColor|}}} | On | on | Yes | yes | Y | y=background:#E9E9E9; | Off | off | No | no | N | n= | #default= {{
 
      #ifeq: {{ #expr: {{{EpisodeNumber}}} mod 2 }} | 0 | <!--Even-->background:#E9E9E9; | <!--Odd-->
 
      }}
 
    }} | {{
 
    #if:{{{ShortSummary|}}} | background:#F2F2F2;
 
    }}
 
  }}}}
 
">{{
 
  #ifeq:{{{EpisodeNumber|ʁ}}}|ʁ| |<th scope="row" id="ep{{{EpisodeNumber}}}" style="text-align: center;{{#if:{{{TopColor|}}}|background:#{{{TopColor}}}|{{
 
    #ifeq: {{anchorencode:{{{MainList|{{{1|}}}}}}}} | {{anchorencode:{{PAGENAME}}}} | {{
 
      #switch: {{{RowColor|}}} | On | on | Yes | yes | Y | y=background:#E9E9E9; | Off | off | No | no | N | n= | #default= {{
 
        #ifeq: {{ #expr: {{{EpisodeNumber}}} mod 2 }} | 0 | <!--Even-->background:#E9E9E9; | <!--Odd-->
 
        }}
 
      }} | {{
 
      #if:{{{ShortSummary|}}} | background:#F2F2F2;
 
      }}
 
    }}}}
 
  ">{{{EpisodeNumber}}}</th>}}{{
 
#ifeq:{{{EpisodeNumber2|ʁ}}}|ʁ| |<td>{{{EpisodeNumber2}}}</td>}}
 
<td class="summary" style="text-align: left;">{{#if:{{{Title|}}}|"{{{Title}}}"}}{{{RTitle|}}} {{#if:{{{AltTitle|}}}|<br />"{{{AltTitle}}}"}}{{{RAltTitle|}}}</td>{{
 
#ifeq:{{{Aux1|ʁ}}}|ʁ| |<td>{{{Aux1}}}</td>}}{{
 
#ifeq:{{{DirectedBy|ʁ}}}|ʁ| |<td>{{{DirectedBy}}}</td>}}{{
 
#ifeq:{{{WrittenBy|ʁ}}}|ʁ| |<td>{{{WrittenBy}}}</td>}}{{
 
#ifeq:{{{Aux2|ʁ}}}|ʁ| |<td>{{{Aux2}}}</td>}}{{
 
#ifeq:{{{Aux3|ʁ}}}|ʁ| |<td>{{{Aux3}}}</td>}}{{
 
#ifeq:{{{OriginalAirDate|ʁ}}}|ʁ| |<td>{{{OriginalAirDate}}}</td>}}{{
 
#ifeq:{{{AltDate|ʁ}}}|ʁ| |<td>{{{AltDate}}}</td>}}{{
 
#ifeq:{{{ProdCode|ʁ}}}|ʁ| |<td id="pc{{{ProdCode}}}">{{{ProdCode}}}</td>}}{{
 
#ifeq:{{{Viewers|ʁ}}}|ʁ| |<td>{{{Viewers}}}</td>{{ns0|[[Category:Episode sublists with Viewers]]}}}}}}{{
 
#ifeq:{{{Aux4|ʁ}}}|ʁ| |<td>{{{Aux4}}}</td>}}</tr>{{#ifeq:{{anchorencode:{{{MainList|{{{1|}}}}}}}}|{{anchorencode:{{PAGENAME}}}}||{{#if:{{{ShortSummary|}}}|<tr><td class="description" style="border-bottom:3px solid #{{#if:{{{LineColor|}}}|{{{LineColor}}}|CCCCFF}}" colspan="{{#expr:{{#ifeq:{{{Title|ʁ}}}|ʁ|{{#ifeq:{{{AltTitle|ʁ}}}|ʁ|{{#ifeq:{{{RTitle|ʁ}}}|ʁ|0|1}}|1}}|1}}+{{#ifeq:{{{DirectedBy|ʁ}}}|ʁ|0|1}}+{{#ifeq:{{{WrittenBy|ʁ}}}|ʁ|0|1}}+{{#ifeq:{{{Aux1|ʁ}}}|ʁ|0|1}}+{{#ifeq:{{{Aux2|ʁ}}}|ʁ|0|1}}+{{#ifeq:{{{Aux3|ʁ}}}|ʁ|0|1}}+{{#ifeq:{{{Aux4|ʁ}}}|ʁ|0|1}}+{{#ifeq:{{{AltDate|ʁ}}}|ʁ|0|1}}+{{#ifeq:{{{OriginalAirDate|ʁ}}}|ʁ|0|1}}+{{#ifeq:{{{ProdCode|ʁ}}}|ʁ|0|1}}+{{#ifeq:{{{Viewers|ʁ}}}|ʁ|0|1}}+{{#ifeq:{{{EpisodeNumber|ʁ}}}|ʁ|0|1}}+{{#ifeq:{{{EpisodeNumber2|ʁ}}}|ʁ|0|1}}}}">
 
{{{ShortSummary|}}}&nbsp;</td></tr>}}}}{{#ifeq:{{anchorencode:{{{MainList|{{{1|}}}}}}}}|{{anchorencode:{{PAGENAME}}}}||{{#if:{{{ShortSummary|}}}|{{#if:{{{LineColor|}}}||{{ns0|[[Category:Episode list using the default LineColor]]}}}}}}{{#if:{{{TopColor|}}}|{{ns0|[[Category:Episode lists with row deviations]]}}}}}}</includeonly><noinclude>
 
{{Documentation|Template:Episode list/doc}}
 
</noinclude>
 

Revision as of 17:05, 6 September 2018