Template:Mbox: Difference between revisions

From Nubious
Nubious (talk | contribs)
No edit summary
Nubious (talk | contribs)
m Spacing
 
Line 1: Line 1:
<includeonly>
<includeonly>
<div style="background-color:{{{bg|#f8f8ff}}};border:1px solid {{{border|#daa520}}};padding:10px;display:flex;color:{{{fg|#000000}}}">
<div style="background-color:{{{bg|#f8f8ff}}};border:1px solid {{{border|#daa520}}};padding:10px;display:flex;color:{{{fg|#000000}}}";margin-bottom:5px;>
{{#if: {{{icon|}}} | <div style="margin:5px;font-size:24px;color:{{{iconcolor|#ff0000}}}">{{icon | {{{icon}}} }}</div> | }}
{{#if: {{{icon|}}} | <div style="margin:5px;font-size:24px;color:{{{iconcolor|#ff0000}}}">{{icon | {{{icon}}} }}</div> | }}
<div style="margin:5px;">{{#if: {{{title|}}} | <b>{{{title}}}</b><br/> |}}{{{1|}}}</div></div>
<div style="margin:5px;">{{#if: {{{title|}}} | <b>{{{title}}}</b><br/> |}}{{{1|}}}</div></div>

Latest revision as of 05:36, 15 October 2024

Argument Description
icon (Optional) An Icon to display in the message box
title (Optional) A Title to display in the message box
fg (Optional) Foreground Color
bg (Optional) Background Color
border (Optional) Border color
iconcolor (Optional) Icon color, Default is RED
All other content is displayed as text
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Mbox/doc to edit this documentation. (How does this work?)