Template:Highlight: Difference between revisions
Appearance
m update category sort |
No edit summary |
||
| Line 1: | Line 1: | ||
<span class="messagebox {{{class|}}}" style="background-color:{{{bgcolor|#def3fe}}}; color: {{{fgcolor|black}}}; | <span class="messagebox {{{class|}}}" style="background-color:{{{bgcolor|#def3fe}}}; color: {{{fgcolor|black}}}; margin: 0px 0; padding: 5px 6px; min-height: 35px; {{{style|}}}">{{{1}}}</span><noinclude> | ||
[[Category:Highlighting template|Highlight]] | [[Category:Highlighting template|Highlight]] | ||
| Line 5: | Line 5: | ||
Simple example: | Simple example: | ||
<nowiki>* {{Highlight|bgcolor= | <nowiki>* {{Highlight|bgcolor=yellow|'''Proposed edit: '''Include some usage examples.}}</nowiki> | ||
* {{Highlight|bgcolor= | * {{Highlight|bgcolor=yellow|'''Proposed edit: '''Include some usage examples.}} | ||
Disadvantages: | Disadvantages: | ||
Revision as of 17:47, 1 August 2012
Usage
Simple example:
* {{Highlight|bgcolor=yellow|'''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.)
- (This was fixed by removing the