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
m (do not transclude linebreak)
(process edit request from talk, sync in from /Sandbox)
Line 1: Line 1:
{|class={{{otherclass|"messagebox plainlinks user-block" style="margin-left:0; padding:5px; background:#F9F9F9; {{{CSS-box|}}}"}}}
{| class={{{otherclass|"messagebox plainlinks user-block" style="margin-left: 0; background: #F9F9F9; padding: 5px; {{{CSS-box|}}}"}}}
| {{<includeonly>safesubst:</includeonly>#ifeq:{{{image}}}|none||[[{{{image|File:Stop x nuvola.svg}}}|50px]]}}
| style="padding: 1em;" | {{<includeonly>safesubst:</includeonly>#ifeq:{{{image}}}|none||[[File:{{<includeonly>safesubst:</includeonly>PAGENAME:{{{image|File:Stop x nuvola.svg}}}}}|50px]]}}
| {{{msg}}}
| style="padding: 1em;" | {{{msg|}}}
|}<noinclude>
|}<noinclude>
{{documentation}}
==Usage==
This template is intended for use inside other templates.

<pre>
{{warning message
|image = Filename.svg
|msg = text here
}}
</pre>

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

{{warning templates}}

[[Category:Formatting templates|Warning message]]
</noinclude>
</noinclude>

Revision as of 13:56, May 25, 2022

Template documentation (for the above template, sometimes hidden or invisible)