Jump to content

Template:Message: Difference between revisions

From Sugar Labs
No edit summary
mNo edit summary
Line 7: Line 7:
Simple example:
Simple example:


  <nowiki>{{Message|'''Latest News:''' 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.}}



Revision as of 00:38, 30 January 2011

{{{1}}}Bold headword
extended highlight message

Usage

Simple example:

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

See, for example: Template:Admon/note