Difference between revisions of "Template:Highlight"

From Sugar Labs
Jump to navigation Jump to search
(removing nested noincludes)
(clarification)
Line 10: Line 10:
 
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 message to highlight after the {{{1}}}}
+
*: by removing the <nowiki><noinclude></nowiki>example message to highlight<nowiki></noinclude></nowiki>after the {{{1}}}} in the template wikicode.
  
 
</noinclude>
 
</noinclude>

Revision as of 19:39, 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.