Difference between revisions of "Template:SKWindow"

From SpiralKnights

Jump to: navigation, search
m
m (Fixed padding.)
Line 1: Line 1:
{| cellpadding="0" cellspacing="0" style="width: {{{width|*}}}; border: 5px solid #000000; background: #ebc94d; border-radius: 14px; -moz-border-radius: 14px; -webkit-border-radius: 14px; -khtml-border-radius: 14px; -icab-border-radius: 14px; -o-border-radius: 14px;"
+
{| cellpadding="0" cellspacing="0" style="width: {{{width|*}}}; border: 5px solid #000000; background: #ebc94d; margin: {{{margin|0px}}}; border-radius: 14px; -moz-border-radius: 14px; -webkit-border-radius: 14px; -khtml-border-radius: 14px; -icab-border-radius: 14px; -o-border-radius: 14px;"
 
|-
 
|-
 
| <table cellpadding="0" cellspacing="5" width="100%" style="background: none;"><tr>
 
| <table cellpadding="0" cellspacing="5" width="100%" style="background: none;"><tr>
{{#if: {{{icon|}}} | <td width="36">
+
{{#if: {{{icon|}}} | <td width="36">[[Image:{{{icon}}}|36px]]</td>}}
[[Image:{{{icon}}}|36px]]
+
<td align="left"><big><big><big>'''''{{{title|Title}}}'''''</big></big></big></td>
</td>}}
+
{{#if: {{{stars|}}} | <td width="50">{{Star|{{{stars}}}}}</td>}}
<td align="left">
+
<big><big><big>'''''{{{title|Title}}}'''''</big></big></big>
+
</td>
+
{{#if: {{{stars|}}} | <td width="50">
+
{{Star|{{{stars}}}}}
+
</td>}}
+
 
</tr></table>
 
</tr></table>
 
|-
 
|-
Line 31: Line 25:
 
{{SKWindow
 
{{SKWindow
 
| width = Number
 
| width = Number
 +
| margin = Number(s)
 
| icon = Image name
 
| icon = Image name
 
| title = Title
 
| title = Title

Revision as of 22:43, 13 November 2010

Title



Use the following to display a table with Spiral Knights' visual style.
{{SKWindow
| width = Number
| margin = Number(s)
| icon = Image name
| title = Title
| stars = Star rating
| body = Body
}}
Personal tools