Difference between revisions of "Template:SKWindowsmall"
From SpiralKnights
m (Fix) |
m (added in control for positioning title, should not affect any pages that this template is already being used in) |
||
Line 2: | Line 2: | ||
|- | |- | ||
− | | 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; 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;" align="{{{title-align|left}}}" | '''{{{title|{{PAGENAME}}}}}''' |
|- | |- |
Revision as of 19:39, 8 January 2015
SKWindowsmall | |
|
[edit] [ ] 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.
Contents
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 | |
|
The above documentation is transcluded from Template:SKWindowsmall/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |