• New article from the Springfield Shopper: Krusty’s aunt helps repair Homer’s relationship with Patty and Selma this December!
  • New article from the Springfield Shopper: Season 36 News: A new episode title, “P.S., I Hate You”, 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:TabA"

Wikisimpsons - The Simpsons Wiki
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;">[[{{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;">[[{{BASEPAGENAME}}/References|References/Trivia]]</div>
 
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};float:left; width:{{#switch: {{{gags|no}}} | yes=17% |no=20%}}; padding: .5em 0;font-weight:bold; color: black; background-color:#FFEC73; border:2px solid #E0B400;; border-bottom:0px; border-bottom:0; font-size:120%;">Appearances</div>
 
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};float:left; width:{{#switch: {{{gags|no}}} | yes=17% |no=20%}}; padding: .5em 0;font-weight:bold; color: black; background-color:#FFEC73; border:2px solid #E0B400;; border-bottom:0px; border-bottom:0; font-size:120%;">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;">[[{{BASEPAGENAME}}/Gags|Gags]]</div>}}
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=16% |no=19%}}; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}}}{{#if:{{{comic|}}}|{{{comic|}}}}}/Credits|Credits]]</div>
+
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=16% |no=19%}}; padding: .5em 0;">[[{{BASEPAGENAME}}/Credits|Credits]]</div>
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=16% |no=19%}}; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}}}{{#if:{{{comic|}}}|{{{comic|}}}}}/Quotes|Quotes]]</div>
+
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=16% |no=19%}}; padding: .5em 0;">[[{{BASEPAGENAME}}/Quotes|Quotes]]</div>
 
</div>
 
</div>
 
<br>
 
<br>
Line 13: Line 13:
 
On a appearance page, insert this at the top:
 
On a appearance page, insert this at the top:
 
<pre>
 
<pre>
{{TabA
+
{{TabA}}
|episode=
 
}}
 
 
</pre>
 
</pre>
  
 
[[Category:Templates|Tab]]</noinclude>
 
[[Category:Templates|Tab]]</noinclude>

Revision as of 18:09, April 10, 2012


Usage

On a appearance page, insert this at the top:

{{TabA}}