Difference between revisions of "Template:SKWindow"

From SpiralKnights

Jump to: navigation, search
m (Undo revision 2366 by Shango (Talk))
m (Constrained icon size for when one isn't specified.)
Line 2: Line 2:
 
|-
 
|-
 
| <table cellpadding="0" cellspacing="{{#if: {{{icon|}}} | 5 | 10}}" width="100%" style="background: none;"><tr>
 
| <table cellpadding="0" cellspacing="{{#if: {{{icon|}}} | 5 | 10}}" width="100%" style="background: none;"><tr>
{{#if: {{{icon|}}} | <td width="36">[[Image:{{{icon}}}|36px]]</td>}}
+
{{#if: {{{icon|}}} | <td width="36"><div style="width: 36px; height: 44px; overflow: hidden;">[[Image:{{{icon}}}|36px]]</div></td>}}
 
<td align="left"><big><big><big>'''''{{{title|Title}}}'''''</big></big></big></td>
 
<td align="left"><big><big><big>'''''{{{title|Title}}}'''''</big></big></big></td>
 
{{#if: {{{stars|}}} | <td width="50">{{Star|{{{stars}}}}}</td>}}
 
{{#if: {{{stars|}}} | <td width="50">{{Star|{{{stars}}}}}</td>}}

Revision as of 09:11, 15 December 2010

Title


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