Difference between revisions of "Template:Message"

From Sugar Labs
Jump to navigation Jump to search
m
m
Line 7: Line 7:
 
Simple example:
 
Simple example:
  
  <nowiki>{{Message|This is interesting stuff.}}</nowiki>
+
  <nowiki>{{Message|'''Latest News:''' Instructions have been added to these templates.}}</nowiki>
 
{{Message|This is interesting stuff.}}
 
{{Message|This is interesting stuff.}}
  

Revision as of 10:39, 29 January 2011

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

Usage

Simple example:

{{Message|'''Latest News:''' Instructions have been added to these templates.}}
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