टेम्पलेट:Cmbox: रिवीजन सभ के बीचा में अंतर

Content deleted Content added
imported>Davidgothberg
छो moved Template:Cmbox to Template:Cambox: David Levy did not like "catbox", and "cmbox" is not nice to pronounce. So perhaps "cambox" since that was the second choice for me and Kelly. See talk page.
imported>Davidgothberg
Changing to hard coded styles so this box can be tested. Updating with latest code from {{ambox}}.
लाइन 1:
<table class="metadata plainlinks ambox" style="margin: 0px 10%; border: 1px solid #aaa;
{{#switch:{{{type|}}}
| speedy = ambox-speedymargin: 3px 10%; <!--border: Can4px besolid used#b22222; frombackground: 19 May 2008 -->#efd2d2;
| delete <!-- delete = seriousbackground: -->#efd2d2;
| seriouscontent = ambox-delete background: #fce6cc;
| contentstyle = ambox-contentbackground: #fcf3d5;
| stylemove = ambox-stylebackground: #ead6f4;
| protection = ambox-protectionbackground: #ececdb;
| move <!-- move = merge -->
| mergenotice = ambox-merge <!-- Wenotice can't use ambox-move= yetdefault -->
| #default = ambox-noticebackground: #d2e8ff;
| protection = ambox-protection
}} {{{style|}}}">
| notice = ambox-notice
| #default = ambox-notice
}}" style="border: 1px solid #aaa; background: #d2e8ff; {{{style|}}}">
<tr>
<td class="ambox-image">
Line 17 ⟶ 15:
| <!-- No image cell; empty cell necessary for text cell to have 100% width -->
| <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}}
| speedy = [[Image:Ambox speedy deletion.png|40x40px]]
| delete = [[Image:Ambox deletion.png|40x40px]]
| serious = [[Image:Ambox deletion.png|40x40px]]
| content = [[Image:Ambox content.png|40x40px]]
| style = [[Image:BroomAmbox iconstyle.svgpng|40x40px]]
| seriousmove = [[Image:Ambox deletionmove.png|40x40px]]
| move
| merge protection = [[Image:Merge-split-transwikiAmbox defaultprotection.svgpng|40x40px]]
| protection = [[Image:Padlock-silver-medium.svg|40x40px]]
| notice = [[Image:Ambox notice.png|40x40px]]
| blank = [[Image:No image.svg|40x40px]]&nbsp;
| #default = {{{image|[[Image:Ambox notice.png|40x40px]]}}}
}}</div>