• New article from the Springfield Shopper: Season 36 News: A Sneak Peek for “O C’mon All Ye Faithful” has been released!
  • New article from the Springfield Shopper: The Pin Pals make it to the state championship 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:TabR"

Wikisimpsons - The Simpsons Wiki
(Test)
m
 
(39 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
<includeonly>{{Icons|RW}}{{#switch:{{{1|gen}}}|gen=
 
<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;">[[{{BASEPAGENAME}}|General]]</div>
+
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}|General]]</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%;">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%;">References/Trivia</div>
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=16% |no=19%}}; padding: .5em 0;">[[{{BASEPAGENAME}}/Appearances|Appearances]]</div>
+
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/Appearances|Appearances]]</div>
{{#if:{{{gags|}}}|<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/Gags|Gags]]</div>}}
+
<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;">[[{{BASEPAGENAME}}/Credits|Credits]]</div>
+
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/Credits|Credits]]</div>
<div style="float:left; width:{{#switch: {{{gags|no}}} | yes=16% |no=19%}}; padding: .5em 0;">[[{{BASEPAGENAME}}/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:98%; padding:5px; border:2px solid black; background-color: #FFFFE0"><includeonly>{{#if:{{NAMESPACE}}||{{Realworld}}[[Category:References]]}}</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 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%;">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}}/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 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%;">References/Trivia</div>
 +
<div style="float:left; width:23%; padding: .5em 0;">[[{{BASEPAGENAME}}/Appearances|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 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%;">References/Trivia</div>
 +
<div style="float:left; width:23%; padding: .5em 0;">[[{{BASEPAGENAME}}/Appearances|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>
 +
 
 +
|ngcq=
 +
<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%;">References/Trivia</div>
 +
<div style="float:left; width:32%; padding: .5em 0;">[[{{BASEPAGENAME}}/Appearances|Appearances]]</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 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%;">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 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 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%;">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 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>
 +
 
 +
|Ad=
 +
<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%;">References/Trivia</div>
 +
<div style="float:left; width:32%; padding: .5em 0;">[[{{BASEPAGENAME}}/Appearances|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;">[[{{BASEPAGENAME}}|General]]</div>
 +
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/Homer Live|Homer Live]]</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%;">References/Trivia</div>
 +
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/Appearances|Appearances]]</div>
 +
<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/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>
 +
}}{{#if:{{NAMESPACE}}||[[Category:References]]}}</includeonly><noinclude>
  
 
==Usage==
 
==Usage==
 
On a reference page, insert this at the top:
 
On a reference page, insert this at the top:
<pre>
+
 
{{TabR
+
{{Table|width=50%|
|episode=
+
{{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>ngc</code>}}
 +
{{TB|<nowiki>{{TabR|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>ngcq</code>}}
 +
{{TB|<nowiki>{{TabR|ngcq}}</nowiki>}}
 +
{{TB|Removes gags, credits and quotes tabs.}}
 +
{{TBT|<code>VG</code>}}
 +
{{TB|<nowiki>{{TabR|VG}}</nowiki>}}
 +
{{TB|Has no gags and quotes, but has an extras tab too.}}
 +
{{TBT|<code>VGL</code>}}
 +
{{TB|<nowiki>{{TabR|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.}}
 
}}
 
}}
</pre>
 
  
 
[[Category:Templates|Tab]][[sv:Mall:TabR]]</noinclude>
 
[[Category:Templates|Tab]][[sv:Mall:TabR]]</noinclude>

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


Usage[edit]

On a reference page, insert this at the top:

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