Разлика помеѓу преработките на „Предлошка:Ambox“

поправки
с (Нова страница: <table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}} | serious = ambox-serious | content = ambox-content | style = ambox-style |...)
 
(поправки)
<table style="{{{style|}}}" class="metadata plainlinks ambox {{#switch:{{{type|}}}
{{#switch:{{{type|}}}
| serious = ambox-serious
| speedy | content = ambox-contentspeedy
| delete <!-- delete = serious -->
| style = ambox-style
| mergeserious = ambox-mergedelete
| content | notice = ambox-noticecontent
| style | #default = ambox-noticestyle
| move <!-- move = merge -->
}}">
| merge | style = ambox-stylemove
| protection = ambox-protection
| notice <!-- notice = default -->
| #default = ambox-notice
}}" style="{{{style|}}}">
<tr>
{{#ifeq:{{{image|}}}|none
<td class="ambox-image">
| <!-- noNo image. cell;Cell emptywith cellsome width or padding necessary for text cell to have 100% width. --><td style="border: none; padding: 1px;"></td>
{{#ifeq:{{{image}}}|none
| <td class="ambox-image"><div style="width: 52px;">
| <!-- no image cell; empty cell necessary for text cell to have 100% width -->
| <div style="width:52px;"> {{#switchifeq:{{{image|{{{type|}}}}}}|blank
| &nbsp;
| serious = [[Image:Stop hand nuvola.svg|40px]]
| {{#if:{{{imagerightimage|}}}|
| content = [[Image:Emblem-important.svg|40px]]
| {{{image}}}
| style = [[Image:Broom icon.svg|40px]]
| {{#switch:{{{type|}}}
| merge = [[Image:Merge-split-transwiki default.svg]]
| noticespeedy = [[Image:InfoAmbox speedy non-talkdeletion.png|40px40x40px]]
| delete
| blank = [[Image:Spacer.gif]]
| #defaultserious = {{{image|[[Image:InfoAmbox warning non-talkpn2.pngsvg|40px40x40px]]}}}
| content = [[Image:Emblem-important.svg|40px40x40px]]
}}</div>
| seriousstyle = [[Image:Stop handBroom nuvolaicon.svg|40px40x40px]]
}}</td>
| move
<td class="ambox-text">{{{text}}}</td>
| merge = [[Image:Merge-split-transwiki default.svg|40x40px]]
{{#if:{{{imageright|}}}|
| protection = [[Image:Padlock-silver-medium.svg|40x40px]]
<td class="ambox-imageright"><div style="width:52px;"> {{{imageright}}} </div></td>
| notice <!-- notice = default -->
| #default = [[Image:Info non-talk.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>