Difference between revisions of "Template:Highlight"

From Sugar Labs
Jump to navigation Jump to search
Line 6: Line 6:
  
 
  <nowiki>{{Highlight|bgcolor=lightyellow|'''Proposed edit: '''Include some usage examples.}}</nowiki>
 
  <nowiki>{{Highlight|bgcolor=lightyellow|'''Proposed edit: '''Include some usage examples.}}</nowiki>
This {{Highlight|bgcolor=lightyellow|'''Proposed edit: '''Include some usage examples.'''}}
+
* {{Highlight|bgcolor=lightyellow|'''Proposed edit: '''Include some usage examples.'''}}
* This line <span class="messagebox " style="color: black; background-color:pink; padding: 5px 0px; margin: 0ex 0; min-height: 35px ">This background</span>
+
 
 
Disadvantages:
 
Disadvantages:
* wiki formatting with *, #, :, etc. voids the styling, namely color.
+
* <s>wiki formatting with *, #, :, etc. voids the styling, namely color.</s>
 +
*: by removing the <noinclude>message to highlight</noinclude>after the {{{1}}}}
  
 
</noinclude>
 
</noinclude>

Revision as of 16:08, 28 February 2011

{{{1}}}


Usage

Simple example:

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

after the Proposed edit: Include some usage examples.}

</noinclude>

Disadvantages:

  • wiki formatting with *, #, :, etc. voids the styling, namely color.
    by removing the message to highlightafter the {{{1}}}}