• New article from the Springfield Shopper: A Sneak Peek for “Treehouse of Horror Presents: Simpsons Wicked This Way Comes” has been released!
  • New article from the Springfield Shopper: Season 36 News: Even more Preview Images for “O C’mon All Ye Faithful” have been released!
  • New article from the Springfield Shopper: Season 36 News: The stories which the segments of “Simpsons Wicked This Way Comes” are based of have been announced!
  • 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))
 
(5 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>[[: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>[[: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 12:45, September 24, 2020