Anonymous user
Template:Ombox: Difference between revisions
Copying from the /sandbox. This version is derived from the imbox since the imbox code is much closer to the needs of the ombox than the ambox is. See talk page for explanation/discussion.
m (moved Template:Dmbox to Template:Ombox: per consensus at Template talk:Imbox#Other spaces message boxes) |
(Copying from the /sandbox. This version is derived from the imbox since the imbox code is much closer to the needs of the ombox than the ambox is. See talk page for explanation/discussion.) |
||
Line 1:
<table class="
{{#switch:{{{type|}}}
| speedy = border: 2px solid #b22222; background: #fee;
| delete = border: 2px solid #b22222;
| content = border: 1px solid #f28500;
| style = border: 1px solid #f4c430;
| move = border: 1px solid #9932cc;
| protection = border: 2px solid #bba;
| notice <!-- notice = default -->
| #default = border: 1px solid #aaa;
}} {{{style|}}}">
<tr>
{{#ifeq:{{{image|}}}|none
| <td style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;">
{{#if:{{{image|}}}
| speedy = [[Image:Ambox speedy deletion.png|40x40px]] ▼
| {{#switch:{{{type|}}}
|
|
|
|
|
|
| #default =
}}
}}</td>
}}
<td style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
}}
</tr>
</table><noinclude>
<!-- {{pp-template|small=yes}} -->
{{Documentation}}
<!-- Add categories and
</noinclude>
|