Template:Mbox: Difference between revisions
No edit summary |
m Spacing |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="background-color:#f8f8ff;border:1px solid #daa520;padding:10px;display:flex;"> | <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;">{{{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> | ||
[[Category:Article stubs]] | [[Category:Article stubs]]</includeonly><noinclude> | ||
</includeonly> | |||
<noinclude> | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 27: | Line 12: | ||
| title || (Optional) A Title to display in the message box | | title || (Optional) A Title to display in the message box | ||
|- | |- | ||
| || All other content is displayed as text | | 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 | |||
|} | |} | ||
[[Category:Templates|{{PAGENAME}}]] | [[Category:Templates|{{PAGENAME}}]] | ||
{Documentation} | {{Documentation}} | ||
</noinclude> | </noinclude> |
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?) |