แม่แบบ:Cmbox
จาก ตู้หนังสือเรือนไทย
| | | 
 {{#if:
 | {{{image}}}
 | {{#switch:
   | speedy     = ไฟล์:Cmbox deletion.png 
   | delete     = ไฟล์:Cmbox deletion.png 
   | content    = ไฟล์:Cmbox content.png
   | style      = ไฟล์:Cmbox style.png
   | move       = ไฟล์:Cmbox move.png
   | protection = ไฟล์:Cmbox protection.png
   | notice          
   | #default   = ไฟล์:Cmbox notice.png
   }}
  }} | 
}}
{{{text}}} | {{{imageright}}} | 
| | speedy | delete | content | style | move | protection | notice =
| #default =This message box is using an invalid "type=" parameter and needs fixing.
}}
{{#ifeq:μ|
						
						
		||
{{#ifeq:μ|μ
 }}  |{{#ifexist: {{#switch: Cmbox
 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=แม่แบบ:Cmbox/doc
}}
   |[[{{fullurl:{{#switch: Cmbox
 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=แม่แบบ:Cmbox/doc
}}|action=edit}} edit]] [[[:แม่แบบ:Purge]]]
   |[[{{fullurl:{{#switch: Cmbox
 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=แม่แบบ:Cmbox/doc
}}|action=edit&preload=Template:Documentation/preload}} create]]
}}}} {{#if:|{{{heading}}}|{{#ifeq:แม่แบบ|แม่แบบ|ไฟล์:Template-info.svg Template documentation|Documentation}}}}
{{#ifexist: {{#switch: Cmbox
 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=แม่แบบ:Cmbox/doc
}}
|This documentation is transcluded from [[{{#switch: Cmbox |sandbox|testcases={{ #rel2abs: ../doc }} |#default=แม่แบบ:Cmbox/doc
}}]]. ([{{fullurl:{{#switch: Cmbox
 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=แม่แบบ:Cmbox/doc
}}|action=edit}} edit] | [{{fullurl:{{#switch: Cmbox
 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=แม่แบบ:Cmbox/doc
}}|action=history}} history])
}}{{#switch: Cmbox
  |sandbox|testcases=
  |#default=
   {{#switch: แม่แบบ
    |แม่แบบ
    |ผู้ใช้=
     {{#ifexist: แม่แบบ:Cmbox/sandbox
      |This template has a sandbox ([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit]) {{#ifexist: แม่แบบ:Cmbox/testcases
        |and testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])}} for editors to experiment.
      |{{#ifexist: แม่แบบ:Cmbox/testcases
       |This template has testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) for editors to experiment.}}
}}}}}}
 {{#if:|{{{content}}}|{{#ifexist:{{#switch: Cmbox
 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=แม่แบบ:Cmbox/doc
}} | {{ {{#switch: Cmbox
 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=แม่แบบ:Cmbox/doc
}} }} }}}}
