Difference between revisions of "Template:SKCell2"
From SpiralKnights
m (Add instructions) |
m (Add unsortable) |
||
Line 2: | Line 2: | ||
{| style="background: none;" | {| style="background: none;" | ||
</noinclude> | </noinclude> | ||
− | | colspan="{{{4|1}}}" rowspan="{{{5|1}}}" align="{{{2|left}}}" valign="{{{3|top}}}" style="width: {{{6|*}}}; height: {{{7|*}}}; background: {{{background|#c7dbea}}}; color: {{{color|#000000}}}; font-size: {{{font|normal}}}; padding: 2px 2px 2px 2px;" | {{{1|Content goes here.}}}<noinclude> | + | | colspan="{{{4|1}}}" rowspan="{{{5|1}}}" align="{{{2|left}}}" valign="{{{3|top}}}" style="width: {{{6|*}}}; height: {{{7|*}}}; background: {{{background|#c7dbea}}}; color: {{{color|#000000}}}; font-size: {{{font|normal}}}; padding: 2px 2px 2px 2px;" {{#if: {{{unsortable|}}} | class="unsortable"}}| {{{1|Content goes here.}}}<noinclude> |
|} | |} | ||
{{Documentation | {{Documentation | ||
Line 22: | Line 22: | ||
background = If you want a background other than light blue.<br> | background = If you want a background other than light blue.<br> | ||
color = if you want a font color other than black. | color = if you want a font color other than black. | ||
+ | unsortable = if you want the column to be unsortable, use "yes" | ||
}}</noinclude> | }}</noinclude> |
Revision as of 01:11, 1 August 2011
Content goes here. |
This template creates a more compact cell in an SKWindow without the rounded edges.
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.
background = If you want a background other than light blue.
color = if you want a font color other than black.
unsortable = if you want the column to be unsortable, use "yes"
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Subpages of this template. |