• New article from the Springfield Shopper: Season 36 News: New Preview Images for “O C’mon All Ye Faithful” 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:TabR"

Wikisimpsons - The Simpsons Wiki
(Reverting back...)
Line 1: Line 1:
<div style="text-align:center">
+
<includeonly><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;">[[{{{title|{{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}}|General]]</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:#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:{{#switch: {{{gags|yes}}} | yes=17% |no={{#switch: {{{quotes|yes}}}| yes=20%|no=25%}}}}; 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 style="float:left; width:{{#switch: {{{gags|yes}}} | yes=16% |no={{#switch: {{{quotes|yes}}}| yes=19%|no=24%}}}}; padding: .5em 0;">[[{{{title|{{PAGENAME}}}}}/Appearances|Appearances]]</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>
{{#switch:{{{gags|yes}}}|yes=<div style="float:left; width:16%; padding: .5em 0;">[[{{{title|{{PAGENAME}}}}}/Gags|Gags]]</div>|no=}}
+
{{#switch:{{{gags|yes}}}|yes=<div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/Gags|Gags]]</div>|no=}}
<div style="float:left; width:{{#switch: {{{gags|yes}}} | yes=16% |no={{#switch: {{{quotes|yes}}}| yes=19%|no=24%}}}}; padding: .5em 0;">[[{{{title|{{PAGENAME}}}}}/Credits|Credits]]</div>
+
<div style="float:left; width:{{#switch: {{{gags|yes}}} | yes=16% |no={{#switch: {{{quotes|yes}}}| yes=19%|no=24%}}}}; padding: .5em 0;">[[{{BASEPAGENAME}}/Credits|Credits]]</div>
{{#switch: {{{quotes|yes}}}|yes=<div style="float:left; width:{{#switch: {{{gags|yes}}} | yes=16% |no=19%}}; padding: .5em 0;">[[{{{title|{{PAGENAME}}}}}/Quotes|Quotes]]</div>|no=}}
+
{{#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>
 
</div>
<div style="clear:both; width:98%; padding:5px; border:2px solid #000000; background-color:transparent">{{#if:{{NAMESPACE}}||{{Realworld}}[[Category:References]]}}<noinclude>
+
<br>
 +
<div style="clear:both; width:98%; padding:5px; border:2px solid black; background-color:transparent"></includeonly><includeonly>{{#if:{{NAMESPACE}}||{{Realworld}}[[Category:References]]}}</includeonly><noinclude></div>
  
 
==Usage==
 
==Usage==
Line 14: Line 15:
 
{{TabR}}
 
{{TabR}}
 
</pre>
 
</pre>
 +
 
[[Category:Templates|Tab]][[sv:Mall:TabR]]</noinclude>
 
[[Category:Templates|Tab]][[sv:Mall:TabR]]</noinclude>

Revision as of 13:19, September 18, 2014

Usage

On a reference page, insert this at the top:

{{TabR}}