Difference between revisions of "Template:Note/warning"

From Sugar Labs
Jump to navigation Jump to search
(nename & categorize, remove embedded comments)
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 headword|extended warning message}}</nowiki>
+
  <nowiki>{{Note/warning|Bold headword|extended warning message}}</nowiki>
  
 
real example:
 
real example:
{{Admon/warning|Caution|This code may fail to satisfy.}}
+
{{Note/warning|Caution|This code may fail to satisfy.}}
  
[[Category:Admonition template|warning]]</noinclude>
+
[[Category:Highlighting template|warning]]</noinclude>

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.