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

From SpiralKnights

< User:TheTric‎ | Zetta‎ | Page
Jump to: navigation, search
m (Aligned new edit tag more appropriatly)
 
(56 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div
+
<noinclude>{{User:TheTric/zNotice}}</noinclude>{{User:TheTric/Zetta/Page/Container
id="section"
+
| style = margin:0px; border: none; {{{style|{{:{{PAGENAME}}/Style}} }}}
"><div
+
| icon = {{{icon|Icon-usable.png}}}
id="sectionHeader"
+
| iconSize = 30
style="
+
| header = <div style="position:relative;"><h2 style="width:auto; font-size:.75em; margin:0px; padding:0px;">{{{header|Header}}}</h2>{{#if:{{{body|}}}||<div class="plainlinks" style="position:absolute; bottom:5px; right:5px; font-size:.65em; font-style:normal; font-weight:normal;"><nowiki>[</nowiki>{{{sectionLink|[{{fullurl:{{FULLPAGENAME}}/{{{header|Header}}}|action=edit edit}}]}}}<nowiki>]</nowiki></div>}}</div>
Padding-left:5px;
+
| bodyStyle = padding: 3px; padding-top: 5px; border-top-width:0px; font-size:.5em; font-weight:normal; font-style:normal; {{{bodyStyle|{{:{{PAGENAME}}/Style/Body}} }}};
background-color: rgba({{{background-color|0,0,0}}},0.3);
+
| body = {{User:TheTric/Zetta/Page/Contents| {{{body|{{ {{#if:{{NAMESPACE}}|{{NAMESPACE}}|}}:{{PAGENAME}}/{{{header|Header}}} }} }}} }}
">
+
}}<noinclude>{{User:TheTric/Zetta/Documentation
<h2> {{{icon|[[File:Icon-usable.png|25px]]}}} {{{title|Title}}} </h2>
+
| usage =
</div>
+
optimized in firefox
<div style="
+
expected to be used with other templates from the Zetta group.
padding:1px 1px 1px 15px;
+
| parameters =
"><p>{{{body|body}}}</p>
+
| copyPaste =
</div>
+
<pre>{{User:TheTric/Zetta/Page/Section
</div>
+
}}</pre>
<noinclude>
+
{{Documentation
+
| content =
+
This is used to create sections in pages
+
== Usage ==
+
This template can be used anywhere to display information.
+
 
+
== Parameters ==
+
border-type
+
border-color
+
background-color
+
icon
+
title
+
body
+
 
}}</noinclude>
 
}}</noinclude>

Latest revision as of 16:45, 28 December 2012

User:TheTric/zNotice
Documentation

Usage

    optimized in firefox expected to be used with other templates from the Zetta group.

Parameters

Copy Paste

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