Difference between revisions of "Template:TabQ"
Wikisimpsons - The Simpsons Wiki
Solar Dragon (talk | contribs) |
Solar Dragon (talk | contribs) |
||
Line 1: | Line 1: | ||
<div style="text-align:center"> | <div style="text-align:center"> | ||
− | <div style="float:left; width:19%; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}}}{{#if:{{{comic|}}}|{{{comic|}}}}}|General]]</div> | + | <div style="float:left; width:{{#switch: {{{gags|no}}} | yes=16% |no=19%}}; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}}}{{#if:{{{comic|}}}|{{{comic|}}}}}|General]]</div> |
− | <div style="float:left; width:19%; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}}}{{#if:{{{comic|}}}|{{{comic|}}}}}/References|References/Trivia]]</div> | + | <div style="float:left; width:{{#switch: {{{gags|no}}} | yes=16% |no=19%}}; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}}}{{#if:{{{comic|}}}|{{{comic|}}}}}/References|References/Trivia]]</div> |
− | <div style="float:left; width:19%; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}}}{{#if:{{{comic|}}}|{{{comic|}}}}}/Appearances | Appearances]]</div> | + | <div style="float:left; width:{{#switch: {{{gags|no}}} | yes=16% |no=19%}}; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}}}{{#if:{{{comic|}}}|{{{comic|}}}}}/Appearances | Appearances]]</div> |
− | <div style="float:left; width:19%; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}}}{{#if:{{{comic|}}}|{{{comic|}}}}}/Credits|Credits]]</div> | + | {{#if:{{{gags|}}}|<div style="float:left; width:16%; padding: .5em 0;">[[{{{title|{{PAGENAME}}}}}/Gags|Gags]]</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:#FFEC73; border:2px solid #E0B400;; border-bottom:0px; border-bottom:0; font-size:120%;">Quotes</div></div> | + | <div style="float:left; width:{{#switch: {{{gags|no}}} | yes=16% |no=19%}}; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}}}{{#if:{{{comic|}}}|{{{comic|}}}}}/Credits|Credits]]</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%;">Quotes</div></div> | ||
<br> | <br> | ||
<div style="clear:both; width:98%; padding:5px; border:2px solid #000000; background-color:#FFFDD0"><includeonly>{{#if:{{NAMESPACE}}||{{Realworld}}[[Category:Quotes]]}}</includeonly><noinclude></div> | <div style="clear:both; width:98%; padding:5px; border:2px solid #000000; background-color:#FFFDD0"><includeonly>{{#if:{{NAMESPACE}}||{{Realworld}}[[Category:Quotes]]}}</includeonly><noinclude></div> |
Revision as of 14:31, March 21, 2012
Usage
On a Quote page, insert this at the top:
{{TabQ |episode= }}