Difference between revisions of "Template:Message"
Jump to navigation
Jump to search
(update example) |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
Simple example: | Simple example: | ||
− | <nowiki>{{Message| | + | <nowiki>{{Message|'''Latest News:'''<br>Instructions have been added to these templates.}}</nowiki> |
− | {{Message| | + | {{Message|'''Latest News:'''<br>Instructions have been added to these templates.}} |
− | For | + | |
+ | 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}}}}} | ||
Line 19: | Line 20: | ||
}}</nowiki> | }}</nowiki> | ||
− | + | {{Note/note|For example:|See [[Template:Note/note]].}} | |
− | [[Template: | ||
− | |||
− | [[Category: | + | [[Category:Highlighting template|Message]] |
</noinclude> | </noinclude> |
Latest revision as of 12:50, 16 July 2011
Usage
Simple example:
{{Message|'''Latest News:'''<br>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 }}