ઢાંચો:Tmbox: આવૃત્તિઓ વચ્ચેનો તફાવત

Content deleted Content added
Changed design based off of Wikipedia:Deletion message boxes by User:Edokter
imported>Davidgothberg
નાનું Code derived from imbox, updated to standardised talk page brown style, trying the darker grey border other boxes uses on the move type. This code is NOT ready, but is a basis for discussion.
લીટી ૧:
<table class="plainlinks" style="margin: 4px 10%; border-collapse: collapse; background: #f8eaba; border: 1px solid #c0c090;
<table class="metadata plainlinks tmbox {{
{{#switch: {{{type|}}}
| speedy = border: 1px solid #c0c090;
| serious = tmbox-serious
| delete = border: 1px solid #c0c090;
| content = tmbox-content
| content = border: 1px solid #c0c090;
| style = tmbox-style
| style = border: 1px solid #c0c090;
| merge = tmbox-merge
| move = border: 1px solid #aaa;
| notice = tmbox-notice
| protection = border: 1px solid #c0c090;
| #default = tmbox-notice
| notice = tmbox-notice
}}" style="width: 80%; margin: 0 auto; background-color: #ecfcf4; line-height: 1.5em; font-size: xx-small; color: #000000; text-align: center; border: 1px solid #aaa; border-left: 5px solid #b22222; {{{style|}}}">
| #default = border: 1px solid #c0c090;
}} {{{style|}}}">
<tr>
{{#ifeq: {{{image|}}} | none
{{
| <!-- noNo image. cell;Cell emptywith cellsome width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td>
#ifeq: {{{image}}} | none
| <td style="border: none; padding: 2px 0px 2px 0.9em; text-align: center;">
| <!-- no image cell; empty cell necessary for text cell to have 100% width -->
{{#if: {{{imagerightimage|}}}
| <td class="ambox-image" style="width:26px">{{
#switch:| {{{image|{{{type|}}}}}}
| {{#switch:{{{type|}}}
| serious = [[Image:Stop hand nuvola.svg|20px]]
| contentspeedy = [[Image:Emblem-importantImbox speedy deletion.svgpng|20px40x40px]]
| styledelete = [[Image:BroomImbox icondeletion.svgpng|20px40x40px]]
| mergecontent = [[Image:Merge-split-transwikiImbox defaultcontent.svgpng|40x40px]]
| noticestyle = [[Image:InfoImbox non-talkstyle.png|20px40x40px]]
| blankmove = [[Image:NoImbox imagemove.svgpng|40x40px]]
| #defaultprotection = {{{image|[[Image:InfoImbox non-talkprotection.png|20px40x40px]]}}}
| notice <!-- notice = default -->
| serious#default = [[Image:Stop handImbox nuvolanotice.svgpng|20px40x40px]]
}}
}}</td>
}}
<td class="ambox-text" style="border: none; padding: 0.25em 0.9em; width: 100%; {{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
{{
| <td style="border: none; padding: 2px 0.9em 2px 0px; text-align: center;"> {{{imageright}}} </td>
#if: {{{imageright|}}}
| <td class="ambox-imageright" style="width:26px">{{{imageright}}}</td>
}}
</tr>
</table><noinclude>
 
{{documentation}}
<!-- {{pp-template|small=yes}} -->
{{Documentation}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
</noinclude>