Jump to content

Template:Message: Difference between revisions

From Sugar Labs
No edit summary
mNo edit summary
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 03:47, 27 January 2011

{{{1}}}

Usage

Simple example:

{{Message|This is interesting stuff.}}
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