• New article from the Springfield Shopper: Season 36 News: A new episode title, “Homer and Her Sisters”, has 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:TabQ"

Wikisimpsons - The Simpsons Wiki
(Quick test.)
Line 1: Line 1:
 
<div style="text-align:center">
 
<div style="text-align:center">
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=16% |no=19%}}; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}}}{{#if:{{{comic|}}}|{{{comic|}}}}}|General]]</div>
+
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=16% |no=19%}}; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}|{{BASEPAGENAME}}}}{{#if:{{{comic|}}}|{{{comic|}}}|{{BASEPAGENAME}}}}|General]]</div>
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=16% |no=19%}}; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}}}{{#if:{{{comic|}}}|{{{comic|}}}}}/References|References/Trivia]]</div>
+
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=16% |no=19%}}; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}|{{BASEPAGENAME}}}}{{#if:{{{comic|}}}|{{{comic|}}}|{{BASEPAGENAME}}}}/References|References/Trivia]]</div>
 
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=16% |no=19%}}; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}}}{{#if:{{{comic|}}}|{{{comic|}}}}}/Appearances | Appearances]]</div>
 
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=16% |no=19%}}; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}}}{{#if:{{{comic|}}}|{{{comic|}}}}}/Appearances | Appearances]]</div>
 
{{#if:{{{gags|}}}|<div style="float:left; width:16%; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}}}{{#if:{{{comic|}}}|{{{comic|}}}}}/Gags|Gags]]</div>}}
 
{{#if:{{{gags|}}}|<div style="float:left; width:16%; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}}}{{#if:{{{comic|}}}|{{{comic|}}}}}/Gags|Gags]]</div>}}

Revision as of 14:18, March 27, 2012


Usage

On a Quote page, insert this at the top:

{{TabQ
|episode= 
}}