Difference between revisions of "Template:Highlight"

From Sugar Labs
Jump to navigation Jump to search
m
Line 9: Line 9:
 
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|&#60;noinclude&#62;example message to highlight&#60;/noinclude&#62;}} after the {{Code|<nowiki>{{{1}}}}</nowiki>}} in the template wikicode.
+
*: (This was fixed 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 23:54, 17 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.
    (This was fixed by removing the <noinclude>example message to highlight</noinclude> after the {{{1}}} in the template wikicode.)