Template:Ambox/core
| #default =
}}{{#if: | {{#ifeq:|none
|| }} }}
{{
#switch: | left =| #default = }} {{#if: | {{{image}}} | [[Image:{{#switch: | speedy = Ambox speedy deletion.png | delete = Ambox deletion.png | content = Ambox content.png | style = Ambox style.png | move = Ambox move.png | protection = Ambox protection.png | notice | #default = Ambox notice.png }} | {{#switch: | left = 20x20px | #default = 40x40px }} ]] }}{{#switch: | left =| #default = | {{{text}}} | {{#switch:
| left = {{{imageright}}}| #default = {{{imageright}}}
}} |
{{#switch:
| | speedy | delete | content | style | move | protection | notice =
| #default =
[[Category:Wikipedia message box parameter needs fixing|Template:Main otherTemplate:Ambox/core]]
}}{{#switch: | blank = [[Category:Wikipedia message box parameter needs fixing|Template:Main otherTemplate:Ambox/core]] }}
{{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}
|semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}} |move={{#ifeq: {{#switch:{{#ifeq:ambox/core/template|core/template|undefined|{{#ifeq:core|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined= |#default=}} |sysop|yes|no }} |create={{#if: {{#switch:{{#ifeq:ambox/core/template|core/template|undefined|{{#ifeq:core|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined= |#default=}} |yes|no }}
|#default={{#if:
{{#switch:{{#ifeq:ambox/core/template|core/template|undefined|{{#ifeq:core|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined= |#default=}} |{{#ifeq:{{#switch: |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |#default=}} |{{#switch:{{#ifeq:ambox/core/template|core/template|undefined|{{#ifeq:core|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined= |#default=}} |no|yes }} |no}}
}}|yes|{{#ifeq:yes|yes|
| Template:Mbox }}|}}{{#ifeq:{{#ifeq:template|template|{{#switch:{{#ifeq:-|-sysop|move|}}
|semi |autoconfirmed={{#ifeq:|sysop|}} |move= |administrator |full |sysop |#default=}}}}{{#ifeq:template|file|[[category:{{#switch: |semi |autoconfirmed=semi-protected |administrator |full |sysop |#default=protected}} images|ambox/core]]}}|no||{{#ifeq:Template|Template|{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed={{#ifeq:|sysop|}} |move= |administrator |full |sysop |#default=}}}}{{#ifeq:Template|File|[[Category:{{#switch: |semi |autoconfirmed=Semi-protected |administrator |full |sysop |#default=Protected}} images|Ambox/core]]}}}}
||
|{{#ifexist: {{#switch: core
|sandbox|testcases={{ #rel2abs: ../doc }}
|#default=Template:Ambox/core/doc
}}
|[[{{fullurl:{{#switch: core |sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Ambox/core/doc
}}|action=edit}} edit]] [[[:Template:Purge]]]
|[[{{fullurl:{{#switch: core |sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Ambox/core/doc
}}|action=edit&preload=Template:Documentation/preload}} create]]
}}}} {{#if:|{{{heading}}}|{{#ifeq:Template|Template|File:Template-info.svg Template documentation|Documentation}}}}
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Ambox/core/doc
}}
|This documentation is transcluded from [[{{#switch: core |sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Ambox/core/doc
}}]]. ([{{fullurl:{{#switch: core
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Ambox/core/doc
}}|action=edit}} edit] | [{{fullurl:{{#switch: core
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Ambox/core/doc
}}|action=history}} history])
}}{{#switch: core |sandbox|testcases= |#default= {{#switch: Template |Template |User= {{#ifexist: Template:Ambox/core/sandbox |This template has a sandbox ([{{fullurl:{{ #rel2abs: /sandbox }}|action=edit}} edit]) {{#ifexist: Template:Ambox/core/testcases |and testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit])}} for editors to experiment. |{{#ifexist: Template:Ambox/core/testcases |This template has testcases ([{{fullurl:{{ #rel2abs: /testcases }}|action=edit}} edit]) for editors to experiment.}} }}}}}}
{{#if:|{{{content}}}|{{#ifexist:{{#switch: core
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Ambox/core/doc
}} | {{ {{#switch: core
|sandbox|testcases={{ #rel2abs: ../doc }} |#default=Template:Ambox/core/doc
}} }} }}}}