Template:Ombox: Difference between revisions
From BSC Policy
Jump to navigationJump to search
No edit summary |
(fix this template as much as possible without #if) |
||
Line 1: | Line 1: | ||
< | <div class="messagebox messagebox-style4"><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> | |||
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> |
Revision as of 18:51, 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. }}}