Difference between revisions of "Template:Message"

From Sugar Labs
Jump to navigation Jump to search
m
Line 11: Line 11:
  
  
For embeddin in other templates:
+
For embedding in other templates:
 
  <nowiki>{{message|1={{#if:{{{1|}}}|'''{{{1}}}'''<BR>}}
 
  <nowiki>{{message|1={{#if:{{{1|}}}|'''{{{1}}}'''<BR>}}
 
{{#if:{{{2|}}}|{{{2}}}}}
 
{{#if:{{{2|}}}|{{{2}}}}}

Revision as of 04:47, 27 January 2011

Favorite-star.png
{{{1}}}

Usage

Simple example:

{{Message|This is interesting stuff.}}
Favorite-star.png
This is interesting stuff.


For embedding in other templates:

{{message|1={{#if:{{{1|}}}|'''{{{1}}}'''<BR>}}
{{#if:{{{2|}}}|{{{2}}}}}
|image=35px-Activity-write.png
|bgcolor=#def3fe
|bdcolor=#c5d7e0
}}

See, for example: Template:Admon/note