Difference between revisions of "Template:Ombox"

From BSC Policy
Jump to navigationJump to search
(fix this template as much as possible without #if)
(don't show documentation in includes)
Line 1: Line 1:
<div class="messagebox messagebox-style4"><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>
 
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.
 
==Usage==
 
==Usage==
Line 11: Line 12:
 
}}}
 
}}}
 
</pre>
 
</pre>
 +
</noinclude>

Revision as of 19:00, 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.
}}}