Difference between revisions of "Template:SKWindow/Cell"

From SpiralKnights

Jump to: navigation, search
m (moved Template:SKCell to Template:SKWindow/Cell: Trying to get all the parts of the SKWindow template in one place.)
(Added documentation.)
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: #283138; 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|Content goes here.}}}<noinclude>
+
| colspan="{{{4|1}}}" rowspan="{{{5|1}}}" align="{{{2|left}}}" valign="{{{3|middle}}}" style="width: {{{6|*}}}; height: {{{7|*}}}; background: #283138; 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|Content goes here.}}}
|}
+
|}<noinclude>
{| align="center" width="50%" style="background: none;"
+
{{Documentation
|+ '''Use the following to create a cell in an SKWindow.'''
+
| content =
|-
+
This template creates a cell in an SKWindow.
|
+
 
<pre>
+
== Usage ==
{{ SKWindow | Content | Horizontal Align | Vertical Align | Colspan | Rowspan | Width | Height }}
+
This template is intended to be used in the "body" parameter of the SKWindow template.
</pre>
+
 
|}
+
== Parameters ==
</noinclude>
+
=== 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.
 +
}}</noinclude>

Revision as of 09:49, 15 December 2010

Content goes here.
Template documentation

This template creates a cell in an SKWindow.

Usage

This template is intended to be used in the "body" parameter of the SKWindow template.

Parameters

Optional

The content of this cell.
The horizontal alignment of the contents of this cell. Accepted values are the same as CSS text-align values.
The vertical alignment of the contents of this cell. Accepted values are the same as CSS vertical-align values.
How many columns of this table this cell will take up.
How many rows of this table this cell will take up.
The width of this cell.
The height of this cell.
Personal tools