"ഫലകം:Ambox" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

(ചെ.) 1 പതിപ്പ്
Planned fixes: Using new CSS class names (deployed for 30 days now). Fixing the empty "image=" parameter bug and the padding for the image=none case. And some other cleanup. (Tested in sandbox.)
വരി 1:
<table class="metadata plainlinks ambox
{{#switch:{{{type|}}}
| speedy = ambox-speedy <!-- Can be used from 19 May 2008 -->
| delete <!-- delete = serious -->
| serious = ambox-delete
| content = ambox-content
| style = ambox-style
| move <!-- move = merge -->
| merge = ambox-merge <!--ambox-move can be used 20 May 2008-->
| protection = ambox-protection
| notice = ambox <!-- notice = default -->
| #default = ambox-notice
}}" style="{{{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 class="ambox-image"><div style="width: 52px;"> {{#switch:{{{image|{{{type|}}}}}}
{{#ifeq:{{{image|}}}|blank
| speedy = [[Image:Ambox speedy deletion.png|40x40px]]
| delete&nbsp;
| {{#if:{{{image|}}}
| serious = [[Image:Ambox deletion.png|40x40px]]
| {{{image}}}
| content = [[Image:Ambox content.png|40x40px]]
| {{#switch:{{{type|}}}
| style = [[Image:Ambox style.png|40x40px]]
| speedy = [[Image:Ambox speedy deletion.png|40x40px]]
| move
| delete
| merge = [[Image:Ambox move.png|40x40px]]
| protectionserious = [[Image:Ambox protectiondeletion.png|40x40px]]
| notice | content = [[Image:Ambox noticecontent.png|40x40px]]
| blankstyle = &nbsp;[[Image:Ambox style.png|40x40px]]
| move
| #default = {{{image|[[Image:Ambox notice.png|40x40px]]}}}
| seriousmerge = [[Image:Ambox deletionmove.png|40x40px]]
}}</div>
| style | protection = [[Image:Ambox styleprotection.png|40x40px]]
}}</td>
| notice <!-- notice = default -->
<td class="ambox-text" style="{{{textstyle|}}}">{{{text}}}</td>
| content | #default = [[Image:Ambox contentnotice.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>
"https://ml.wikiquote.org/wiki/ഫലകം:Ambox" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്