Difference between revisions of "Template:CloudUP/Section"
From SpiralKnights
m |
m |
||
Line 8: | Line 8: | ||
height: {{{height|auto}}}; | height: {{{height|auto}}}; | ||
width: {{{width|fill}}}; | width: {{{width|fill}}}; | ||
− | {{Styles/RoundBox|{{{ | + | {{Styles/RoundBox|{{{headerBgrColor|#EBC94D}}}|5px|5px}} |
"> | "> | ||
<div style=" | <div style=" | ||
− | color: {{{ | + | color: {{{headerTxtColor|#283138}}}; |
− | font-family: {{{ | + | font-family: {{{headerTxtFont|Arial}}}; |
− | font-size: {{{ | + | font-size: {{{headerTxtSize|24px}}}; |
font-weight: bold; | font-weight: bold; | ||
margin: -10px 0px -10px 0px; | margin: -10px 0px -10px 0px; | ||
padding: 0px 5px 0px 5px; | padding: 0px 5px 0px 5px; | ||
− | text-align: {{{ | + | text-align: {{{headerTextAlign|left}}}; |
"> | "> | ||
{{{header|Header goes here.}}} | {{{header|Header goes here.}}} | ||
Line 23: | Line 23: | ||
<div style=" | <div style=" | ||
margin: 0px -5px -5px -5px; | margin: 0px -5px -5px -5px; | ||
− | {{Styles/RoundBox|{{{ | + | {{Styles/RoundBox|{{{contentBrdColor|#283138}}}|5px|5px}} |
"> | "> | ||
<div style=" | <div style=" | ||
color: {{{contentTxtColor|#66AAB3}}}; | color: {{{contentTxtColor|#66AAB3}}}; | ||
padding: 0px 7px 0px 7px; | padding: 0px 7px 0px 7px; | ||
− | {{Styles/RoundBox|{{{ | + | {{Styles/RoundBox|{{{contentBgrColor|#114255}}}|5px|5px}} |
"> | "> | ||
− | {{{ | + | {{{body|Body content goes here.}}} |
</div> | </div> | ||
</div> | </div> |
Revision as of 19:28, 13 April 2012
This template is part of the CloudUP template collection. Please do not modify it without speaking to Aecarus. |
Header goes here.
Body content goes here.
[edit] [ ] 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 = }}
The above documentation is transcluded from Template:CloudUP/Section/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |