Difference between revisions of "Template:SKWindow"

From SpiralKnights

Jump to: navigation, search
m (Testing)
m (Switch to light blue for image outline issue)
Line 8: Line 8:
 
|-
 
|-
 
| align="center" |
 
| align="center" |
{| cellpadding="0" cellspacing="5" align="center" style="border: 2px solid #496e8b; background: #114255; width: 100%; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px;" class="whitelinks"
+
{| cellpadding="0" cellspacing="5" align="center" style="border: 2px solid #496e8b; background: #114255; width: 100%; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px;"
 
<noinclude>
 
<noinclude>
 
|-
 
|-

Revision as of 18:02, 26 March 2011

Title


Template documentation

This template create a table in Spiral Knights' visual style. Subpages provide helper templates that work with this one.

Usage

This template can be used anywhere to display information.

Parameters

Required

title 
The title of the table.
body 
The main content area of the table. Only use subpage helper templates here.

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".
icon 
The file name and extension of the image to be used as the icon in the top-left corner of the table. If not given, the space where the icon displays will be taken up by other elements.
stars 
The star rating to display in the top-right corner of the table. If not given, the space where the stars display will be taken up by other elements.
Personal tools