ผลต่างระหว่างรุ่นของ "แม่แบบ:Ambox"
เนื้อหาที่ลบ เนื้อหาที่เพิ่ม
ไม่มีความย่อการแก้ไข |
|||
บรรทัด 1:
{{#switch:{{{small|}}}▼
{{#ifeq:{{{subst}}}|SUBST
{{ambox/core▼
|{{#if:{{{name|}}}
|{{error|Template {{tlx|{{{name}}}}} has been incorrectly substituted.}}
| type = {{{type|}}}▼
}}[[Category:Pages with incorrectly substituted templates]]
| image = {{#if:{{{smallimage|}}}▼
| {{{image|}}}▼
|small =
|type
|image
| style = {{{style|}}}▼
| textstyle = {{{textstyle|}}}▼
| text = {{#if:{{{smalltext|}}}▼
| {{{smalltext}}} ▼
| {{{text}}} ▼
}}
|{{{smallimageright}}}
{{ambox/core▼
| image = {{{image|}}}▼
▲| imageright = {{{imageright|}}}
| textstyle = {{{textstyle|}}}▼
}}
}}
}}
|imageright = {{{imageright|}}}
|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>
{{เอกสารกำกับแม่แบบ}}
<!-- เพิ่มอินเตอร์วิกิลิงก์ -->
|