Template:Cmbox: ke revisions ke biich ke antar

Content deleted Content added
imported>Davidgothberg
Starting out this category message box meta-template.
 
imported>Davidgothberg
Updating to new ambox code.
Rekha 1:
<table class="metadata plainlinks ambox
{{#switch:{{{type|}}}
| seriousspeedy = ambox-seriousspeedy <!-- Can be used from 19 May 2008 -->
| delete <!-- delete = serious -->
| content = ambox-content
| styleserious = ambox-styledelete
| mergecontent = ambox-mergecontent
| noticestyle = ambox-noticestyle
| move <!-- move = merge -->
| #default = ambox-notice
| merge = ambox-merge <!-- We can't use ambox-move yet -->
| protection = ambox-protection
| contentnotice = ambox-contentnotice
| #default = ambox-notice
}}" style="border: 1px solid #aaa; background: #d2e8ff; {{{style|}}}">
<tr>
<td class="ambox-image">
{{#ifeq:{{{image|}}}|none
| <!-- noNo image cell; empty cell necessary for text cell to have 100% width -->
| <div style="width:52px;"> {{#switch:{{{image|{{{type|}}}}}}
| seriousspeedy = [[Image:Stop handAmbox nuvoladeletion.svgpng|40px40x40px]]
| delete
| content = [[Image:Emblem-important.svg|40px]]
| styleserious = [[Image:BroomAmbox icondeletion.svgpng|40px40x40px]]
| mergecontent = [[Image:Merge-split-transwikiAmbox defaultcontent.svgpng|40x40px]]
| noticestyle = [[Image:InfoBroom non-talkicon.pngsvg|40px40x40px]]
| move
| blank = [[Image:No image.svg]]
| #defaultmerge = {{{image|[[Image:InformationMerge-split-transwiki icon4default.svg|40px40x40px]]}}}
| protection = [[Image:Padlock-silver-medium.svg|40x40px]]
| blanknotice = [[Image:NoAmbox imagenotice.svgpng|40x40px]]
| contentblank = [[Image:Emblem-importantNo image.svg|40px40x40px]]
| #default = {{{image|[[Image:Ambox notice.png|40x40px]]}}}
}}</div>
}}</td>
<td class="ambox-text" style="{{{textstyle|}}}">{{{text}}}</td>
{{#if:{{{imageright|}}}|
| <td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
}}
</tr>