• New article from the Springfield Shopper: The Simpsons are trapped on a flight from Hell this December!
  • 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!
  • 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:Tab"

Wikisimpsons - The Simpsons Wiki
Line 3: Line 3:
 
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=12% |no=19%}}; padding: .5em 0;">[[{{{title|{{PAGENAME}}}}}/References|References/Trivia]]</div>
 
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=12% |no=19%}}; padding: .5em 0;">[[{{{title|{{PAGENAME}}}}}/References|References/Trivia]]</div>
 
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=12% |no=19%}}; padding: .5em 0;">[[{{{title|{{PAGENAME}}}}}/Appearances|Appearances]]</div>
 
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=12% |no=19%}}; padding: .5em 0;">[[{{{title|{{PAGENAME}}}}}/Appearances|Appearances]]</div>
{{#if:{{{gags|}}}|
+
{{#if:{{{gags|}}}|<div style="float:left; width:12%; padding: .5em 0;">[[{{{title|{{PAGENAME}}}}}/Gags|Gags]]</div>}}
<div style="float:left; width:12%; padding: .5em 0;">[[{{{title|{{PAGENAME}}}}}/Gags|Gags]]</div>
 
}}
 
 
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=12% |no=19%}}; padding: .5em 0;">[[{{{title|{{PAGENAME}}}}}/Credits|Credits]]</div>
 
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=12% |no=19%}}; padding: .5em 0;">[[{{{title|{{PAGENAME}}}}}/Credits|Credits]]</div>
 
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=12% |no=19%}}; padding: .5em 0;">[[{{{title|{{PAGENAME}}}}}/Quotes|Quotes]]</div></div>
 
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=12% |no=19%}}; padding: .5em 0;">[[{{{title|{{PAGENAME}}}}}/Quotes|Quotes]]</div></div>

Revision as of 14:18, March 21, 2012

Template designed by Simpsons88.