ผลต่างระหว่างรุ่นของ "แม่แบบ:Fmbox"

เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
หน้าที่ถูกสร้างด้วย '<table id="{{{id|}}}" class="plainlinks fmbox {{#switch:{{{type|}}} | warning = fmbox-warning | editnotice = fmbox-editnotice | syst...'
 
ปรับปรุงแม่แบบ
 
บรรทัดที่ 9:
{{#ifeq:{{{image|}}}|none
| <!-- No image. -->
| <td class = "mbox-image">
{{#if:{{{image|}}}
| {{{image}}}
| [[File:{{#switch:{{{type|}}}
| warning = [[ไฟล์:CmboxAmbox deletion.png|40x40px]]warning pn.svg
| editnotice = [[ไฟล์:Information icon4icon4.svg|40x40px]]
| system <!-- system = default -->
| #default = [[ไฟล์:Information icon4icon4.svg|40x40px]]
}}|40x40px|link=|alt=]]
}}</td>
}}
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imageright|}}}
| <td class = "mbox-imageright"> {{{imageright}}} </td>
}}
</tr>
</table><!--
Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->
| warning
| editnotice
| system = <!-- Do nothing, valid "type" -->
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[หมวดหมู่:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<noinclude>
 
{{pp-template|small=yes}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->