• Wikisimpsons needs more Featured Article, Picture, Quote, Episode and Comprehensive article nominations!
  • Wikisimpsons has a Discord server! Click here for your invite! Join to talk about the wiki, Simpsons and Tapped Out news, or just to talk to other users.
  • Make an account! It's easy, free, and your work on the wiki can be attributed to you.
TwitterFacebookDiscord

Difference between revisions of "Template:CategoryEP"

Wikisimpsons - The Simpsons Wiki
m (top: replaced: {{LightBox}} → {{LightColorSwitch}} (2), {{DarkBox}} → {{DarkColorSwitch}} (2))
 
(4 intermediate revisions by one other user not shown)
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}}}">
+
{{#if: {{{1|}}}|<center><table style="background-color: #{{LightColorSwitch}}; border:5px solid #{{DarkColorSwitch}}" id="toc" class="toc plainlinks noprint" summary="Prev episode" align="{{{align|left}}}">
<tr><th>{{#if:{{{1|}}}[[:Category:Images - {{{1}}}|&larr; {{{cat|Previous}}} episode]]}}</th><td>
+
<tr><th>[[:Category:Images - {{{1}}}|&larr; {{{cat|Previous}}} episode]]</th><td>
</td></tr></table></center>|yes=}}
+
</td></tr></table></center>}}
{{#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}}}">
+
{{#if: {{{2|}}}|<center><table style="background-color: #{{LightColorSwitch}}; border:5px solid #{{DarkColorSwitch}}; padding:0px 14px 0px 14px; text-align:center" id="toc" class="toc plainlinks noprint" summary="Next episode" align="{{{align|right}}}">
<tr><th>{{#if:{{{2|}}}[[:Category:Images - {{{2}}}|{{{cat|Next}}} episode &rarr;]]}}</th><td>
+
<tr><th>[[:Category:Images - {{{2}}}|{{{cat|Next}}} episode &rarr;]]</th><td>
</td></tr></table></center>|yes=}}{{Clear}}<noinclude>[[Category:Templates]]</noinclude>
+
</td></tr></table></center>}}{{Clear}}<noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 13:45, September 24, 2020