Difference between revisions of "Template:Highlight"
Jump to navigation
Jump to search
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}}}; padding: 5px 0px; margin: 0ex 0; min-height: 35px; {{{style|}}}">{{{1}}}</span> |
− | {{{1}}} | ||
<noinclude> | <noinclude> | ||
Line 7: | Line 6: | ||
<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.'''}} | + | This {{Highlight|bgcolor=lightyellow|'''Proposed edit: '''Include some usage examples.'''}} |
− | + | * This line <span class="messagebox " style="color: black; background-color:pink; padding: 5px 0px; margin: 0ex 0; min-height: 35px ">This background</span> | |
Disadvantages: | Disadvantages: | ||
* wiki formatting with *, #, :, etc. voids the styling, namely color. | * wiki formatting with *, #, :, etc. voids the styling, namely color. | ||
</noinclude> | </noinclude> |
Revision as of 16:04, 28 February 2011
Usage
Simple example:
{{Highlight|bgcolor=lightyellow|'''Proposed edit: '''Include some usage examples.}}
This
- This line
Disadvantages:
- wiki formatting with *, #, :, etc. voids the styling, namely color.