Difference between revisions of "Template:SKWindow/EmptyCell"
From SpiralKnights
(Revised documentation.) |
m (flexibility for font size, consistency with language entry) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
{| style="background: none;" | {| style="background: none;" | ||
</noinclude> | </noinclude> | ||
− | | colspan="{{{4|1}}}" rowspan="{{{5|1}}}" align="{{{2|left}}}" valign="{{{3|middle}}}" style="width: {{{6|*}}}; height: {{{7|*}}}; background: none; color: #FFFFFF; font-size: smaller; padding: 5px 10px 5px 10px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" | {{{1|This is empty.}}}<noinclude> | + | | colspan="{{{4|1}}}" rowspan="{{{5|1}}}" align="{{{2|left}}}" valign="{{{3|middle}}}" style="width: {{{6|*}}}; height: {{{7|*}}}; background: {{{8|none}}}; color: {{{font-color|#FFFFFF}}}; font-size: {{{font-size|smaller}}}; padding: 5px 10px 5px 10px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" | {{{1|This is empty.}}}<noinclude> |
|}<noinclude> | |}<noinclude> | ||
{{Documentation | {{Documentation | ||
Line 20: | Line 20: | ||
; 6 : The width of this cell. | ; 6 : The width of this cell. | ||
; 7 : The height of this cell. | ; 7 : The height of this cell. | ||
+ | ; 8 : The background color of this cell. | ||
}}</noinclude> | }}</noinclude> |
Latest revision as of 17:35, 9 July 2015
This is empty. |
This template creates a cell without a background in an SKWindow and works exactly like SKWindow/Cell. It can be used to create an empty space where a cell is necessary, or to simply leave out the background for aesthetic purposes.
Usage
This template is intended to be used in the "body" parameter of the SKWindow template.
Parameters
Optional
- 1
- The content of this cell.
- 2
- The horizontal alignment of the contents of this cell. Accepted values are the same as CSS text-align values.
- 3
- The vertical alignment of the contents of this cell. Accepted values are the same as CSS vertical-align values.
- 4
- How many columns of this table this cell will take up.
- 5
- How many rows of this table this cell will take up.
- 6
- The width of this cell.
- 7
- The height of this cell.
- 8
- The background color of this cell.
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Subpages of this template. |