Difference between revisions of "User:TheTric/Zetta/Page/Container/Collapsible"

From SpiralKnights

< User:TheTric‎ | Zetta‎ | Page‎ | Container
Jump to: navigation, search
m
m
Line 1: Line 1:
<div  style="{{User:TheTric/Zetta/Page/Header/Style}}; padding:0px;">
+
<div  style="{{User:TheTric/Zetta/Page/Header/Style}}; padding:0px;">
<!-- OUTSIDE TABLE START --><table cellpadding="0" cellspacing="0" style="width:100%; background:none; {{{containerStyle|}}}">
+
<table cellpadding="0" cellspacing="0" style="width:100%; background:none; {{{containerStyle|}}}"><tr><td><!--
<tr><td><!--
+
  
TABLE HEADER CONTAINER START --><table class="wikitable collapsible {{#if:{{{collapsed|}}}|collapsed|}}"  cellpadding="0" cellspacing="0" style="vertical-align:middle; width: 100%; background: none; font-size:.625em; {{User:TheTric/Zetta/Border-radius|10px;}}">
+
--><table class="wikitable collapsible {{#if:{{{collapsed|}}}|collapsed|}}"  cellpadding="0" cellspacing="0" style="vertical-align:middle; width: 100%; background: none; font-size:.625em; {{User:TheTric/Zetta/Border-radius|10px;}}"><tr><td><!--
<tr><th style="padding:10px;"><!--
+
  
HEADER TABLE START --><table cellpadding="0" cellspacing="{{#if: {{{icon|1}}} | 5em | 10em}}" style="margin:-10px; background: none; font-size:1.6em;">
+
--><table cellpadding="0" cellspacing="{{#if: {{{icon|1}}} | 5em | 10em}}" style=" background: none; font-size:1.6em;"><tr>{{#if: {{{icon|1}}} | <td vertical-align="middle" style="width:{{{iconSize|36}}}px; height:{{{iconSize|36}}}px; overflow: hidden;">[[Image:{{{icon|Icon-usable.png}}}|{{{iconSize|36}}}x{{{iconSize|36}}}px]]</td>}}<td align="left">{{{header|Header}}}</td></tr></table>
<tr>{{#if: {{{icon|1}}} | <td width="{{{iconSize|36}}}" vertical-align="middle"><div style="width: {{{iconSize|36}}}px; height: {{{iconSize|36}}}px; overflow: hidden;">[[Image:{{{icon|Icon-usable.png}}}|{{{iconSize|36}}}x{{{iconSize|36}}}px]]</div></td>}}<td align="left">{{{header|Header}}}</td></tr></table><!--
+
 
END OF HEADER TABLE --></th></tr>
+
</td><th style=" padding-right:.625em;"></th></tr><!--
<tr><td>
+
 
<div style="{{User:TheTric/Zetta/Page/Container/Body/Style}}">
+
--><tr><td colspan="2" style="{{User:TheTric/Zetta/Page/Container/Body/Style}} font-size:.8em; font-weight:normal; font-style:normal;">{{{contents|Contents}}}</td></tr>
<div style="font-size:.8em; font-weight:normal; font-style:normal;">{{{contents|Contents}}}</div></div>
+
</td></tr>
+
 
</table>
 
</table>
 +
 
</td>
 
</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
 
</div>
 
</div>

Revision as of 20:33, 26 October 2012

Icon-usable.pngHeader
Contents
Personal tools