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
(removed float (talk page messages should not be floated, disrupts text flow; use margin positioning instead if desired), fix CSS)
(+ CSS-box)
Line 1: Line 1:
{| class="messagebox plainlinks user-block" style="margin-left:0; padding:5px; background:#F9F9F9; border:#777;"
{| class="messagebox plainlinks user-block" style="margin-left:0; padding:5px; background:#F9F9F9; border:#777; {{{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:38, 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.