Difference between revisions of "Template:Note/warning"

From Sugar Labs
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{message|bgcolor=#f9f6b7|{{#if:{{{1|}}}|'''{{{1}}}'''<BR>}}<noinclude>'''Bold headword'''<br></noinclude>{{#if:{{{2|}}}|{{{2}}}}}<noinclude>extended warning message</noinclude>|image=Warning.png}}<noinclude>
+
{{message|bgcolor=#f9f6b7|{{#if:{{{1|}}}|'''{{{1}}}'''<BR>}}{{#if:{{{2|}}}|{{{2}}}}}|image=Warning.png}}<noinclude>
 
==Usage==
 
==Usage==
  <nowiki>{{Admon/warning|Bold head words|extended warning message}}</nowiki>
+
  <nowiki>{{Note/warning|Bold headword|extended warning message}}</nowiki>
{{Admon/warning|Caution|This code may fail to satisfy.}}
 
  
[[Category:Admonition template]]</noinclude>
+
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.