Шаблон:Imbox: Розніца паміж версіямі

[дагледжаная версія][дагледжаная версія]
Змесціва выдалена Змесціва дададзена
Новая старонка: '<table class="plainlinks imbox {{#switch:{{{type|}}} | speedy = imbox-speedy | delete = imbox-delete | content = imbox-content | style = imbox-styl...'
 
Замена старонкі на '{{#invoke:Message box|imbox}}<noinclude> {{doc}} Катэгорыя:Шаблоны для шаблонаў </noinclude>'
Тэг: Заменена
 
Радок 1:
{{#invoke:Message box|imbox}}<noinclude>
<table class="plainlinks imbox
{{#switch:{{{type|}}}
| speedy = imbox-speedy
| 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 style="border: none; padding: 1px;"></td>
| <td class="mbox-image">
{{#if:{{{image|}}}
| {{{image}}}
| {{#switch:{{{type|}}}
| speedy = [[Image:Imbox speedy deletion.png|40x40px]]
| delete = [[Image:Ambox deletion.png|40x40px]]
| content = [[Image:Imbox content.png|40x40px]]
| style = [[Image:Imbox style.png|40x40px]]
| move = [[Image:Ambox_move.png|40x40px]]
| protection = [[Image:Imbox protection.png|40x40px]]
| license = [[Image:Imbox license.png|40x40px]]
| featured = [[Image:Imbox featured.png|40x40px]]
| notice <!-- notice = default -->
| #default = [[Image:Imbox notice.png|40x40px]]
}}
}}</td>
}}
<td class="imbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class="imbox-imageright"> {{{imageright}}} </td>
}}
</tr>
{{#if:{{{below|}}}
| <tr><td colspan={{#if:{{{imageright|}}}|3|2}} class="imbox-text" style="{{{textstyle|}}}"> {{{below}}} </td></tr>
}}
</table><noinclude>
{{doc}}
 
[[Катэгорыя:Шаблоны для шаблонаў]]
</noinclude>