Template:Box

From /VM/station wiki
Revision as of 20:52, 2 June 2014 by imported>Rockdtben

Description

This templates create a box with an image.

Parameters

Template:Parameter Table

It is possible to add additional rows by using Template:Tl in the Text parameter. One example is Template:Tl.

Types

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

Type Image Color
Not set or info Template:ColorBox
error File:Ambox warning pn.svg Template:ColorBox
warning File:Warning.svg Template:ColorBox
editnotice or notice Template:ColorBox
disambig File:Disambig-dark.svg Template:ColorBox

Examples

{{#if: {{#if: Kerbin18.png | {{#if: Text | 1 | }} | }}|File:Kerbin18.png|[[File:{{#switch: error=Ambox warning pn.svg warning=warning.svg disambig=Disambig-dark.svg editnotice notice note 40x40px|alt=|link=]]}} {{#if: Text|Text|Kerbin18.png}}
 {{Box|Kerbin18.png|Text|#b22222|Title}}
error=b22222 warning=f4c430 editnotice notice=bba note disambig #default=1e90ff}}" {{#if: {{#if: | {{#if: 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. | 1 | }} | }}|[[File:|40x40px|alt=|link=]]|[[File:{{#switch: error=Ambox warning pn.svg warning=warning.svg disambig=Disambig-dark.svg editnotice notice note 40x40px|alt=|link=]]}} {{#if: 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.|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.|{{{1}}}}}
 {{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.}}
error=b22222 warning=f4c430 editnotice notice=bba note disambig #default=1e90ff}}" {{#if: {{#if: Most of this page is entirely speculation based on in-game observation and should not be taken as absolute fact! | {{#if: | 1 | }} | }}|File:Most of this page is entirely speculation based on in-game observation and should not be taken as absolute fact!|[[File:{{#switch: warning error=Ambox warning pn.svg warning=warning.svg disambig=Disambig-dark.svg editnotice notice note 40x40px|alt=|link=]]}} {{#if: |{{{2}}}|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