Template:Warning: Difference between revisions

From VoIPmonitor.org
(Create Warning template)
 
(Create Warning template (orange warning box))
Line 1: Line 1:
<div style="background:#fff3cd; border-left:4px solid #ffc107; padding:10px; margin:10px 0;">
<div style="background:#fff3e0; border-left:4px solid #ff9800; padding:10px; margin:10px 0;">
'''⚠️ Warning:''' {{{1}}}
'''⚠️ Warning:''' {{{1}}}
</div><noinclude>
</div><noinclude>
== Usage ==
== Usage ==
<code><nowiki>{{Warning|Your warning text here}}</nowiki></code>
<code><nowiki>{{Warning|Your warning text here}}</nowiki></code>
== Note ==
Due to a MediaWiki parser bug, avoid using <code>&lt;code&gt;</code> tags inside the template parameter. Use <code>&lt;tt&gt;</code> instead.
</noinclude>
</noinclude>

Revision as of 11:49, 6 January 2026

⚠️ Warning: {{{1}}}

Usage

{{Warning|Your warning text here}}

Note

Due to a MediaWiki parser bug, avoid using <code> tags inside the template parameter. Use <tt> instead.