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
MarcoAurelio (talk | contribs) No edit summary |
m (28 revisions imported from metawikimedia:Template:Warning_message) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{| {{{ |
{| 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|}}} |
||
⚫ | |||
|} |
|||
{{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> |
Latest revision as of 20:49, June 1, 2022
Template documentation (for the above template, sometimes hidden or invisible)
Visit Template:Warning message/doc to edit this text! (How does this work?)