Difference between revisions of "Template:Highlight"

From Sugar Labs
Jump to navigation Jump to search
Line 5: Line 5:
  
 
  <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.}}
  
 
Disadvantages:
 
Disadvantages:
 
* <s>wiki formatting with *, #, :, etc. voids the styling, namely color.</s>
 
* <s>wiki formatting with *, #, :, etc. voids the styling, namely color.</s>
*: by removing the {{Code|<nowiki><noinclude>example message to highlight</noinclude></nowiki>}} after the {{{1}}}} in the template wikicode.
+
*: by removing the {{Code|&#60;noinclude&#62;example message to highlight&#60;/noinclude&#62;}} after the {{Code|<nowiki>{{{1}}}}</nowiki>}} in the template wikicode.
  
  
 
</noinclude>
 
</noinclude>

Revision as of 19:35, 15 March 2011

{{{1}}}

Usage

Simple example:

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

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.