Khác biệt giữa bản sửa đổi của “Bản mẫu:Hộp thông báo hình”

Nội dung được xóa Nội dung được thêm vào
Đã lùi lại sửa đổi 16213359 của Mxn (Thảo luận)
Dòng 1:
<table class="plainlinks ambox
{{#gọi:Message box|imbox}}<noinclude>
{{#switch:{{{type|{{{loại|}}}}}}
| speedy|xóa nhanh|delete|xóa = ambox-delete
| content|nội dung = ambox-content
| style|văn phong = ambox-style
| move|di chuyển = ambox-move
| protection|khóa = ambox-protection
| license|giấy phép = ambox-license
| featured|chọn lọc = ambox-featured
| notice|chú ý <!-- notice = default -->
| #default = ambox-notice
}}" style="{{{style|{{{kiểu|}}}}}}">
<tr>
{{#ifeq:{{{image|{{{hình|}}}}}}|không
| <!-- 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="ambox-image">
{{#if:{{{image|{{{hình|}}}}}}
| {{{image|{{{hình}}}}}}
| {{#switch:{{{type|{{{loại|}}}}}}
| speedy|xóa nhanh|delete|xóa = [[Tập tin:Commons-emblem-speedy.svg|44px|link=|alt=]]
| content|nội dung = [[Tập tin:Commons-emblem-issue.svg|44px|link=|alt=]]
| style|văn phong = [[Tập tin:Commons-emblem-copyedit.svg|44px|link=|alt=]]
| move|di chuyển = [[Tập tin:Commons-emblem-merge.svg|44px|link=|alt=]]
| protection|khóa = [[Tập tin:Commons-emblem-padlock.svg|44px|link=|alt=]]
| license|giấy phép = [[Tập tin:Commons-emblem-legal.svg|44px|link=|alt=]]
| featured|chọn lọc = [[Tập tin:Imbox featured.png|40px|link=|alt=]]
| notice|chú ý <!-- notice = default -->
| #default = [[Tập tin:Commons-emblem-notice.svg|44px|link=|alt=]]
}}
}}</td>
}}
<td class="ambox-text" style="{{{textstyle|{{{kiểu chữ|}}}}}}"> {{{text|{{{chữ}}}}}} </td>
{{#if:{{{imageright|{{{hình phải|}}}}}}
| <td class="ambox-imageright"> {{{imageright|{{{hình phải}}}}}} </td>
}}
</tr>
{{#if:{{{below|{{{dưới|}}}}}}
| <tr><td colspan={{#if:{{{imageright|{{{hình phải|}}}}}}|3|2}} class="ambox-text" style="{{{textstyle|{{{kiểu chữ|}}}}}}"> {{{below|{{{dưới}}}}}} </td></tr>
}}
</table><!-- Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|{{{loại|}}}}}}
| <!-- No type fed, is also valid input -->
| speedy|xóa nhanh|delete|xóa
| content|nội dung
| style|văn phong
| move|di chuyển
| protection|khóa
| license|giấy phép
| featured|chọn lọc
| notice|chú ý = <!-- Do nothing, valid "type" -->
| #default = <div style="text-align: center;">Hộp thông báo này đang sử dụng một tham số "loại={{{loại|}}}" sai quy cách và cần được sửa chữa.</div>[[Thể loại:Hộp thông báo cần sửa tham số|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<noinclude>
 
{{Tài liệu}}
<!-- CategoriesAdd gocategories onand inter-wikis to the /doc subpage, and interwikis go onnot Wikidata.here! -->
</noinclude>