Template:Warning: Difference between revisions

imported>Samueldr
No edit summary
DoggoBit (talk | contribs)
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<includeonly>{{Notice|icon={{{icon|}}}|color=var(--border-color-warning)|background=var(--background-color-warning-subtle)|'''Warning:''' {{{1}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
{{Template}}
'''A 'Warning' box used to report potential danger.
 
====Usage====
 
{{ic|<nowiki>{{Warning|This text should be heeded.}}</nowiki>}}
 
{{ic|<nowiki>{{Warning|text=This text should be heeded.}}</nowiki>}}
 
====Example====
 
{{Warning|This text should be heeded.}}
 
{{Warning|text=This text should be heeded.}}
 
</noinclude><includeonly>{{META Box Red|Warning:|{{{text|{{{1|{{META Error}}}}}}}}}}</includeonly>