Difference between revisions of "Template:Highlight"

From Sugar Labs
Jump to navigation Jump to search
(Created page with "<span class="messagebox {{{class|}}}" style="background-color: {{{bgcolor|#def3fe}}}; border: 1px solid {{{bdcolor|#c4c295}}}; color: {{{fgcolor|black}}}; padding: 5px; margin: 1...")
 
Line 1: Line 1:
<span class="messagebox {{{class|}}}" style="background-color: {{{bgcolor|#def3fe}}}; border: 1px solid {{{bdcolor|#c4c295}}}; color: {{{fgcolor|black}}}; padding: 5px; margin: 1ex 0; min-height: 35px; padding-left: 15px; {{{style|}}}">
+
<span class="messagebox {{{class|}}}" style="background-color: {{{bgcolor|#def3fe}}}; border: 1px solid {{{bdcolor|#c4c295}}}; color: {{{fgcolor|black}}}; padding: 5px; margin: 1ex 0; min-height: 35px; {{{style|}}}">
 
{{{1}}}<noinclude>your highlighted message</noinclude></span>
 
{{{1}}}<noinclude>your highlighted message</noinclude></span>
 
<noinclude>
 
<noinclude>
Line 6: Line 6:
 
Simple example:
 
Simple example:
  
  <nowiki>{{Highlight|bgcolor="light yellow"|'''Proposed edit: '''Include some usage examples.}}</nowiki>
+
  <nowiki>{{Highlight|bgcolor=lightyellow|'''Proposed edit: '''Include some usage examples.}}</nowiki>
{{Highlight|'''Proposed edit: '''Include some usage examples.'''}}
+
{{Highlight|bgcolor=lightyellow|'''Proposed edit: '''Include some usage examples.'''}}
  
  
 
</noinclude>
 
</noinclude>

Revision as of 14:14, 13 February 2011

{{{1}}}your highlighted message


Usage

Simple example:

{{Highlight|bgcolor=lightyellow|'''Proposed edit: '''Include some usage examples.}}

Proposed edit: Include some usage examples.