Difference between revisions of "Template:Ombox"
Updating to use the classes in MediaWiki:Common.css. The 30 days CSS caching has passed.
>Davidgothberg (Added "{{pp-template|small=yes}}".) |
>Davidgothberg (Updating to use the classes in MediaWiki:Common.css. The 30 days CSS caching has passed.) |
||
Line 1: | Line 1: | ||
<table class="plainlinks | <table class="plainlinks ombox | ||
{{#switch:{{{type|}}} | {{#switch:{{{type|}}} | ||
| speedy = | | speedy = ombox-speedy | ||
| delete = | | delete = ombox-delete | ||
| content = | | content = ombox-content | ||
| style = | | style = ombox-style | ||
| move = | | move = ombox-move | ||
| protection = | | protection = ombox-protection | ||
| notice <!-- notice = default --> | | notice <!-- notice = default --> | ||
| #default = | | #default = ombox-notice | ||
}} {{{style|}}}"> | }}" style="{{{style|}}}"> | ||
<tr> | <tr> | ||
{{#ifeq:{{{image|}}}|none | {{#ifeq:{{{image|}}}|none | ||
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td> | | <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td> | ||
| <td | | <td class="ombox-image"> | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
| {{{image}}} | | {{{image}}} | ||
Line 28: | Line 28: | ||
}}</td> | }}</td> | ||
}} | }} | ||
<td style=" | <td class="ombox-text" style="{{{textstyle|}}}"> {{{text}}} </td> | ||
{{#if:{{{imageright|}}} | {{#if:{{{imageright|}}} | ||
| <td | | <td class="ombox-imageright"> {{{imageright}}} </td> | ||
}} | }} | ||
</tr> | </tr> |