Template:Message Box: Difference between revisions
Jump to navigation
Jump to search
message box styling fix |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<div class="messageBox_base plainlinks" style="border-left:4px solid {{{color|#FFBB00}}};"> | <div class="messageBox_base plainlinks" style="border-left:4px solid {{{color|#FFBB00}}};"> | ||
{{#if:{{{banner|}}}|<div class="messageBox_banner"><div class="messageBox_bannerImage">[[File:{{{banner}}}|link=]]</div></div>}} | {{#if:{{{banner|}}}|<div class="messageBox_banner"><div class="messageBox_bannerImage">[[File:{{{banner}}}|link=]]</div></div>}} | ||
<div class="messageBox_text | <div class="messageBox_text">{{{text|This is a message box.}}}</div> | ||
</div><noinclude> | </div><noinclude> | ||
== Description == | == Description == | ||
| Line 7: | Line 7: | ||
== Usage == | == Usage == | ||
<code><nowiki><ref>{{ | <code><nowiki><ref>{{Message Box|text=|color=|banner=}}</ref></nowiki></code> | ||
=== Parameters === | === Parameters === | ||
Latest revision as of 21:30, 24 April 2026
Description
Creates a custom message box.
Usage
<ref>{{Message Box|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.