Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Template:Message"
m (add example and link) |
|||
Line 1: | Line 1: | ||
− | <div class="messagebox {{{class|}}}" style="background-color: {{{bgcolor|#f9f6b7}}}; border: 1px solid {{{bdcolor|#c4c295}}}; color: {{{fgcolor|black}}}; padding: 5px; margin: 1ex 0; min-height: {{{imgwidth|35}}}px; padding-left: {{#expr:{{{imgwidth|35}}}+10}}px; {{{style|}}}"> | + | <includeonly><div class="messagebox {{{class|}}}" style="background-color: {{{bgcolor|#f9f6b7}}}; border: 1px solid {{{bdcolor|#c4c295}}}; color: {{{fgcolor|black}}}; padding: 5px; margin: 1ex 0; min-height: {{{imgwidth|35}}}px; padding-left: {{#expr:{{{imgwidth|35}}}+10}}px; {{{style|}}}"> |
<div style="float: left; margin-left: -{{#expr:{{{imgwidth|35}}}+5}}px;">[[Image:{{{image|Idea.png}}}|{{{imgwidth|35}}}px]]</div> | <div style="float: left; margin-left: -{{#expr:{{{imgwidth|35}}}+5}}px;">[[Image:{{{image|Idea.png}}}|{{{imgwidth|35}}}px]]</div> | ||
<div>{{{1}}}</div> | <div>{{{1}}}</div> | ||
− | </div> | + | </div></includeonly> |
+ | <noinclude> | ||
+ | ==== Example ==== | ||
+ | |||
+ | Usage: | ||
+ | <nowiki>{{Message|Text that can be '''very''' long <br> and can ''contain'' breaks.}}</nowiki> | ||
+ | |||
+ | Output: | ||
+ | {{Message|Text that can be '''very''' long <br> and can ''contain'' breaks.}} | ||
+ | |||
+ | See [[:Category:Admonition Templates|Admonition Templates]] for different occurrences. | ||
+ | |||
+ | </noinclude> |
Latest revision as of 07:44, 4 October 2012
Example
Usage:
{{Message|Text that can be '''very''' long <br> and can ''contain'' breaks.}}
Output:
See Admonition Templates for different occurrences.