Difference between revisions of "Template:SKWindowsmall/doc"
From SpiralKnights
m (Created documentation) |
m (added parameter) |
||
Line 1: | Line 1: | ||
<noinclude>{{documentation subpage}}</noinclude> | <noinclude>{{documentation subpage}}</noinclude> | ||
This template creates a table in Spiral Knights' visual style. Subpages from the [[Template:SKWindow]] template provide helper templates that work with this one. | 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. | ||
+ | |||
==Usage== | ==Usage== | ||
− | + | <nowiki> | |
+ | {{SKWindowsmall</nowiki><br/><nowiki> | ||
+ | | title= </nowiki><br/><nowiki> | ||
+ | | title-align= </nowiki><br/><nowiki> | ||
+ | | body= </nowiki><br/><nowiki> | ||
+ | }}</nowiki> | ||
+ | |||
+ | :;Example: | ||
+ | |||
+ | <nowiki> | ||
+ | {{SKWindowsmall</nowiki><br/><nowiki> | ||
+ | | title= Hey look at me I'm a title </nowiki><br/><nowiki> | ||
+ | | title-align= center </nowiki><br/><nowiki> | ||
+ | | body= Hey look at me I'm content. You should probably use helper templates/ SK cells in here! </nowiki><br/><nowiki> | ||
+ | }}</nowiki> | ||
+ | |||
+ | :;Produces: | ||
− | |||
{{SKWindowsmall | {{SKWindowsmall | ||
− | | title= | + | | title= Hey look at me I'm a title |
− | | body= | + | | title-align= center |
− | }} | + | | body= Hey look at me I'm content. You should probably use helper templates/SK cells in here! |
+ | }} |
Revision as of 19:48, 8 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.
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 | |
|