Template:Ombox: ke revisions ke biich ke antar

Content deleted Content added
imported>Happy-melon
imported>Davidgothberg
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.
Rekha 1:
<table class="metadata plainlinks messagebox" style="{{{style|}}}">margin: 3px 10%; border-collapse: collapse; background: #f9f9f9;
{{#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>
<td class="ambox-image">
{{#ifeq:{{{image|}}}|none
| <!-- No image. cell;Cell emptywith cellsome width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td>
| <td style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;">
| <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}}
{{#if:{{{image|}}}
| speedy = [[Image:Ambox speedy deletion.png|40x40px]]
| delete{{{image}}}
| {{#switch:{{{type|}}}
| serious = [[Image:Ambox deletion.png|40x40px]]
| contentspeedy = [[Image:AmboxImbox contentspeedy deletion.png|40x40px]]
| style delete = [[Image:AmboxImbox styledeletion.png|40x40px]]
| speedy content = [[Image:AmboxImbox speedy deletioncontent.png|40x40px]]
| move
| mergestyle = [[Image:AmboxImbox movestyle.png|40x40px]]
| protectionmove = [[Image:AmboxImbox protectionmove.png|40x40px]]
| notice protection = [[Image:AmboxImbox noticeprotection.png|40x40px]]
| blanknotice <!-- notice = &nbsp;default -->
| #default = {{{image|[[Image:AmboxImbox notice.png|40x40px]]}}}
}}</div>
}}</td>
}}
<td class="ambox-text" style="{{{textstyle|}}}">{{{text}}}</td>
<td style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class="ambox-imageright"><div style="widthborder:52px none; padding: 2px 0.9em 2px 0px; text-align: center;"> {{{imageright}}} </div></td>
}}
</tr>
</table><noinclude>
 
<!-- {{pp-template|small=yes}} -->
{{Documentation}}
<!-- Add categories and interwikisinter-wikis to the /doc subpage, not here! -->
</noinclude>