Template:Warning message: Difference between revisions

From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
Content added Content deleted
(+ CSS-box)
(rm border (already added by class))
Line 1: Line 1:
{| class="messagebox plainlinks user-block" style="margin-left:0; padding:5px; background:#F9F9F9; border:#777; {{{CSS-box|}}}"
{| class="messagebox plainlinks user-block" style="margin-left:0; padding:5px; background:#F9F9F9; {{{CSS-box|}}}"
| {{#ifeq:{{{image}}}|none||[[{{{image|File:Stop x nuvola.svg}}}|50px]]}}
| {{#ifeq:{{{image}}}|none||[[{{{image|File:Stop x nuvola.svg}}}|50px]]}}
| {{{msg|}}}
| {{{msg|}}}

Revision as of 02:42, February 13, 2009

Usage

This template is intended for use inside other templates.

{{warning message
 |image = Filename.svg
 |msg   = text here
}}

Remove the 'image' parameter to use a default File:Stop x nuvola.svg icon, or set it to 'none' to have no icon at all.