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;">
<table cellpadding="0" cellspacing="0" style="width:100%; background:none; {{{containerStyle|}}}"><tr><td><!--
+
<table style="padding:0px; border-spacing:0px; width:100%; background:none; {{{containerStyle|}}}"><tr><td><!--
  
--><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><!--
+
--><table class="wikitable collapsible {{#if:{{{collapsed|}}}|collapsed|}}"  style="padding:0px; border-spacing:0px; vertical-align:middle; width: 100%; background: none; font-size:.625em; {{User:TheTric/Zetta/Border-radius|10px;}}"><tr><td><!--
  
--><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>
+
--><table style="padding:0px; border-spacing:{{#if: {{{icon|1}}} | 5 | 10}}px; 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>
  
</td><th style=" padding-right:.625em;"></th></tr><!--
+
</td><th style="padding-right:.625em;"></th></tr><!--
  
 
--><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>
 
--><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>

Revision as of 19:42, 27 October 2012

Icon-usable.pngHeader
Contents
Personal tools