Difference between revisions of "Template:CloudUP/Section"
From SpiralKnights
(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: | ||
− | < | + | <noinclude>{{CloudUP/DocNotice}} |
− | + | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | </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: {{{ | + | color: {{{headerFontColor|#283138}}}; |
− | font-size: {{{ | + | font-family: {{{headerFontFamily|Arial}}}; |
− | padding: 0px | + | 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 goes here.}}} |
</div> | </div> | ||
<div style=" | <div style=" | ||
margin: 0px -5px -5px -5px; | margin: 0px -5px -5px -5px; | ||
− | {{Styles/RoundBox|{{{contentBrdCol|# | + | {{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|# | + | {{Styles/RoundBox|{{{contentBgrCol|#114255}}}|5px|5px}} |
"> | "> | ||
− | {{{content| | + | {{{content|Content goes here.}}} |
</div> | </div> | ||
</div> | </div> | ||
− | </div> | + | </div><noinclude> |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | {{documentation}}</noinclude> |
Revision as of 18:59, 13 April 2012
This template is part of the CloudUP template collection. Please do not modify it without speaking to Aecarus. |
Header goes here.
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. |