Difference between revisions of "Template:CloudUP/Section/doc"
From SpiralKnights
(Created page with '<noinclude>{{documentation subpage}}</noinclude> == Usage == This template is not typically used up-front, but rather as a back-end for many CloudUP components. Its function is…') |
m |
||
Line 10: | Line 10: | ||
; header: {{VarRecommended}} The text within the header of the section. | ; header: {{VarRecommended}} The text within the header of the section. | ||
− | |||
; width: {{VarOptional}} Width of the section. | ; width: {{VarOptional}} Width of the section. | ||
; height: {{VarOptional}} Height of the section. | ; height: {{VarOptional}} Height of the section. | ||
Line 21: | Line 20: | ||
; bodyBgrColor: {{VarOptional}} Background color of the body. | ; bodyBgrColor: {{VarOptional}} Background color of the body. | ||
; bodyTxtColor: {{VarOptional}} Color of the text within the body. | ; bodyTxtColor: {{VarOptional}} Color of the text within the body. | ||
+ | ; body: {{VarRecommended}} The content within the body of the section. | ||
Line 28: | Line 28: | ||
<pre>{{CloudUP/Section | <pre>{{CloudUP/Section | ||
| header = | | header = | ||
− | |||
| width = | | width = | ||
| height = | | height = | ||
Line 39: | Line 38: | ||
| bodyBgrColor = | | bodyBgrColor = | ||
| bodyTxtColor = | | bodyTxtColor = | ||
+ | | body = | ||
}}</pre> | }}</pre> |
Latest revision as of 23:39, 13 April 2012
This is a documentation subpage for Template:CloudUP/Section (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
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 = }}