Difference between revisions of "Template:SKCell2"

From SpiralKnights

Jump to: navigation, search
m (Create)
 
(reverting for now)
 
(4 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|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" {{#if: {{{unsortable|}}} | class="unsortable"}}| {{{1|Content goes here.}}}<noinclude>
 
|}
 
|}
 
{{Documentation
 
{{Documentation
Line 13: Line 13:
 
== Parameters ==
 
== Parameters ==
 
=== Optional ===
 
=== Optional ===
; 1 : The content of this cell.
+
1 = The content of this cell.<br>
; 2 : The horizontal alignment of the contents of this cell. Accepted values are the same as CSS text-align values.
+
2 = The horizontal alignment of the contents of this cell. Accepted values are the same as CSS text-align values.<br>
; 3 : The vertical alignment of the contents of this cell. Accepted values are the same as CSS vertical-align values.
+
3 = The vertical alignment of the contents of this cell. Accepted values are the same as CSS vertical-align values.<br>
; 4 : How many columns of this table this cell will take up.
+
4 = How many columns of this table this cell will take up.<br>
; 5 : How many rows of this table this cell will take up.
+
5 = How many rows of this table this cell will take up.<br>
; 6 : The width of this cell.
+
6 = The width of this cell.<br>
; 7 : The height of this cell.
+
7 = The height of this cell.<br>
 +
background = If you want a background other than light blue.<br>
 +
color = if you want a font color other than black.<br>
 +
unsortable = if you want the column to be unsortable, use "yes" (top row of table cells only)
 
}}</noinclude>
 
}}</noinclude>

Latest revision as of 12:25, 20 December 2014

Content goes here.
Template documentation

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" (top row of table cells only)

Personal tools