Template:Message box: Difference between revisions

From Modded Wiki
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}}}; | }}

Revision as of 05:50, 27 May 2021

[create] [refresh]Documentation
This template has no documentation. If you know how to use this template, please create it.