Difference between revisions of "Template:Ombox"
From BSC Policy
Jump to navigationJump to search (Ombox Template) |
(actually have text be a parameter) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <div class="messagebox"><table class="plainlinks ombox" role="presentation" style="{{{style}}}"> |
− | {{ | + | <tr><td class="ombox-image">[[File:Information icon4.svg.png|40x40]]</td> |
− | {{ | + | <td class="mbox-text" style="{{{textstyle}}}">{{{text}}}</td></tr></table></div> |
− | < | + | <noinclude> |
+ | This is the same as [https://en.wikipedia.org/wiki/Template:Ombox Wikipedia's Ombox] except that it can't handle custom images. | ||
+ | ==Usage== | ||
+ | <pre>{{{ombox | ||
+ | | type = style | ||
+ | | style = width: 400px; | ||
+ | | textstyle = color: red; font-weight: bold; font-style: italic; | ||
+ | | text = The message body text. | ||
+ | }}} | ||
+ | </pre> | ||
</noinclude> | </noinclude> |
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. }}}