Template:Message box: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
Add msgbox class type aliases a-la WP:Ambox#Design
Add rest
Line 1: Line 1:
<includeonly><div
<includeonly><div
  class="msgbox {{#if: {{{mini|{{{small|}}}}}} | msgbox-mini | }} {{{class|}}} {{
  class="msgbox {{#if: {{{mini|{{{small|}}}}}} | msgbox-mini | }} {{
   #switch: {{{type|}}}
   #switch: {{{type|}}}
   | style | display | presentation = msgbox-yellow
   | style | display | presentation = msgbox-yellow
Line 6: Line 6:
   | major | major-issue | delete = msgbox-red
   | major | major-issue | delete = msgbox-red
   | organization | meta | move = msgbox-purple
   | organization | meta | move = msgbox-purple
   | notice | note = msgbox-blue
  | details | parity | edition | upcoming = msgbox-blue
   | notice | note = msgbox-green
  | other = msgbox-magenta
   | #default = msgbox-gray
   | #default = msgbox-gray
  }}"
  }} {{{class|}}}"
  style="
  style="
   {{#if: {{{bgcol|}}} | background: {{{bgcol}}}; | }}
   {{#if: {{{bgcol|}}} | background: {{{bgcol}}}; | }}

Revision as of 05:54, 27 May 2021

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