Difference between revisions of "User:Trias/sandbox/template"
From SpiralKnights
< User:Trias | sandbox
(new template) |
(test) |
||
Line 1: | Line 1: | ||
− | {| cellpadding="0" cellspacing="4" align="{{{align|*}}}" style="width: {{{width|<includeonly>*</includeonly><noinclude>200px</noinclude>}}}; margin: {{{margin|0px}}}; border: 2px solid #496e8b; background: #114255; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px;" class="sortable"<noinclude> | + | {| cellpadding="0" cellspacing="4" align="{{{align|*}}}" style="width: {{{width|<includeonly>*</includeonly><noinclude>200px</noinclude>}}}; margin: {{{margin|0px}}}; border: 2px solid #496e8b; background: #114255; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px;" class="sortable" |
+ | {{#if:{{{header|}}}|!colspan=0 style="background: #ebc94d; padding: 2px 2px 2px 2px;" |{{{header|}}}}}<noinclude> | ||
|- | |- | ||
| | | |
Revision as of 06:58, 23 August 2011
Documentation
This template creates a more compact table in Spiral Knights' visual style, but without a header. Use SKCell2 with this template.
Usage
This template can be used anywhere to display information.
Parameters
Optional
- width
- The width of the table in CSS format, i.e.: "200px".
- align
- Where the table aligns to. By default it displays inline. Accepted values are "left", "center", "right", and "justify".
- margin
- How much space is around the outside of the table, in CSS format, i.e.: "20px" or "10px 20px 10px 20px".
Editors can experiment in this template's sandbox (create) and testcases (create) pages. Subpages of this page. |