Difference between revisions of "Template:CloudUP/Section"

From SpiralKnights

Jump to: navigation, search
(Created page with '<div style=" width: {{{width|fill}}}; height: {{{height|auto}}}; {{Styles/RoundBox|{{{headerBgrCol|#EBC94D}}}|5px|5px}} "> <div style=" color: {{{headerTextColor|#000000}}}…')
 
m
Line 1: Line 1:
<div style="
+
<noinclude>{{CloudUP/DocNotice}}
width: {{{width|fill}}};
+
 
 +
 
 +
 
 +
 
 +
 
 +
</noinclude><div style="
 
height: {{{height|auto}}};
 
height: {{{height|auto}}};
 +
width: {{{width|fill}}};
 
{{Styles/RoundBox|{{{headerBgrCol|#EBC94D}}}|5px|5px}}
 
{{Styles/RoundBox|{{{headerBgrCol|#EBC94D}}}|5px|5px}}
 
">
 
">
 
<div style="
 
<div style="
color: {{{headerTextColor|#000000}}};
+
color: {{{headerFontColor|#283138}}};
font-size: {{{headerTextSize|normal}}};
+
font-family: {{{headerFontFamily|Arial}}};
padding: 0px 8px 2px 8px;
+
font-size: {{{headerFontSize|24px}}};
 +
font-weight: bold;
 +
margin: -10px 0px -10px 0px;
 +
padding: 0px 5px 0px 5px;
 
text-align: {{{headerAlign|left}}};
 
text-align: {{{headerAlign|left}}};
 
">
 
">
{{{header|HEADER}}}
+
{{{header|Header goes here.}}}
 
</div>
 
</div>
 
<div style="
 
<div style="
 
margin: 0px -5px -5px -5px;
 
margin: 0px -5px -5px -5px;
{{Styles/RoundBox|{{{contentBrdCol|#114255}}}|5px|5px}}
+
{{Styles/RoundBox|{{{contentBrdCol|#283138}}}|5px|5px}}
 
">
 
">
 
<div style="
 
<div style="
 +
color: {{{contentTxtColor|#66AAB3}}};
 
padding: 0px 7px 0px 7px;
 
padding: 0px 7px 0px 7px;
{{Styles/RoundBox|{{{contentBgrCol|#4D6D89}}}|5px|5px}}
+
{{Styles/RoundBox|{{{contentBgrCol|#114255}}}|5px|5px}}
 
">
 
">
{{{content|CONTENT}}}
+
{{{content|Content goes here.}}}
 
</div>
 
</div>
 
</div>
 
</div>
</div>
+
</div><noinclude>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
{{documentation}}</noinclude>

Revision as of 18:59, 13 April 2012



Header goes here.

Content goes here.



[edit] [purge] Template documentation

Usage

This template is not typically used up-front, but rather as a back-end for many CloudUP components. Its function is to provide an HTML div to create a box styled very similar to those of the menus seen in-game.


Parameters

header
Recommended. The text within the header of the section.
width
Optional. Width of the section.
height
Optional. Height of the section.
headerBgrColor
Optional. Background color of the header.
headerTxtAlign
Optional. Alignment of the text within the header.
headerTxtColor
Optional. Color of the text within the header.
headerTxtFont
Optional. Font family of the text within the header.
headerTxtSize
Optional. Size of the text within the header.
bodyBrdColor
Optional. Border color of the body.
bodyBgrColor
Optional. Background color of the body.
bodyTxtColor
Optional. Color of the text within the body.
body
Recommended. The content within the body of the section.


Copy & Paste

{{CloudUP/Section
| header = 
| width = 
| height = 
| headerBgrColor = 
| headerTxtAlign = 
| headerTxtColor = 
| headerTxtFont = 
| headerTxtSize = 
| bodyBrdColor = 
| bodyBgrColor = 
| bodyTxtColor = 
| body = 
}}
Personal tools