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 deleted Content added
m →Usage |
m 28 revisions imported from metawikimedia:Template:Warning_message |
||
(17 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{| class="messagebox plainlinks user-block" style=" |
{| class={{{otherclass|"messagebox plainlinks user-block" style="margin-left: 0; background: #F9F9F9; padding: 5px; {{{CSS-box|}}}"}}} |
||
| {{#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> |
|||
;float:right: |
|||
<pre> |
|||
{{warning message |
|||
|float = right |
|||
|image = Filename.svg |
|||
|msg = text here |
|||
}} |
|||
</pre> |
|||
;float:left: |
|||
<pre> |
|||
{{warning message |
|||
|float = left |
|||
|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. |
|||
[[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?)