Difference between revisions of "Template:SKWindowsmall"

From SpiralKnights

Jump to: navigation, search
m (Documentation)
m (spacing issue?)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| cellpadding="0" cellspacing="4" align="left" style="border: 2px solid #496e8b; background: #114255; width: 50%; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px;"
+
{| cellpadding="0" cellspacing="4" style="border: 2px solid #496e8b; background: #114255; width: {{{width|50%}}}; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px;" align="{{{window-align|}}}"
  
|- valign="top"
+
|-  
| style="background: #ebc94d; color: #000000; padding: 3px 3px 3px 3px; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" | '''{{{title|{{PAGENAME}}}}}'''
+
| style="background: #ebc94d; height:{{{header-height|}}}; color: #000000; padding:{{{header-padding|3px 3px 3px 3px}}}; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; -icab-border-radius: 5px; -o-border-radius: 5px;" align="{{{title-align|left}}}" | '''{{{title|{{PAGENAME}}}}}'''
  
 
|-
 
|-
 
| align="center" |
 
| align="center" |
{| cellpadding="0" cellspacing="5" align="center" style="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="{{{cellspacing|5}}}" align="center" style="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="{{{class|}}}"
 
<noinclude>
 
<noinclude>
 
|-
 
|-
Line 13: Line 13:
 
{{{body|}}}
 
{{{body|}}}
 
|}
 
|}
|}
+
|}<noinclude>
 
+
{{Documentation}}</noinclude>
 
+
<noinclude>
+
 
+
{{Documentation}}
+
 
+
</noinclude>
+

Latest revision as of 18:51, 17 August 2015

SKWindowsmall


[edit] [purge] Template documentation

This template creates a table in Spiral Knights' visual style. Subpages from the Template:SKWindow template provide helper templates that work with this one.

Parameters

Required

title

a line of text, will appear in yellow header area

body

content of the skwindowsmall goes here. Can work with most other templates.

Optional

title-align

CSS command such as "left" or "center," positions the title text in the yellow header area horizontally.

window-align

CSS command such as "left" or "center," positions the entire window within the page horizontally.

Usage

{{SKWindowsmall
| title=
| title-align=
| body=
}}

Example

{{SKWindowsmall
| title= Hey look at me I'm a title
| title-align= center
| body= Hey look at me I'm content. You should probably use helper templates/ SK cells in here!
}}

Produces
Hey look at me I'm a title
Hey look at me I'm content. You should probably use helper templates/SK cells in here!
Personal tools