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
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="
+
<noinclude>{{CloudUP/DocNotice}}
width: {{{width|fill}}};
+
__NOTOC__
height: {{{height|auto}}};
+
<!-- NEED TO FIX INLINE WHITESPACE WITH STYLES!!! -->
{{Styles/RoundBox|{{{headerBgrCol|#EBC94D}}}|5px|5px}}
+
 
">
+
 
<div style="
+
 
color: {{{headerTextColor|#000000}}};
+
 
font-size: {{{headerTextSize|normal}}};
+
 
padding: 0px 8px 2px 8px;
+
</noinclude><div style="{{Styles/RoundBox|color={{{headerBgrColor|#EBC94D}}}|border=10px|roundness=10px|height={{{height|auto}}}|width={{{width|fill}}}}}">
text-align: {{{headerAlign|left}}};
+
<div style="{{Styles/RoundBox|margin=-10px 0px -10px 0px|padding=7px}}">
">
+
<h2 style="
{{{header|HEADER}}}
+
color: {{{headerTxtColor|#283138}}};
 +
font-family: {{{headerTxtFont|Arial}}};
 +
font-size: {{{headerTxtSize|24px}}};
 +
font-weight: bold;
 +
text-align: {{{headerTxtAlign|auto}}};
 +
">{{{header|Header Goes Here}}}</h2>
 
</div>
 
</div>
<div style="
+
<div style="{{Styles/RoundBox|color={{{bodyBrdColor|#283138}}}|border=8px|roundness=10px|margin=0px -10px -10px -10px}}">
margin: 0px -5px -5px -5px;
+
<div style="{{Styles/RoundBox|color={{{bodyBgrColor|#114255}}}|border=10px|roundness=10px|padding=0px 7px 0px 7px|txtColor={{{bodyTxtColor|#66AAB3}}}}}">
{{Styles/RoundBox|{{{contentBrdCol|#114255}}}|5px|5px}}
+
{{{body|Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here.}}}
">
+
<div style="
+
padding: 0px 7px 0px 7px;
+
{{Styles/RoundBox|{{{contentBgrCol|#4D6D89}}}|5px|5px}}
+
">
+
{{{content|CONTENT}}}
+
 
</div>
 
</div>
 
</div>
 
</div>
</div>
+
</div><noinclude>
 +
 
 +
 
 +
 
 +
 
 +
 
 +
{{documentation}}</noinclude>

Latest revision as of 06:21, 14 April 2012




Header Goes Here

Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body content goes here. Body 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