Template:Box

From Kerbal Space Program Wiki
Revision as of 10:24, 18 August 2013 by XZise (talk | contribs) (!box syntax;)
Jump to: navigation, search

Description

This templates create a box with an image.

Parameters

Template:Parameter Table

It is possible to add additional rows by using {{!}} in the Text parameter. One example is {{SVG available}}.

Types

With types it is possible to predefine the image and color, although both can be changed.

Type Image Color
Not set Notice.svg    
error Ambox warning pn.svg    
warning Warning.svg    
editnotice or notice Notice.svg    

Examples

Text
 {{Box|Kerbin18.png|Text|#b22222|Title}}
This article is currently undergoing a major expansion or revamping. However, you are free to help in the construction of this page by improving it.
 {{Box|2='''This article is currently undergoing a major expansion or revamping.''' However, you are free to help in the construction of this page by improving it.}}
Most of this page is entirely speculation based on in-game observation and should not be taken as absolute fact!
 {{Box|type=warning|Most of this page is entirely speculation based on in-game observation and should not be taken as absolute fact!}}

Additional Box templates

There exists another box template named {{mbox}} which for example {{Stub}} uses.