Difference between revisions of "Template:CategoryEP"
Wikisimpsons - The Simpsons Wiki
Solar Dragon (talk | contribs) |
|||
Line 1: | Line 1: | ||
{{#switch: {{{first|no}}}|no=<center><table style="background-color: #{{LightBox}}; border:5px solid #{{DarkBox}}" id="toc" class="toc plainlinks noprint" summary="Prev episode" align="{{{align|left}}}"> | {{#switch: {{{first|no}}}|no=<center><table style="background-color: #{{LightBox}}; border:5px solid #{{DarkBox}}" id="toc" class="toc plainlinks noprint" summary="Prev episode" align="{{{align|left}}}"> | ||
− | <tr><th>[[:Category:Images - {{{1}}}|← {{{cat|Previous}}} episode]]</th><td> | + | <tr><th>{{#if:{{{1|}}}[[:Category:Images - {{{1}}}|← {{{cat|Previous}}} episode]]}}</th><td> |
</td></tr></table></center>|yes=}} | </td></tr></table></center>|yes=}} | ||
{{#switch: {{{last|no}}}|no=<center><table style="background-color: #{{LightBox}}; border:5px solid #{{DarkBox}}; padding:0px 14px 0px 14px; text-align:center" id="toc" class="toc plainlinks noprint" summary="Next episode" align="{{{align|right}}}"> | {{#switch: {{{last|no}}}|no=<center><table style="background-color: #{{LightBox}}; border:5px solid #{{DarkBox}}; padding:0px 14px 0px 14px; text-align:center" id="toc" class="toc plainlinks noprint" summary="Next episode" align="{{{align|right}}}"> | ||
− | <tr><th>[[:Category:Images - {{{2}}}|{{{cat|Next}}} episode →]]</th><td> | + | <tr><th>{{#if:{{{2|}}}[[:Category:Images - {{{2}}}|{{{cat|Next}}} episode →]]}}</th><td> |
</td></tr></table></center>|yes=}}{{Clear}}<noinclude>[[Category:Templates]]</noinclude> | </td></tr></table></center>|yes=}}{{Clear}}<noinclude>[[Category:Templates]]</noinclude> |