• New article from the Springfield Shopper: Bart has a new friend this May in the Season finale!
  • New article from the Springfield Shopper: Season 35 News: New promotional images for “The Tipping Point” 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
m (top: replaced: {{LightBox}} → {{LightColorSwitch}} (16), {{DarkBox}} → {{DarkColorSwitch}} (32))
 
(40 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 +
<includeonly>{{#switch:{{{1|gen}}}|gen=
 
<div style="text-align:center">
 
<div style="text-align:center">
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};  float:left; width:{{#switch: {{{gags|no}}} | yes=17% |no={{#switch: {{{quotes|yes}}}| yes=20%|no=26%}}}}; padding: .5em 0;font-weight:bold; color: black; background-color:#FFEC73; border:2px solid #E0B400; border-bottom:0px; border-bottom:0; font-size:120%;">General</div>
+
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};  float:left; width:17%; padding: 0.6em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; border-bottom:0px; border-bottom:0; font-size:120%;">General</div>
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=16% |no={{#switch: {{{quotes|yes}}}| yes=19%|no=25%}}}}; padding: .5em 0;">[[{{{title|{{PAGENAME}}}}}/References|References/Trivia]]</div>
+
<div style="float:left; width:16%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/References|References/Trivia]]</div>
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=16% |no={{#switch: {{{quotes|yes}}}| yes=19%|no=25%}}}}; padding: .5em 0;">[[{{{title|{{PAGENAME}}}}}/Appearances|Appearances]]</div>
+
<div style="float:left; width:16%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Appearances|Appearances]]</div>
{{#if:{{{gags|}}}|<div style="float:left; width:16%; padding: .5em 0;">[[{{{title|{{PAGENAME}}}}}/Gags|Gags]]</div>}}
+
<div style="float:left; width:16%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Gags|Gags]]</div>
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=16% |no={{#switch: {{{quotes|yes}}}| yes=19%|no=25%}}}}; padding: .5em 0;">[[{{{title|{{PAGENAME}}}}}/Credits|Credits]]</div>
+
<div style="float:left; width:16%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Credits|Credits]]</div>
{{#switch: {{{quotes|yes}}}|yes=<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=16% |no=19%}}; padding: .5em 0;">[[{{{title|{{PAGENAME}}}}}/Quotes|Quotes]]</div>|no=}}
+
<div style="float:left; width:16%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Quotes|Quotes]]</div>
 
</div>
 
</div>
<div style="clear:both; width:98%; padding:5px; border:2px solid #000000; background-color:#FFFDD0"><noinclude>
+
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent">
 
</div>
 
</div>
  
 +
|nogags=
 +
<div style="text-align:center">
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};  float:left; width:20%; padding: 0.6em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; border-bottom:0px; border-bottom:0; font-size:120%;">General</div>
 +
<div style="float:left; width:19%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/References|References/Trivia]]</div>
 +
<div style="float:left; width:19%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Appearances|Appearances]]</div>
 +
<div style="float:left; width:19%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Credits|Credits]]</div>
 +
<div style="float:left; width:19%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Quotes|Quotes]]</div>
 +
</div>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent">
 +
</div>
 +
 +
|ngc=
 +
<div style="text-align:center">
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};  float:left; width:25%; padding: 0.6em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; border-bottom:0px; border-bottom:0; font-size:120%;">General</div>
 +
<div style="float:left; width:24%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/References|References/Trivia]]</div>
 +
<div style="float:left; width:23%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Appearances|Appearances]]</div>
 +
<div style="float:left; width:24%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Quotes|Quotes]]</div>
 +
</div>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent">
 +
</div>
 +
 +
|ngq=
 +
<div style="text-align:center">
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};  float:left; width:25%; padding: 0.6em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; border-bottom:0px; border-bottom:0; font-size:120%;">General</div>
 +
<div style="float:left; width:24%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/References|References/Trivia]]</div>
 +
<div style="float:left; width:23%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Appearances|Appearances]]</div>
 +
<div style="float:left; width:24%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Credits|Credits]]</div>
 +
</div>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent">
 +
</div>
 +
 +
|ngr=
 +
<div style="text-align:center">
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};  float:left; width:25%; padding: 0.6em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; border-bottom:0px; border-bottom:0; font-size:120%;">General</div>
 +
<div style="float:left; width:24%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Appearances|Appearances]]</div>
 +
<div style="float:left; width:24%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Credits|Credits]]</div>
 +
<div style="float:left; width:24%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Quotes|Quotes]]</div>
 +
</div>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent">
 +
</div>
 +
 +
|ngcq=
 +
<div style="text-align:center">
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};  float:left; width:33%; padding: 0.6em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; border-bottom:0px; border-bottom:0; font-size:120%;">General</div>
 +
<div style="float:left; width:32%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/References|References/Trivia]]</div>
 +
<div style="float:left; width:32%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Appearances|Appearances]]</div>
 +
</div>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent">
 +
</div>
 +
 +
|ngcr=
 +
<div style="text-align:center">
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};  float:left; width:33%; padding: 0.6em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; border-bottom:0px; border-bottom:0; font-size:120%;">General</div>
 +
<div style="float:left; width:32%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Appearances|Appearances]]</div>
 +
<div style="float:left; width:32%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Quotes|Quotes]]</div>
 +
</div>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent">
 +
</div>
 +
 +
|ngqr=
 +
<div style="text-align:center">
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};  float:left; width:33%; padding: 0.6em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; border-bottom:0px; border-bottom:0; font-size:120%;">General</div>
 +
<div style="float:left; width:32%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Appearances|Appearances]]</div>
 +
<div style="float:left; width:32%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Credits|Credits]]</div>
 +
</div>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent">
 +
</div>
 +
 +
|co=
 +
<div style="text-align:center">
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};  float:left; width:49%; padding: 0.6em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; border-bottom:0px; border-bottom:0; font-size:120%;">General</div>
 +
<div style="float:left; width:50%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Credits|Credits]]</div>
 +
</div>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent">
 +
</div>
 +
 +
|ao=
 +
<div style="text-align:center">
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};  float:left; width:49%; padding: 0.6em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; border-bottom:0px; border-bottom:0; font-size:120%;">General</div>
 +
<div style="float:left; width:50%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Appearances|Appearances]]</div>
 +
</div>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent">
 +
</div>
 +
 +
|VG=
 +
<div style="text-align:center">
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};  float:left; width:20%; padding: 0.6em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; border-bottom:0px; border-bottom:0; font-size:120%;">General</div>
 +
<div style="float:left; width:19%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/References|References/Trivia]]</div>
 +
<div style="float:left; width:19%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Appearances|Appearances]]</div>
 +
<div style="float:left; width:19%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Extras|Extras]]</div>
 +
<div style="float:left; width:19%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Credits|Credits]]</div>
 +
</div>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent">
 +
</div>
 +
 +
|VGL=
 +
<div style="text-align:center">
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};  float:left; width:20%; padding: 0.6em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; border-bottom:0px; border-bottom:0; font-size:120%;">General</div>
 +
<div style="float:left; width:19%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/References|References/Trivia]]</div>
 +
<div style="float:left; width:19%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Appearances|Appearances]]</div>
 +
<div style="float:left; width:19%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Extras|Extras]]</div>
 +
<div style="float:left; width:19%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Quotes|Quotes]]</div>
 +
</div>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent">
 +
</div>
 +
 +
|Ad=
 +
<div style="text-align:center">
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};  float:left; width:33%; padding: 0.6em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; border-bottom:0px; border-bottom:0; font-size:120%;">General</div>
 +
<div style="float:left; width:32%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/References|References/Trivia]]</div>
 +
<div style="float:left; width:32%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Appearances|Appearances]]</div>
 +
</div>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent">
 +
</div>
 +
 +
|Adnr=
 +
<div style="text-align:center">
 +
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};  float:left; width:49%; padding: 0.6em 0;font-weight:bold; color: black; background-color:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; border-bottom:0px; border-bottom:0; font-size:120%;">General</div>
 +
<div style="float:left; width:48%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Appearances|Appearances]]</div>
 +
</div>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent">
 +
</div>
 +
 +
|Simprovised=
 +
<div style="text-align:center">
 +
<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%;">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 style="float:left; width:16%; padding: .5em 0;">[[Simprovised/Appearances|Appearances]]</div>
 +
<div style="float:left; width:16%; padding: .5em 0;">[[Simprovised/Credits|Credits]]</div>
 +
<div style="float:left; width:16%; padding: 0.6em 0;">[[{{{title|{{PAGENAME}}}}}/Quotes|Quotes]]</div>
 +
</div>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent">
 +
</div>
 +
 +
|Live=
 +
<div style="text-align:center">
 +
<div style="float:left; width:16%; padding: .5em 0;">[[Simprovised|General]]</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%;">Homer Live</div>
 +
<div style="float:left; width:16%; padding: .5em 0;">[[Simprovised/References|References/Trivia]]</div>
 +
<div style="float:left; width:16%; padding: .5em 0;">[[Simprovised/Appearances|Appearances]]</div>
 +
<div style="float:left; width:16%; padding: .5em 0;">[[Simprovised/Credits|Credits]]</div>
 +
<div style="float:left; width:16%; padding: 0.6em 0;">[[Simprovised/Quotes|Quotes]]</div>
 +
</div>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent">
 +
</div>
 +
 +
}}</includeonly><noinclude>
 
Template designed by [[User:Simpsons88|Simpsons88]].
 
Template designed by [[User:Simpsons88|Simpsons88]].
 +
 +
{{Table|width=50%|
 +
{{TH|Parameter}}
 +
{{TH|Usage}}
 +
{{TH|Description}}
 +
{{TBT|N/A}}
 +
{{TB|<nowiki>{{Tab}}</nowiki>}}
 +
{{TB|Has all tabs.}}
 +
{{TBT|<code>nogags</code>}}
 +
{{TB|<nowiki>{{Tab|nogags}}</nowiki>}}
 +
{{TB|Removes gags tab}}
 +
{{TBT|<code>ngc</code>}}
 +
{{TB|<nowiki>{{Tab|ngc}}</nowiki>}}
 +
{{TB|Removes gags and credits tabs.}}
 +
{{TBT|<code>ngq</code>}}
 +
{{TB|<nowiki>{{Tab|ngq}}</nowiki>}}
 +
{{TB|Removes gags and quotes tabs.}}
 +
{{TBT|<code>ngr</code>}}
 +
{{TB|<nowiki>{{Tab|ngr}}</nowiki>}}
 +
{{TB|Removes gags and references tabs.}}
 +
{{TBT|<code>ngcq</code>}}
 +
{{TB|<nowiki>{{Tab|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>co</code>}}
 +
{{TB|<nowiki>{{Tab|co}}</nowiki>}}
 +
{{TB|Removes all but general and credits.}}
 +
{{TBT|<code>VG</code>}}
 +
{{TB|<nowiki>{{Tab|VG}}</nowiki>}}
 +
{{TB|Has no gags and quotes, but has an extras tab too.}}
 +
{{TBT|<code>VGL</code>}}
 +
{{TB|<nowiki>{{Tab|VG}}</nowiki>}}
 +
{{TB|Has no gags and credits, but has an extras tab too.}}
 +
{{TBT|<code>Ad</code>}}
 +
{{TB|<nowiki>{{Tab|Ad}}</nowiki>}}
 +
{{TB|Includes the tabs: General, References and Appearances.}}
 +
{{TBT|<code>Adnr</code>}}
 +
{{TB|<nowiki>{{Tab|Adnr}}</nowiki>}}
 +
{{TB|Includes the tabs: General and Appearances.}}
 +
}}
 +
 
[[Category:Templates|Tab]][[sv:Mall:Tab]]
 
[[Category:Templates|Tab]][[sv:Mall:Tab]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:52, September 24, 2020

Template designed by Simpsons88.

Parameter Usage Description
N/A {{Tab}} Has all tabs.
nogags {{Tab|nogags}} Removes gags tab
ngc {{Tab|ngc}} Removes gags and credits tabs.
ngq {{Tab|ngq}} Removes gags and quotes tabs.
ngr {{Tab|ngr}} Removes gags and references tabs.
ngcq {{Tab|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.
co {{Tab|co}} Removes all but general and credits.
VG {{Tab|VG}} Has no gags and quotes, but has an extras tab too.
VGL {{Tab|VG}} Has no gags and credits, but has an extras tab too.
Ad {{Tab|Ad}} Includes the tabs: General, References and Appearances.
Adnr {{Tab|Adnr}} Includes the tabs: General and Appearances.