Difference between revisions of "Template:CloudUP/Section"

From SpiralKnights

Jump to: navigation, search
m
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
<noinclude>{{CloudUP/DocNotice}}
 
<noinclude>{{CloudUP/DocNotice}}
 
__NOTOC__
 
__NOTOC__
 +
<!-- NEED TO FIX INLINE WHITESPACE WITH STYLES!!! -->
  
  
Line 6: Line 7:
  
  
</noinclude><div style="
+
</noinclude><div style="{{Styles/RoundBox|color={{{headerBgrColor|#EBC94D}}}|border=10px|roundness=10px|height={{{height|auto}}}|width={{{width|fill}}}}}">
height: {{{height|auto}}};
+
<div style="{{Styles/RoundBox|margin=-10px 0px -10px 0px|padding=7px}}">
width: {{{width|fill}}};
+
{{Styles/RoundBox|{{{headerBgrColor|#EBC94D}}}|8px|8px}}
+
">
+
<div style="
+
margin: -10px 0px -10px 0px;
+
padding: 0px 5px 0px 5px;
+
text-align: {{{headerTxtAlign|left}}};
+
">
+
 
<h2 style="
 
<h2 style="
 
color: {{{headerTxtColor|#283138}}};
 
color: {{{headerTxtColor|#283138}}};
Line 21: Line 14:
 
font-size: {{{headerTxtSize|24px}}};
 
font-size: {{{headerTxtSize|24px}}};
 
font-weight: bold;
 
font-weight: bold;
+
text-align: {{{headerTxtAlign|auto}}};
">
+
">{{{header|Header Goes Here}}}</h2>
{{{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 -8px -8px -8px;
+
<div style="{{Styles/RoundBox|color={{{bodyBgrColor|#114255}}}|border=10px|roundness=10px|padding=0px 7px 0px 7px|txtColor={{{bodyTxtColor|#66AAB3}}}}}">
{{Styles/RoundBox|{{{contentBrdColor|#283138}}}|8px|8px}}
+
">
+
<div style="
+
color: {{{contentTxtColor|#66AAB3}}};
+
padding: 0px 7px 0px 7px;
+
{{Styles/RoundBox|{{{contentBgrColor|#114255}}}|8px|8px}}
+
">
+
 
{{{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.}}}
 
{{{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>
 
</div>

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