Template:Message box: Difference between revisions
Jump to navigation
Jump to search
reinstate change |
Add msgbox class type aliases a-la WP:Ambox#Design |
||
Line 1: | Line 1: | ||
<includeonly><div | <includeonly><div | ||
class="msgbox {{#if: {{{mini|{{{small|}}}}}} | msgbox-mini | }} {{{class|}}}" | class="msgbox {{#if: {{{mini|{{{small|}}}}}} | msgbox-mini | }} {{{class|}}} {{ | ||
#switch: {{{type|}}} | |||
| style | display | presentation = msgbox-yellow | |||
| minor | minor-issue | content | issue = msgbox-orange | |||
| major | major-issue | delete = msgbox-red | |||
| organization | meta | move = msgbox-purple | |||
| notice | note = msgbox-blue | |||
| #default = msgbox-gray | |||
}}" | |||
style=" | style=" | ||
{{#if: {{{bgcol|}}} | background: {{{bgcol}}}; | }} | {{#if: {{{bgcol|}}} | background: {{{bgcol}}}; | }} |