Template:Ombox: Difference between revisions

From BSC Policy
Jump to navigationJump to search
(don't show documentation in includes)
(actually have text be a parameter)
 
Line 1: Line 1:
<div class="messagebox"><table class="plainlinks ombox" role="presentation" style="{{{style}}}">
<div class="messagebox"><table class="plainlinks ombox" role="presentation" style="{{{style}}}">
<tr><td class="ombox-image">[[File:Information icon4.svg.png|40x40]]</td>
<tr><td class="ombox-image">[[File:Information icon4.svg.png|40x40]]</td>
<td class="mbox-text" style="{{{textstyle}}}">text</td></tr></table></div>
<td class="mbox-text" style="{{{textstyle}}}">{{{text}}}</td></tr></table></div>
<noinclude>
<noinclude>
This is the same as [https://en.wikipedia.org/wiki/Template:Ombox Wikipedia's Ombox] except that it can't handle custom images.
This is the same as [https://en.wikipedia.org/wiki/Template:Ombox Wikipedia's Ombox] except that it can't handle custom images.

Latest revision as of 19:01, 8 April 2021

This is the same as Wikipedia's Ombox except that it can't handle custom images.

Usage

{{{ombox
| type = style
| style = width: 400px;
| textstyle = color: red; font-weight: bold; font-style: italic;
| text      = The message body text.
}}}