Difference between revisions of "Template:Message"

From Sugar Labs
Jump to navigation Jump to search
(update category, remove embedded comments)
(update example)
 
Line 9: Line 9:
 
  <nowiki>{{Message|'''Latest News:'''<br>Instructions have been added to these templates.}}</nowiki>
 
  <nowiki>{{Message|'''Latest News:'''<br>Instructions have been added to these templates.}}</nowiki>
 
{{Message|'''Latest News:'''<br>Instructions have been added to these templates.}}
 
{{Message|'''Latest News:'''<br>Instructions have been added to these templates.}}
 +
  
  
Line 19: Line 20:
 
}}</nowiki>
 
}}</nowiki>
  
See, for example:
+
{{Note/note|For example:|See [[Template:Note/note]].}}
[[Template:Note/note]]
 
 
 
  
 
[[Category:Highlighting template|Message]]
 
[[Category:Highlighting template|Message]]
 
</noinclude>
 
</noinclude>

Latest revision as of 13:50, 16 July 2011

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

Usage

Simple example:

{{Message|'''Latest News:'''<br>Instructions have been added to these templates.}}
Favorite-star.png
Latest News:
Instructions have been added to these templates.


For embedding in other templates:

{{message|1={{#if:{{{1|}}}|'''{{{1}}}'''<BR>}}
{{#if:{{{2|}}}|{{{2}}}}}
|image=35px-Activity-write.png
|bgcolor=#def3fe
|bdcolor=#c5d7e0
}}
35px-Activity-write.png
For example:
See Template:Note/note.