Template:Ombox: Difference between revisions
Content added Content deleted
(Added "{{pp-template|small=yes}}".) |
(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 class="ombox-image"> |
|||
| <td style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;"> |
|||
{{#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> |
Revision as of 17:07, 5 August 2008
{{{text}}} |
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template documentation[create]