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

From blackwiki
Jump to navigation Jump to search
imported>AussieLegend
(sync with original code)
imported>Voidxor
(Sync with the sandbox of the Lua module)
 
Line 1: Line 1:
 
<!--
 
<!--
 
 
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.
 
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>{{#invoke:Episode list/sandbox|list}}</includeonly><noinclude>
  
--><includeonly>{{#if:{{{TopColor|}}}{{{EpisodeNumber|}}}{{{EpisodeNumber2|}}}{{{Title|}}}{{{RTitle|}}}{{{AltTitle|}}}{{{RAltTitle|}}}{{{Aux1|}}}{{{DirectedBy|}}}{{{WrittenBy|}}}{{{Aux2|}}}{{{Aux3|}}}{{{OriginalAirDate|}}}{{{AltDate|}}}{{{ProdCode|}}}{{{Viewers|}}}{{{Aux4|}}}{{{ShortSummary|}}}{{{LineColor|}}}||}}<tr class="vevent" style="text-align: center; {{#if:{{{TopColor|}}}|background:#{{{TopColor}}}|{{#if:{{{ShortSummary|}}}|background:#F2F2F2}} }}">{{
+
{{Template sandbox notice}}
#ifeq:{{{EpisodeNumber|ʁ}}}|ʁ| |<th scope="row" id="ep{{{EpisodeNumber}}}" style="text-align: center; {{#if:{{{TopColor|}}}|background:#{{{TopColor}}}|{{#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>{{{Dir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}}}|ʁ|0|1}}+{{#ifeq:{{{EpisodeNumber2|ʁ}}}|ʁ|0|1}}}}">
 
{{{ShortSummary|}}}&nbsp;</td></tr>}}{{#if:{{{ShortSummary|}}}|{{#if:{{{LineColor|}}}||{{ns0|[[Category:Episode list using the default LineColor]]}}}}}}{{#if:{{{TopColor|}}}|{{ns0|[[Category:Episode lists with row deviations]]}}}}</includeonly><noinclude>
 
{{documentation}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 23:48, 18 December 2014