Difference between revisions of "Template:Note/warning"

From Sugar Labs
Jump to navigation Jump to search
(Created page with '{{message|{{#if:{{{1|}}}|'''{{{1}}}'''<BR>}}{{#if:{{{2|}}}|{{{2}}}}}|image=Warning.png}}<noinclude>Category:Admonition template</noinclude>')
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{message|{{#if:{{{1|}}}|'''{{{1}}}'''<BR>}}{{#if:{{{2|}}}|{{{2}}}}}|image=Warning.png}}<noinclude>[[Category:Admonition template]]</noinclude>
+
{{message|bgcolor=#f9f6b7|{{#if:{{{1|}}}|'''{{{1}}}'''<BR>}}{{#if:{{{2|}}}|{{{2}}}}}|image=Warning.png}}<noinclude>
 +
==Usage==
 +
<nowiki>{{Note/warning|Bold headword|extended warning message}}</nowiki>
 +
 
 +
real example:
 +
{{Note/warning|Caution|This code may fail to satisfy.}}
 +
 
 +
[[Category:Highlighting template|warning]]</noinclude>

Latest revision as of 14:06, 16 July 2011

Warning.png

Usage

{{Note/warning|Bold headword|extended warning message}}

real example:

Warning.png
Caution
This code may fail to satisfy.