Difference between revisions of "Template:SKWindow/Cell"
From SpiralKnights
m (moved Template:SKCell to Template:SKWindow/Cell: Trying to get all the parts of the SKWindow template in one place.) |
m (add hidden flexibility for curvature of borders. this should generally not be used but could be useful for certain tables. Defaults remain 5px so pages are unchanged.) |
||
(9 intermediate revisions by 3 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: # | + | | colspan="{{{4|1}}}" rowspan="{{{5|1}}}" align="{{{2|left}}}" valign="{{{3|middle}}}" style="width: {{{6|*}}}; height: {{{7|*}}}; background: {{{background|#c7dbea}}}; color: {{{color|#000000}}}; font-size: {{{font|normal}}}; padding:{{{padding|5px 10px 5px 10px}}}; border-top-right-radius: {{{BTRR|5px}}}; border-top-left-radius: {{{BTLR|5px}}}; border-bottom-right-radius: {{{BBRR|5px}}}; border-bottom-left-radius: {{{BBLR|5px}}};" | {{{1|Content goes here.}}}<noinclude> |
|} | |} | ||
− | {| | + | {{Documentation |
− | + | | content = | |
− | + | 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 == | |
− | </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> |
Latest revision as of 18:35, 16 August 2015
Content goes here. |
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
- 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.
Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Subpages of this template. |