Difference between revisions of "Template:TabQ"
Wikisimpsons - The Simpsons Wiki
Solar Dragon (talk | contribs) |
(Quick test.) |
||
Line 1: | Line 1: | ||
<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;">[[{{#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|}}}|{{BASEPAGENAME}}}}{{#if:{{{comic|}}}|{{{comic|}}}|{{BASEPAGENAME}}}}|General]]</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:{{#switch: {{{gags|no}}} | yes=16% |no=19%}}; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}|{{BASEPAGENAME}}}}{{#if:{{{comic|}}}|{{{comic|}}}|{{BASEPAGENAME}}}}/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|}}}}}/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> | ||
{{#if:{{{gags|}}}|<div style="float:left; width:16%; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}}}{{#if:{{{comic|}}}|{{{comic|}}}}}/Gags|Gags]]</div>}} | {{#if:{{{gags|}}}|<div style="float:left; width:16%; padding: .5em 0;">[[{{#if:{{{episode|}}}|{{{episode|}}}}}{{#if:{{{comic|}}}|{{{comic|}}}}}/Gags|Gags]]</div>}} |
Revision as of 14:18, March 27, 2012
Usage
On a Quote page, insert this at the top:
{{TabQ |episode= }}