Difference between revisions of "Template:SKWindowsmall/doc"
From SpiralKnights
m (added parameter) |
m (added parameter) |
||
Line 11: | Line 11: | ||
'''title-align''' | '''title-align''' | ||
:CSS command such as "left" or "center," positions the title text in the yellow header area horizontally. | :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== | ==Usage== |
Latest revision as of 00:48, 10 January 2015
This is a documentation subpage for Template:SKWindowsmall (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
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 | |
|