Difference between revisions of "Template:Highlight"

From Sugar Labs
Jump to navigation Jump to search
(clarification)
m
Line 5: Line 5:
 
Simple example:
 
Simple example:
  
  <nowiki>{{Highlight|bgcolor=lightyellow|'''Proposed edit: '''Include some usage examples.}}</nowiki>
+
  <nowiki>* {{Highlight|bgcolor=lightyellow|'''Proposed edit: '''Include some usage examples.}}</nowiki>
 
* {{Highlight|bgcolor=lightyellow|'''Proposed edit: '''Include some usage examples.'''}}
 
* {{Highlight|bgcolor=lightyellow|'''Proposed edit: '''Include some usage examples.'''}}
  

Revision as of 19:43, 15 March 2011

{{{1}}}


Usage

Simple example:

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

</nowiki>after the Proposed edit: Include some usage examples.} in the template wikicode.

</noinclude>

Disadvantages:

  • wiki formatting with *, #, :, etc. voids the styling, namely color.
    by removing the <noinclude>example message to highlight</noinclude>after the {{{1}}}} in the template wikicode.