Difference between revisions of "Template:Mbox"

From Underrail Wiki
Jump to navigation Jump to search
m (Protected "Template:Mbox": internal wiki template (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| cellspacing="0" cellpadding="0" style="width:100%; height:50px; margin-bottom:1em; background-color:#131313; border:#222 1px solid;"
+
{| cellspacing="0" cellpadding="0" style="width:80%; height:50px; margin:0 auto 1em auto; background-color:#191919; border:1px solid #333;"
 
|-
 
|-
 
| style="width:10px; background-color:{{#switch:{{{type|}}}
 
| style="width:10px; background-color:{{#switch:{{{type|}}}

Latest revision as of 12:24, 21 August 2015

{{{text}}}
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Mbox/doc to view this documentation. (edit) (How does this work?)

Description

This template can be used to build message boxes. The icons probably need some work to fit into the dark theme.

Syntax

{{mbox
| image = overrides default image set by type. should be 40x40px
| type  = speedy/delete/warning/style/notice/move/protection
| text  = message box text goes here.
}}

Examples

type = speedy
type = delete
type = warning
type = style
type = notice
type = move
type = protection