Template:Box

From BeeStation Wiki
Revision as of 20:07, 2 June 2014 by imported>Rockdtben (Created page with "<noinclude>== Description == This templates create a box with an image. == Parameters == {{Parameter Table|name=both|parameters= {{Parameter Row|1|Small image on the left sh...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

This templates create a box with an image.

Parameters

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.

#/Name -| 1 | Template:Yes| Small image on the left shrunk to 40×40 pixels.Template:IfDefault: File:notice.svg
Type Image Color
Not set or info File:Notice.svg Template:ColorBox
error File:Ambox warning pn.svg Template:ColorBox
warning File:Warning.svg Template:ColorBox
editnotice or notice File:Notice.svg Template:ColorBox
disambig File:Disambig-dark.svg Template:ColorBox

Examples

File:Kerbin18.png Text
 {{Box|Kerbin18.png|Text|#b22222|Title}}
File:Notice.svg 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.}}
File:Warning.svg 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