Template:Warning: Difference between revisions
(Create Warning template) |
(Create Warning template (orange warning box)) |
||
| Line 1: | Line 1: | ||
<div style="background:# | <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><code></code> tags inside the template parameter. Use <code><tt></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.