• New article from the Springfield Shopper: Season 36 News: A new episode title, “Homer and Her Sisters”, has been announced!
  • New article from the Springfield Shopper: The Simpsons are trapped on a flight from Hell this December!
  • 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
m
 
(37 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
<includeonly>{{#switch:{{{1|gen}}}|gen=
 
<div style="text-align:center">
 
<div style="text-align:center">
<div style="float:left; width:19%; padding: .5em 0;">[[{{{episode|}}}|General]]</div>
+
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}|General]]</div>
<div style="float:left; width:19%; padding: .5em 0;">[[{{{episode|}}}/References|References/Trivia]]</div>
+
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/References|References/Trivia]]</div>
<div style="float:left; width:19%; padding: .5em 0;font-weight:bold; color: black; background-color:yellow;
+
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};float:left; width:17%; padding: .5em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}};; border-bottom:0px; border-bottom:0; font-size:120%;">Appearances</div>
border:2px solid #000; border-bottom:0px; border-bottom:0; font-size:120%;">Appearances</div>
+
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/Gags|Gags]]</div>
<div style="float:left; width:19%; padding: .5em 0;">[[{{{episode|}}}/Credits|Credits]]</div>
+
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/Credits|Credits]]</div>
<div style="float:left; width:19%; padding: .5em 0;">[[{{{episode|}}}/Quotes|Quotes]]</div>
+
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/Quotes|Quotes]]</div>
 
</div>
 
</div>
 
<br>
 
<br>
<div style="clear:both; width:99%; padding:5px; border:2px solid #000000; background-color:#FFFDD0"><includeonly>{{#if:{{NAMESPACE}}||[[Category:Appearances]]{{Realworld}}}}</includeonly><noinclude></div>
+
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent"></div>
 +
 
 +
|nogags=
 +
<div style="text-align:center">
 +
<div style="float:left; width:19%; padding: .5em 0;">[[{{BASEPAGENAME}}|General]]</div>
 +
<div style="float:left; width:19%; padding: .5em 0;">[[{{BASEPAGENAME}}/References|References/Trivia]]</div>
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};float:left; width:20%; padding: .5em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}};; border-bottom:0px; border-bottom:0; font-size:120%;">Appearances</div>
 +
<div style="float:left; width:19%; padding: .5em 0;">[[{{BASEPAGENAME}}/Credits|Credits]]</div>
 +
<div style="float:left; width:19%; padding: .5em 0;">[[{{BASEPAGENAME}}/Quotes|Quotes]]</div>
 +
</div>
 +
<br>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent"></div>
 +
 
 +
|ngc=
 +
<div style="text-align:center">
 +
<div style="float:left; width:24%; padding: .5em 0;">[[{{BASEPAGENAME}}|General]]</div>
 +
<div style="float:left; width:23%; padding: .5em 0;">[[{{BASEPAGENAME}}/References|References/Trivia]]</div>
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};float:left; width:25%; padding: .5em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}};; border-bottom:0px; border-bottom:0; font-size:120%;">Appearances</div>
 +
<div style="float:left; width:24%; padding: .5em 0;">[[{{BASEPAGENAME}}/Quotes|Quotes]]</div>
 +
</div>
 +
<br>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent"></div>
 +
 
 +
|ngq=
 +
<div style="text-align:center">
 +
<div style="float:left; width:24%; padding: .5em 0;">[[{{BASEPAGENAME}}|General]]</div>
 +
<div style="float:left; width:23%; padding: .5em 0;">[[{{BASEPAGENAME}}/References|References/Trivia]]</div>
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};float:left; width:25%; padding: .5em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}};; border-bottom:0px; border-bottom:0; font-size:120%;">Appearances</div>
 +
<div style="float:left; width:24%; padding: .5em 0;">[[{{BASEPAGENAME}}/Credits|Credits]]</div>
 +
</div>
 +
<br>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent"></div>
 +
 
 +
|ngr=
 +
<div style="text-align:center">
 +
<div style="float:left; width:24%; padding: .5em 0;">[[{{BASEPAGENAME}}|General]]</div>
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};float:left; width:25%; padding: .5em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}};; border-bottom:0px; border-bottom:0; font-size:120%;">Appearances</div>
 +
<div style="float:left; width:24%; padding: .5em 0;">[[{{BASEPAGENAME}}/Credits|Credits]]</div>
 +
<div style="float:left; width:24%; padding: .5em 0;">[[{{BASEPAGENAME}}/Quotes|Quotes]]</div>
 +
</div>
 +
<br>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent"></div>
 +
 
 +
|ngcq=
 +
<div style="text-align:center">
 +
<div style="float:left; width:32%; padding: .5em 0;">[[{{BASEPAGENAME}}|General]]</div>
 +
<div style="float:left; width:32%; padding: .5em 0;">[[{{BASEPAGENAME}}/References|References/Trivia]]</div>
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};float:left; width:33%; padding: .5em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}};; border-bottom:0px; border-bottom:0; font-size:120%;">Appearances</div>
 +
</div>
 +
<br>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent"></div>
 +
 
 +
|ngcr=
 +
<div style="text-align:center">
 +
<div style="float:left; width:32%; padding: .5em 0;">[[{{BASEPAGENAME}}|General]]</div>
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};float:left; width:33%; padding: .5em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}};; border-bottom:0px; border-bottom:0; font-size:120%;">Appearances</div>
 +
<div style="float:left; width:32%; padding: .5em 0;">[[{{BASEPAGENAME}}/Quotes|Quotes]]</div>
 +
</div>
 +
<br>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent"></div>
 +
 
 +
|ngqr=
 +
<div style="text-align:center">
 +
<div style="float:left; width:32%; padding: .5em 0;">[[{{BASEPAGENAME}}|General]]</div>
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};float:left; width:33%; padding: .5em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}};; border-bottom:0px; border-bottom:0; font-size:120%;">Appearances</div>
 +
<div style="float:left; width:32%; padding: .5em 0;">[[{{BASEPAGENAME}}/Credits|Credits]]</div>
 +
</div>
 +
<br>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent"></div>
 +
 
 +
|VG=
 +
<div style="text-align:center">
 +
<div style="float:left; width:19%; padding: .5em 0;">[[{{BASEPAGENAME}}|General]]</div>
 +
<div style="float:left; width:19%; padding: .5em 0;">[[{{BASEPAGENAME}}/References|References/Trivia]]</div>
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};float:left; width:20%; padding: .5em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}};; border-bottom:0px; border-bottom:0; font-size:120%;">Appearances</div>
 +
<div style="float:left; width:19%; padding: .5em 0;">[[{{BASEPAGENAME}}/Extras|Extras]]</div>
 +
<div style="float:left; width:19%; padding: .5em 0;">[[{{BASEPAGENAME}}/Credits|Credits]]</div>
 +
</div>
 +
<br>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent"></div>
 +
 
 +
|VGL=
 +
<div style="text-align:center">
 +
<div style="float:left; width:19%; padding: .5em 0;">[[{{BASEPAGENAME}}|General]]</div>
 +
<div style="float:left; width:19%; padding: .5em 0;">[[{{BASEPAGENAME}}/References|References/Trivia]]</div>
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};float:left; width:20%; padding: .5em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}};; border-bottom:0px; border-bottom:0; font-size:120%;">Appearances</div>
 +
<div style="float:left; width:19%; padding: .5em 0;">[[{{BASEPAGENAME}}/Extras|Extras]]</div>
 +
<div style="float:left; width:19%; padding: .5em 0;">[[{{BASEPAGENAME}}/Quotes|Quotes]]</div>
 +
</div>
 +
<br>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent"></div>
 +
 
 +
|ao=
 +
<div style="text-align:center">
 +
<div style="float:left; width:49%; padding: .5em 0;">[[{{BASEPAGENAME}}|General]]</div>
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};float:left; width:49%; padding: .5em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}};; border-bottom:0px; border-bottom:0; font-size:120%;">Appearances</div>
 +
</div>
 +
<br>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent"></div>
 +
 
 +
|Ad=
 +
<div style="text-align:center">
 +
<div style="float:left; width:32%; padding: .5em 0;">[[{{BASEPAGENAME}}|General]]</div>
 +
<div style="float:left; width:32%; padding: .5em 0;">[[{{BASEPAGENAME}}/References|References/Trivia]]</div>
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};float:left; width:33%; padding: .5em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}};; border-bottom:0px; border-bottom:0; font-size:120%;">Appearances</div>
 +
</div>
 +
<br>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent"></div>
 +
 
 +
|Adnr=
 +
<div style="text-align:center">
 +
<div style="float:left; width:48%; padding: .5em 0;">[[{{BASEPAGENAME}}|General]]</div>
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};float:left; width:48%; padding: .5em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}};; border-bottom:0px; border-bottom:0; font-size:120%;">Appearances</div>
 +
</div>
 +
<br>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent"></div>
 +
 
 +
|Simprovised=
 +
<div style="text-align:center">
 +
<div style="float:left; width:16%; padding: .5em 0;">[[Simprovised|General]]</div>
 +
<div style="float:left; width:16%; padding: .5em 0;">[[Simprovised/Homer Live|Homer Live]]</div>
 +
<div style="float:left; width:16%; padding: .5em 0;">[[Simprovised/References|References/Trivia]]</div>
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};float:left; width:17%; padding: .5em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}};; border-bottom:0px; border-bottom:0; font-size:120%;">Appearances</div>
 +
<div style="float:left; width:16%; padding: .5em 0;">[[Simprovised/Credits|Credits]]</div>
 +
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/Quotes|Quotes]]</div>
 +
</div>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent">
 +
</div>
 +
 
 +
}}
 +
</includeonly><includeonly>{{#if:{{NAMESPACE}}||[[Category:Appearances]]}}</includeonly><noinclude>
  
 
==Usage==
 
==Usage==
On a appearance page, insert this at the top:
+
On an appearance page, insert this at the top:
<pre>
+
 
{{TabA
+
{{Table|width=50%|
|episode=
+
{{TH|Parameter}}
 +
{{TH|Usage}}
 +
{{TH|Description}}
 +
{{TBT|N/A}}
 +
{{TB|<nowiki>{{TabA}}</nowiki>}}
 +
{{TB|Has all tabs.}}
 +
{{TBT|<code>nogags</code>}}
 +
{{TB|<nowiki>{{TabA|nogags}}</nowiki>}}
 +
{{TB|Removes gags tab}}
 +
{{TBT|<code>ngc</code>}}
 +
{{TB|<nowiki>{{TabA|ngc}}</nowiki>}}
 +
{{TB|Removes gags and credits tabs.}}
 +
{{TBT|<code>ngq</code>}}
 +
{{TB|<nowiki>{{TabA|ngq}}</nowiki>}}
 +
{{TB|Removes gags and quotes tabs.}}
 +
{{TBT|<code>ngr</code>}}
 +
{{TB|<nowiki>{{TabA|ngr}}</nowiki>}}
 +
{{TB|Removes gags and references tabs.}}
 +
{{TBT|<code>ngcq</code>}}
 +
{{TB|<nowiki>{{TabA|ngcq}}</nowiki>}}
 +
{{TB|Removes gags, credits and quotes tabs.}}
 +
{{TBT|<code>ngcr</code>}}
 +
{{TB|<nowiki>{{Tab|ngcr}}</nowiki>}}
 +
{{TB|Removes gags, references and credits tabs.}}
 +
{{TBT|<code>ngqr</code>}}
 +
{{TB|<nowiki>{{Tab|ngqr}}</nowiki>}}
 +
{{TB|Removes gags, references and quotes tabs.}}
 +
{{TBT|<code>VG</code>}}
 +
{{TB|<nowiki>{{TabA|VG}}</nowiki>}}
 +
{{TB|Has no gags and quotes, but has an extras tab too.}}
 +
{{TBT|<code>VGL</code>}}
 +
{{TB|<nowiki>{{TabA|VGL}}</nowiki>}}
 +
{{TB|Has no gags and credits, but has an extras tab too.}}
 +
{{TBT|<code>Ad</code>}}
 +
{{TB|<nowiki>{{TabA|Ad}}</nowiki>}}
 +
{{TB|Includes the tabs: General, References, Appearances and Transcript.}}
 +
{{TBT|<code>Adnr</code>}}
 +
{{TB|<nowiki>{{TabA|Adnr}}</nowiki>}}
 +
{{TB|Includes the tabs: General, Appearances and Transcript.}}
 
}}
 
}}
</pre>
 
  
 
[[Category:Templates|Tab]]</noinclude>
 
[[Category:Templates|Tab]]</noinclude>

Latest revision as of 10:55, April 14, 2024


Usage[edit]

On an appearance page, insert this at the top:

Parameter Usage Description
N/A {{TabA}} Has all tabs.
nogags {{TabA|nogags}} Removes gags tab
ngc {{TabA|ngc}} Removes gags and credits tabs.
ngq {{TabA|ngq}} Removes gags and quotes tabs.
ngr {{TabA|ngr}} Removes gags and references tabs.
ngcq {{TabA|ngcq}} Removes gags, credits and quotes tabs.
ngcr {{Tab|ngcr}} Removes gags, references and credits tabs.
ngqr {{Tab|ngqr}} Removes gags, references and quotes tabs.
VG {{TabA|VG}} Has no gags and quotes, but has an extras tab too.
VGL {{TabA|VGL}} Has no gags and credits, but has an extras tab too.
Ad {{TabA|Ad}} Includes the tabs: General, References, Appearances and Transcript.
Adnr {{TabA|Adnr}} Includes the tabs: General, Appearances and Transcript.