Difference between revisions of "Template:Tab"
Wikisimpsons - The Simpsons Wiki
(this is how it could work but doesn't right now) |
|||
Line 1: | Line 1: | ||
− | <div style="text-align:center"> | + | <onlyinclude><div style="text-align:center"> |
<div style="float:left; width:19%; padding: .5em 0;font-weight:bold; color: black; background-color:yellow; | <div style="float:left; width:19%; padding: .5em 0;font-weight:bold; color: black; background-color:yellow; | ||
border:2px solid #000000; border-bottom:0px; border-bottom:0; font-size:120%;">General</div> | border:2px solid #000000; border-bottom:0px; border-bottom:0; font-size:120%;">General</div> | ||
Line 5: | Line 5: | ||
<div style="float:left; width:19%; padding: .5em 0;">[[{{{title|}}}/Appearances|Appearances]]</div> | <div style="float:left; width:19%; padding: .5em 0;">[[{{{title|}}}/Appearances|Appearances]]</div> | ||
<div style="float:left; width:19%; padding: .5em 0;">[[{{{title|}}}/Credits|Credits]]</div> | <div style="float:left; width:19%; padding: .5em 0;">[[{{{title|}}}/Credits|Credits]]</div> | ||
− | <div style="float:left; width:19%; padding: .5em 0;">[[{{{title|}}}/Quotes|Quotes]]</div> | + | <div style="float:left; width:19%; padding: .5em 0;">[[{{{title|}}}/Quotes|Quotes]]</div></div> |
<div style="clear:both; width:99%; padding:5px; border:2px solid #000000; background-color:#FFFDD0"> | <div style="clear:both; width:99%; padding:5px; border:2px solid #000000; background-color:#FFFDD0"> | ||
+ | </onlyinclude> | ||
+ | '' Tab content '' | ||
+ | </div> | ||
− | < | + | ==Note== |
+ | Make sure to place a </div> on the page where you wish the box that encloses the tab content to end. If you don't, the page interface will look funny. | ||
+ | |||
+ | It should look like this: | ||
+ | <pre> | ||
+ | {{Tab}} | ||
+ | ''Tab content'' | ||
+ | </div> | ||
+ | </pre> | ||
[[Category:Templates|Tab]] | [[Category:Templates|Tab]] | ||
− |
Revision as of 18:01, November 16, 2010
Tab content
Note
Make sure to place a </div> on the page where you wish the box that encloses the tab content to end. If you don't, the page interface will look funny.
It should look like this:
{{Tab}} ''Tab content'' </div>