Шаблон:Imbox — разлика између измена

Садржај обрисан Садржај додат
CommonsDelinker је заменио датотеку Imbox_deletion.png са Ambox_deletion.png. Разлог: Duplicate: Exact or scaled-down duplicate: commons::File:Ambox deletion.png.
модул
 
Ред 1:
{{#invoke:Message box|imbox}}<noinclude>
<table class="plainlinks imbox
<noinclude>{{documentation}}</noinclude>
{{#switch:{{{type|}}}
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
| speedy = imbox-speedy
</noinclude>
| delete = imbox-delete
| content = imbox-content
| style = imbox-style
| move = imbox-move
| protection = imbox-protection
| license = imbox-license licensetpl
| featured = imbox-featured
| notice <!-- notice = default -->
| #default = imbox-notice
}}" style="{{{style|}}}">
<tr>
{{#ifeq:{{{image|}}}|none
| <!-- No image. Cell with some width or padding necessary for text cell to have 100% width. --><td class="mbox-empty-cell"></td>
| <td class="mbox-image">
{{#if:{{{image|}}}
| {{{image}}}
| {{#switch:{{{type|}}}
| speedy = [[Слика:Imbox speedy deletion.png|40x40px]]
| delete = [[Слика:Ambox deletion.png|40x40px]]
| content = [[Слика:Imbox content.png|40x40px]]
| style = [[Слика:Imbox style.png|40x40px]]
| move = [[Слика:Imbox move.png|40x40px]]
| protection = [[Слика:Imbox protection.png|40x40px]]
| license = [[Слика:Imbox license.png|40x40px]]
| featured = [[Слика:Imbox featured.png|40x40px]]
| notice <!-- notice = default -->
| #default = [[Слика:Imbox notice.png|40x40px]]
}}
}}</td>
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class="mbox-imageright"> {{{imageright}}} </td>
}}
</tr>
{{#if:{{{below|}}}
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="mbox-text" style="{{{textstyle|}}}"> {{{below}}} </td></tr>
}}
</table><!-- Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->
| speedy
| delete
| content
| style
| move
| protection
| license
| featured
| notice = <!-- Do nothing, valid "type" -->
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>
}}
<noinclude>{{documentation}}</noinclude>