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

เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
Manop (คุย | ส่วนร่วม)
ลองเปลี่ยนจาก div -> table
Aquitania~thwiki (คุย | ส่วนร่วม)
ไม่มีความย่อการแก้ไข
บรรทัด 1:
<div class="noprint" style="clear:left;text-align:left; width: {{{size|80%}}}; margin: {{{margin|0 auto}}}; border-collapse: collapse; background: #FBFBFB; border: 1px solid #aaa; border-left: 10px solid {{#switch:{{{type|}}}
{{#switch:{{{small|}}}
| leftserious = #b22222
| content = #f28500
{{ambox/core
| small style = left#f4c430
| type growth = {{{type|}}}#66CC00
| image merge = {{#if:{{{smallimage|}}}9932cc
| notice = #1e90ff
| {{{smallimage}}}
| protection = silver
| {{{image|}}}
| semi-protection = silver
}}
| unknown = orange
| imageright = {{#if:{{{smallimageright|}}}
| tag = #aaa
| {{{smallimageright}}}
| PD = limegreen
| {{{imageright|}}}
| free license = seagreen
}}
| style fair use = {{{style|}}}#2f4f4f
| textstyle custom = {{{textstyle|color}}}
| text #default = {{#if:{{{smalltext|}}}1e90ff
}}; {{{style|}}}"><!--
| {{{smalltext}}}
-->
| {{{text}}}
{| width="100%"
}}
| width="{{{left|60}}}" style="padding: 0.5em; " valign="{{{valign_l|top}}}" nowrap="nowrap" | <div style="padding-left:{{{left_indent|0px}}}; width:{{{left|60px}}};">
}}
{{#switch:{{{smallimage|{{{type|}}}}}}
| #default =
| serious = [[ภาพ:Deletion icon.svg|50px]]
{{ambox/core
| content = [[ภาพ:Ambox_important.svg|50px]]
| type = {{{type|}}}
| image | style = {{{image[[ภาพ:Ambox_wikify.svg|}}}50px]]
| growth = [[ภาพ:Edit-find-replace.svg|50px]]
| imageright = {{{imageright|}}}
| merge = [[ภาพ:Merge-split-transwiki default.svg|50px]]
| style = {{{style|}}}
| notice = [[ภาพ:Information_icon4.svg|50px]]
| textstyle = {{{textstyle|}}}
| protection = [[ภาพ:Padlock.svg|50px]]
| text = {{{text}}}
| semi-protection = [[ภาพ:Vista-password.png|50px]]
}}
| blank = <!-- empty image cell -->
}}<noinclude>
| #default = {{{image|[[ภาพ:Gtk-dialog-info.svg|50px]]}}}
{{เอกสารกำกับแม่แบบ}}
}}</div>
| width="100%" style="padding:{{{pad_top|0.5em}}} 0 0.5em {{{pad_left|0}}};" valign="{{{valign_c|middle}}}" | {{{text|ข้อความ}}}<!--
-->{{#if:{{{imageright<includeonly>|</includeonly>}}}| <td valign="{{{valign_r|top}}}"> {{{imageright}}} </td>}}
|}
}}</div><noinclude><!--
--><br /><!--
 
 
-->{{เอกสารกำกับแม่แบบ}}
<!-- เพิ่มอินเตอร์วิกิลิงก์ที่เอกสารกำกับแม่แบบ ไม่ใช่ที่นี่ -->
[[หมวดหมู่:ป้ายในวิกิพีเดีย]]