Template:Mbox: Difference between revisions

From BMSpedia
Jump to navigation Jump to search
Created page with "<includeonly> </includeonly><noinclude> == Mbox Template == Used for informational callout boxes throughout the wiki. Usage: <pre> {{Mbox |type=notice |text=Your content here }} </pre> </noinclude> <table style=" border: 1px solid #a2a9b1; background-color: {{#switch:{{{type|}}} | notice = #eaf3fb | warning = #fff9db | alert = #fde8e8 | #default = #f8f9fa }}; border-left: 4px solid {{#switch:{{{type|}}} | notice = #3680b0 | warning =..."
 
 
Line 35: Line 35:
<tr>
<tr>
<td style="padding: 6px 10px; vertical-align: top;">
<td style="padding: 6px 10px; vertical-align: top;">
{{#switch:{{{type|}}}
 
  | notice  = [[File:Info_icon.svg|20px|link=]]
  | warning = [[File:Warning_icon.svg|20px|link=]]
  | alert  = [[File:Alert_icon.svg|20px|link=]]
  | #default =
}}
</td>
</td>
<td style="padding: 6px 10px; vertical-align: top; width: 100%;">
<td style="padding: 6px 10px; vertical-align: top; width: 100%;">

Latest revision as of 23:07, 24 February 2026

Mbox Template

Used for informational callout boxes throughout the wiki.

Usage:

{{Mbox
|type=notice
|text=Your content here
}}