Template:Highlight: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(reorder style elements in relation to CSS box model) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<span class="messagebox {{{class|}}}" style="background-color: {{{bgcolor|#def3fe}}}; color: {{{fgcolor|black}}} |
<span class="messagebox {{{class|}}}" style="border-width: 0px; margin: 0ex 0; padding: 5px 6px; background-color: {{{bgcolor|#def3fe}}}; color: {{{fgcolor|black}}}; min-height: 35px; {{{style|}}}">{{{1}}}</span> |
||
{{{1}}}<noinclude>your highlighted message</noinclude></span> |
|||
<noinclude> |
<noinclude> |
||
Line 6: | 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: |
|||
* wiki formatting with *, #, :, etc. voids the styling, namely color. |
|||
</noinclude> |
</noinclude> |
Latest revision as of 23:12, 1 August 2012
Usage
Simple example:
* {{Highlight|bgcolor=yellow|'''Proposed edit: '''Include some usage examples.}}