Template:Message Box: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
| Line 3: | Line 3: | ||
<div class="messageBox_text {{#if:{{{banner|}}}|messageBox_shadow}}">{{{text|This is a message box.}}}</div> | <div class="messageBox_text {{#if:{{{banner|}}}|messageBox_shadow}}">{{{text|This is a message box.}}}</div> | ||
</div><noinclude> | </div><noinclude> | ||
== Description == | |||
Creates a custom message box. | Creates a custom message box. | ||
Revision as of 00:37, 18 April 2026
Description
Creates a custom message box.
Usage
<ref>{{MessageBox|text=|color=|banner=}}</ref>
Parameters
text- Required. Text content of the message box.
color- Optional. CSS color of the left border.
banner- Optional. Shorthand file name (e.g.
Template Stub.png). Displays a faded banner across the left with the image specified.