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

เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
Taweetham (คุย | ส่วนร่วม)
ย้อนการแก้ไขของ Taweetham (พูดคุย) ไปยังรุ่นก่อนหน้าโดย Horus
Taweetham (คุย | ส่วนร่วม)
ไม่มีความย่อการแก้ไข
บรรทัด 1:
 
{{#switch:{{{small|}}}
 
| left =
{{#ifeq:{{{subst}}}|SUBST
{{ambox/core
|{{#if:{{{name|}}}
| small = center
|{{error|Template {{tlx|{{{name}}}}} has been incorrectly substituted.}}
| type = {{{type|}}}
}}[[Category:Pages with incorrectly substituted templates]]
| image = {{#if:{{{smallimage|}}}
}}{{#switchifeq:{{{small|}}}|left
| {{{smallimage}}}
|{{amboxAmbox/core
| {{{image|}}}
|small = }}left
|type imageright = {{#if:{{{smallimagerighttype|}}}
|image |= {{#if:{smallimageright{{smallimage|}}}
| {{{imageright|smallimage}}}
|{{{image|}}}
| style = {{{style|}}}
| textstyle = {{{textstyle|}}}
| text = {{#if:{{{smalltext|}}}
| {{{smalltext}}}
| {{{text}}}
}}
}}
| |imageright = {{#if:{imageright{{smallimageright|}}}
| #default =
|{{{smallimageright}}}
{{ambox/core
| type = |{{{typeimageright|}}}
| image = {{{image|}}}
| imageright = {{{imageright|}}}
| style = {{{style|}}}
| textstyle = {{{textstyle|}}}
| text = {{{text}}}
}}
| |style = {{{style|}}}
| |textstyle = {{{textstyle|}}}
| |text = {{#if:{{{smalltext|}}}
| {{{smalltext}}}
| {{{text}}}
}}
}}
|{{amboxAmbox/core
| |type = {{{type|}}}
| |image = {{#if:{{{smallimageimage|}}}
|imageright = {{{imageright|}}}
| image |style = {{{imagestyle|}}}
| |textstyle = {{{textstyle|}}}
|text |= {{{image|text}}}
|date = {{#ifeq:{{FULLROOTPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}
|{{#ifeq:{{{date|¬}}}|¬||{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
|{{{date|}}}
}}
}}
}}{{cat handler
|main={{ambox/category
|cat={{{cat|{{{category|}}}}}}
|date={{{date|}}}
|all={{{all|}}}
}}
|template={{#ifeq:{{BASEPAGENAME}}|{{SUBPAGENAME}}|[[Category:Article message boxes]]}}
}}{{#ifeq:{{FULLPAGENAME}}|Template:{{PAGENAME:{{{name}}}}}
|{{#ifeq:{{{doc}}}|no|
|{{documentation}}<!-- Transclude documentation on template page -->
}}
}}<noinclude>
 
{{เอกสารกำกับแม่แบบ}}
<!-- เพิ่มอินเตอร์วิกิลิงก์ -->