"आकृति:Imbox" के अवतरणसभमे अन्तर

imported>David Levy
switched to imbox-specific image files for future flexibility and replaced PD icon with example/default license icon that doesn't specify copyright status
imported>Davidgothberg
Fixing the empty "image=" parameter bug. Dropping the "image=blank" option. (Tested in sandbox.)
पङ्क्त्ति १:
<table class="metadata plainlinks" style="margin: 4px 10%; border-collapse: collapse; border: 1px solid #aaa; background: #fbfbfb;
{{#switch:{{{type|}}}
| speedy = border: 3px solid #b22222; background: #fee;
| delete = border: 3px solid #b22222;
| content = border: 3px solid #f28500;
| style = border: 3px solid #f4c430;
| move = border: 3px solid #9932cc;
| protection = border: 3px solid #bba;
| license = border: 3px solid #88a; background: #f7f8ff;
| featured = border: 3px solid #cba135;
| notice <!-- notice = default -->
| #default = border: 3px solid #1e90ff;
}} {{{style|}}}">
<tr>
<td style="border: none; padding: 2px 0px 2px 0.5em; text-align: center;">
{{#ifeq:{{{image|}}}|none
| <!-- No image cell; empty cell necessary for text cell to have 100% width -->
| <div style="width:52px;">
{{#switchif:{{{image|{{{type|}}}}}}
| {{{image}}}
| {{#switch:{{{type|}}}
| speedy = [[Image:Imbox speedy deletion.png|40x40px]]
| delete = [[Image:Imbox deletion.png|40x40px]]
Line २५ ⟶ २८:
| license = [[Image:Imbox license.png|40x40px]]
| featured = [[Image:Imbox featured.png|40x40px]]
| notice = [[Image:Imbox <!-- notice.png|40x40px]] = default -->
| blank#default = [[Image:Imbox = &nbsp;notice.png|40x40px]]
}}
| #default = {{{image|[[Image:Imbox notice.png|40x40px]]}}}
}}</div>
}}</td>
प्राप्ति स्थल "https://mai.wikipedia.org/wiki/आकृति:Imbox"