Difference between revisions of "Template:Box"

From Space Engineers Wiki
Jump to: navigation, search
(Template Box)
 
Line 43: Line 43:
 
   <nowiki>{{Box|type=warning|Most of this page is entirely speculation based on in-game observation and should not be taken as absolute fact!}}</nowiki>
 
   <nowiki>{{Box|type=warning|Most of this page is entirely speculation based on in-game observation and should not be taken as absolute fact!}}</nowiki>
  
[[Category:Templates]]</noinclude><includeonly>{| class="ambox noprint" style="border-left-color: {{{3|#{{#switch: {{{type|}}}
+
[[Category:Templates]]</noinclude>
 +
<includeonly>
 +
{| class="ambox noprint" style="border-left-color: {{{3|#{{#switch: {{{type|}}}
 
|error=b22222
 
|error=b22222
 
|warning=f4c430
 
|warning=f4c430
Line 58: Line 60:
 
|notice
 
|notice
 
|note
 
|note
|#default=notice.svg}}|40x40px|alt=|link=]]}}
+
|#default=notice.png}}|40x40px|alt=|link=]]}}
 
| class="mbox-text" | {{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}
 
| class="mbox-text" | {{#if: {{{2|}}}|{{{2}}}|{{{1}}}}}
 
|}</includeonly>
 
|}</includeonly>

Revision as of 13:07, 8 April 2014

Description

This templates create a box with an image.

Types

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

Type Image Color
Not set or info Notice.png    
error Ambox warning pn.svg    
warning Warning.svg    
editnotice or notice Notice.png    
disambig Disambig-dark.svg    

Examples

40x40px Text
 {{Box|Engineer.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!}}