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

From SpiralKnights

< User:TheTric‎ | Zetta‎ | Page
Jump to: navigation, search
m
m
Line 1: Line 1:
 
<noinclude>{{User:TheTric/zNotice}}<ul></noinclude><!--  
 
<noinclude>{{User:TheTric/zNotice}}<ul></noinclude><!--  
  
CONTAINER --><div style="{{User:TheTric/Zetta/Page/Header/Style}} padding:0px; font-size:1em;{{{headerStyle|}}}"><!--  
+
CONTAINER --><div style="{{#if:{{{header|Header}}}|{{User:TheTric/Zetta/Page/Header/Style}} padding:0px; font-style:normal; font-size:.5em; font-weight:normal; {{{containerStyle|}}}"}}><!--  
  
HEADER --><div style="position:relative; margin:4px;">{{#if: {{{icon|}}} | <div style="width: 36px; height: 36px; margin-right:4px; overflow: hidden; display:inline;">{{{icon|[[File:Icon-usable.png|36x36px]]}}}</div>}}{{{header|Header}}}</div><!--  
+
HEADER --><table cellpadding="0" cellspacing="{{#if: {{{icon|}}} | 5 | 10}}" width="100%" style="background:none;">{{#if: {{{header|}}} | <tr>
 +
{{#if: {{{icon|}}} | <td width="36" vertical-align="middle"><div style="width: 36px; height: 36px; overflow: hidden;">[[Image:{{{icon|Icon-usable.png}}}|36x36px]]</div></td>}}
 +
<td align="left">{{{header|header}}}</td>
 +
{{#if: {{{stars|}}} | <td width="50">{{Star|{{{stars}}}|color=4d6d89}}</td>}}
 +
</tr> |}}</table><!--  
  
 
BODY -->
 
BODY -->
<div style="{{User:TheTric/Zetta/Page/Container/Body/Style}} {{{bodyStyle|}}}"><!--  
+
<div style="{{User:TheTric/Zetta/Page/Container/Body/Style}} {{#if:{{{header|}}}||border: 2px solid rgb(73,110,139); padding:6px;}} {{{bodyStyle|}}}"><!--  
  
CONTENTS --><div style="{{User:TheTric/Zetta/Page/Contents/Style}} {{{contentsStyle|}}}">{{{contents|Contents}}}</div></div></div><!--
+
CONTENTS -->{{{contents|}}}</div></div><!--
  
 
DOC --><noinclude></ul>{{User:TheTric/Zetta/Documentation
 
DOC --><noinclude></ul>{{User:TheTric/Zetta/Documentation
Line 15: Line 19:
 
Suggested to be used in conjuncture with other zetta"©" elements
 
Suggested to be used in conjuncture with other zetta"©" elements
 
| parameters =
 
| parameters =
; headerStyle: {{VarOptional}}
 
; header: {{VarRecommended}}
 
; bodyStyle: {{VarOptional}}
 
; contentsStyle: {{VarOptional}}
 
; contents: {{VarRecommended}}
 
 
| copyPaste =
 
| copyPaste =
 
<pre>{{User:TheTric/Zetta/Page/Container
 
<pre>{{User:TheTric/Zetta/Page/Container
| headerStyle =
 
| icon =
 
| header =
 
| bodyStyle =
 
| contentsStyle =
 
| contents =
 
 
}}</pre>
 
}}</pre>
 
}}
 
}}

Revision as of 21:41, 23 October 2012

User:TheTric/zNotice
Documentation

Usage

    optimized for firefox. Suggested to be used in conjuncture with other zetta"©" elements

Parameters

Copy Paste

    {{User:TheTric/Zetta/Page/Container
    }}
Personal tools