Difference between revisions of "Template:TabA"
Wikisimpsons - The Simpsons Wiki
m (Reverted edits by Loco87 (talk) to last revision by Solar Dragon) |
Solar Dragon (talk | contribs) |
||
Line 1: | Line 1: | ||
− | <includeonly><div style="text-align:center"> | + | <includeonly>{{#switch:{{{1|gen}}}|gen= |
− | <div style="float:left; width: | + | <div style="text-align:center"> |
− | <div style="float:left; width: | + | <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: | + | <div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/References|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:#{{LightBox}}; border:2px solid #{{DarkBox}};; border-bottom:0px; border-bottom:0; font-size:120%;">Appearances</div> | |
− | <div style="float:left; width: | + | <div style="float:left; width:16%; padding: .5em 0;">[[{{BASEPAGENAME}}/Gags|Gags]]</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> | ||
<br> | <br> | ||
− | <div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkBox}}; background-color:transparent"></div></includeonly><includeonly>{{#if:{{NAMESPACE}}||{{Realworld}}[[Category:Appearances]]}}</includeonly><noinclude> | + | <div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkBox}}; background-color:transparent"></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 class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};float:left; width:20%; padding: .5em 0;font-weight:bold; color: black; background-color:#{{LightBox}}; border:2px solid #{{DarkBox}};; border-bottom:0px; border-bottom:0; font-size:120%;">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 #{{DarkBox}}; background-color:transparent"></div> | ||
+ | |||
+ | |ngc= | ||
+ | <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 class="MPInterior" style="{{Border-radius2|5px|5px|0px|0px}};float:left; width: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%;">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 #{{DarkBox}}; background-color:transparent"></div> | ||
+ | |||
+ | |ngcq= | ||
+ | <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}}/References|References/Trivia]]</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:#{{LightBox}}; border:2px solid #{{DarkBox}};; border-bottom:0px; border-bottom:0; font-size:120%;">Appearances</div> | ||
+ | </div> | ||
+ | <br> | ||
+ | <div style="clear:both; width:100%; padding:0px; border:1px solid #{{DarkBox}}; background-color:transparent"></div> | ||
+ | |||
+ | }} | ||
+ | </includeonly><includeonly>{{#if:{{NAMESPACE}}||{{Realworld}}[[Category:Appearances]]}}</includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
On an appearance page, insert this at the top: | On an appearance page, insert this at the top: | ||
− | < | + | |
− | {{TabA}} | + | {{Table|width=50%| |
− | </ | + | {{TH|Parameter}} |
+ | {{TH|Usage}} | ||
+ | {{TH|Description}} | ||
+ | {{TBT|N/A}} | ||
+ | {{TB|<nowiki>{{TabA}}</nowiki>}} | ||
+ | {{TB|Has all tabs.}} | ||
+ | {{TBT|<code>nogags</code>}} | ||
+ | {{TB|<nowiki>{{TabA|nogags}}</nowiki>}} | ||
+ | {{TB|Removes gags tab}} | ||
+ | {{TBT|<code>ngc</code>}} | ||
+ | {{TB|<nowiki>{{TabA|ngc}}</nowiki>}} | ||
+ | {{TB|Removes gags and credits tabs.}} | ||
+ | {{TBT|<code>ngcq</code>}} | ||
+ | {{TB|<nowiki>{{TabA|ngcq}}</nowiki>}} | ||
+ | {{TB|Removes gags, credits and quotes tabs.}} | ||
+ | }} | ||
[[Category:Templates|Tab]]</noinclude> | [[Category:Templates|Tab]]</noinclude> |
Revision as of 16:04, March 13, 2020
Usage
On an appearance page, insert this at the top:
|