Template:Highlight: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Created page with '<span class="messagebox {{{class|}}}" style="background-color: {{{bgcolor|#def3fe}}}; color: {{{fgcolor|black}}}; padding: 5px 0px; margin: 0ex 0; min-height: 35px; {{{style|}}}"…')
 
No edit summary
Line 1: Line 1:
<span class="messagebox {{{class|}}}" style="background-color: {{{bgcolor|#def3fe}}}; color: {{{fgcolor|black}}}; padding: 5px 0px; margin: 0ex 0; min-height: 35px; {{{style|}}}">
<span class="messagebox {{{class|}}}" style="background-color: {{{bgcolor|#def3fe}}}; color: {{{fgcolor|black}}}; border:0px; padding: 5px 0px; margin: 0ex 0; min-height: 35px; {{{style|}}}">
{{{1}}}<noinclude>your highlighted message</noinclude></span>
{{{1}}}<noinclude>your highlighted message</noinclude></span>
<noinclude>
<noinclude>

Revision as of 18:18, 28 February 2011

{{{1}}}your highlighted message


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.