• 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:TabC"

Wikisimpsons - The Simpsons Wiki
(Undo revision 703671 by Solar Dragon (talk))
m
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly><div style="text-align:center;">
+
<includeonly>{{#switch:{{{1|gen}}}|gen=
<div style="float:left; width:{{#switch: {{{gags|yes}}} | yes=16% |no={{#switch: {{{quotes|yes}}}| yes=19%|no=24%}}}}; padding: .5em 0;">[[{{BASEPAGENAME}}|General]]</div>
+
<div style="text-align:center;">
<div style="float:left; width:{{#switch: {{{gags|yes}}} | yes=16% |no={{#switch: {{{quotes|yes}}}| yes=19%|no=24%}}}}; padding: .5em 0;">[[{{BASEPAGENAME}}/References|References/Trivia]]</div>
+
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}|General]]</div>
<div style="float:left; width:{{#switch: {{{gags|yes}}} | yes=16% |no={{#switch: {{{quotes|yes}}}| yes=19%|no=24%}}}}; padding: .5em 0;">[[{{BASEPAGENAME}}/Appearances|Appearances]]</div>
+
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/References|References/Trivia]]</div>
{{#switch:{{{gags|yes}}}|yes=<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/Gags|Gags]]</div>|no=}}
+
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/Appearances|Appearances]]</div>
<div class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};float:left; width:{{#switch: {{{gags|yes}}} | yes=17% |no={{#switch: {{{quotes|yes}}}| yes=20%|no=25%}}}}; padding: .5em 0;font-weight:bold; color: black; background-color:#{{LightBox}}; border:2px solid #{{DarkBox}};; border-bottom:0px; border-bottom:0; font-size:120%;">Credits</div>
+
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/Gags|Gags]]</div>
{{#switch: {{{quotes|yes}}}|yes=<div style="float:left; width:{{#switch: {{{gags|yes}}} | yes=16% |no=19%}}; padding: .5em 0;">[[{{BASEPAGENAME}}/Quotes|Quotes]]</div></div>|no=}}
+
<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%;">Credits</div>
 +
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/Quotes|Quotes]]</div></div>
 
</div>
 
</div>
 
<br>
 
<br>
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkBox}}; background-color:transparent; text-align:center;"></includeonly><includeonly>{{#if:{{NAMESPACE}}||{{Realworld}}[[Category:Credits]]}}</includeonly></div>
+
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent; text-align:center;">
<div style="text-align:center;"><noinclude></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 style="float:left; width:19%; padding: .5em 0;">[[{{BASEPAGENAME}}/Appearances|Appearances]]</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%;">Credits</div>
 +
<div style="float:left; width:19%; padding: .5em 0;">[[{{BASEPAGENAME}}/Quotes|Quotes]]</div></div>
 +
</div>
 +
<br>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent; text-align:center;">
 +
 
 +
|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 style="float:left; width:24%; padding: .5em 0;">[[{{BASEPAGENAME}}/Appearances|Appearances]]</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%;">Credits</div></div>
 +
</div>
 +
<br>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent; text-align:center;">
 +
 
 +
|ngr=
 +
<div style="text-align:center;">
 +
<div style="float:left; width:24%; padding: .5em 0;">[[{{BASEPAGENAME}}|General]]</div>
 +
<div style="float:left; width:24%; padding: .5em 0;">[[{{BASEPAGENAME}}/Appearances|Appearances]]</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%;">Credits</div>
 +
<div style="float:left; width:24%; padding: .5em 0;">[[{{BASEPAGENAME}}/Quotes|Quotes]]</div></div>
 +
</div>
 +
<br>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent; text-align:center;">
 +
 
 +
|ngqr=
 +
<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}}/Appearances|Appearances]]</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%;">Credits</div></div>
 +
</div>
 +
<br>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent; text-align:center;">
 +
 
 +
|co=
 +
<div style="text-align:center">
 +
<div style="float:left; width:50%; padding: 0.6em 0;">[[{{{title|{{BASEPAGENAME}}}}}|General]]</div>
 +
<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%;">Credits</div></div>
 +
</div>
 +
<br>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent; text-align:center;">
 +
 
 +
|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 style="float:left; width:19%; padding: .5em 0;">[[{{BASEPAGENAME}}/Appearances|Appearances]]</div>
 +
<div style="float:left; width:19%; padding: .5em 0;">[[{{BASEPAGENAME}}/Extras|Extras]]</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%;">Credits</div></div>
 +
</div>
 +
<br>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent; text-align:center;">
 +
 
 +
|Simprovised=
 +
<div style="text-align:center;">
 +
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}|General]]</div>
 +
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/Homer Live|Homer Live]]</div>
 +
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/References|References/Trivia]]</div>
 +
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/Appearances|Appearances]]</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%;">Credits</div>
 +
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/Quotes|Quotes]]</div></div>
 +
</div>
 +
<br>
 +
<div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkColorSwitch}}; background-color:transparent; text-align:center;">
 +
 
 +
}}
 +
</includeonly><noinclude>
  
 
==Usage==
 
==Usage==
 
On a credits page, insert this at the top:
 
On a credits page, insert this at the top:
<pre>
+
 
{{TabC}}
+
{{Table|width=50%|
</pre>
+
{{TH|Parameter}}
 +
{{TH|Usage}}
 +
{{TH|Description}}
 +
{{TBT|N/A}}
 +
{{TB|<nowiki>{{TabR}}</nowiki>}}
 +
{{TB|Has all tabs.}}
 +
{{TBT|<code>nogags</code>}}
 +
{{TB|<nowiki>{{TabR|nogags}}</nowiki>}}
 +
{{TB|Removes gags tab}}
 +
{{TBT|<code>ngq</code>}}
 +
{{TB|<nowiki>{{Tab|ngq}}</nowiki>}}
 +
{{TB|Removes gags and quotes tabs.}}
 +
{{TBT|<code>ngr</code>}}
 +
{{TB|<nowiki>{{TabC|ngr}}</nowiki>}}
 +
{{TB|Removes gags and references tabs.}}
 +
{{TBT|<code>ngqr</code>}}
 +
{{TB|<nowiki>{{TabC|ngqr}}</nowiki>}}
 +
{{TB|Removes gags, references and quotes tabs.}}
 +
{{TBT|<code>co</code>}}
 +
{{TB|<nowiki>{{TabC|co}}</nowiki>}}
 +
{{TB|Removes all but general and credits.}}
 +
{{TBT|<code>VG</code>}}
 +
{{TB|<nowiki>{{TabC|VG}}</nowiki>}}
 +
{{TB|Has no gags and quotes, but has an extras tab too.}}
 +
}}
  
 
[[Category:Templates|Tab]]
 
[[Category:Templates|Tab]]
[[sv:Mall:TabK]]</noinclude>
+
[[sv:Mall:TabK]]</noinclude><includeonly>{{#if:{{NAMESPACE}}||{{Icons|RW}}[[Category:Credits]]}}</includeonly>

Latest revision as of 13:03, April 14, 2024


Usage[edit]

On a credits page, insert this at the top:

Parameter Usage Description
N/A {{TabR}} Has all tabs.
nogags {{TabR|nogags}} Removes gags tab
ngq {{Tab|ngq}} Removes gags and quotes tabs.
ngr {{TabC|ngr}} Removes gags and references tabs.
ngqr {{TabC|ngqr}} Removes gags, references and quotes tabs.
co {{TabC|co}} Removes all but general and credits.
VG {{TabC|VG}} Has no gags and quotes, but has an extras tab too.