Jump to content

Template:Note/warning: Difference between revisions

From Sugar Labs
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 13:06, 16 July 2011

Usage

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

real example:

Caution
This code may fail to satisfy.