Template:Ambox
From Awan
{{#ifeq:{{{subst}}}|SUBST
|{{#if: |Template:Error }}
}}{{#ifeq:{{{small}}}|left
|{{
#switch:left | left =| #default = }} {{#if:{{#if: |{{{smallimage}}} | }} | {{#if: |{{{smallimage}}} | }} | [[File:{{#switch: | speedy = Ambox speedy deletion.png | delete = Ambox deletion.png | content = Ambox content.png | style = Edit-clear.svg | move = Ambox move.png | protection = Ambox protection.png | notice | #default = Ambox notice.png }} | {{#switch:left | left = 20x20px | #default = 40x40px }} |link=|alt=]] }}{{#switch:left | left =| #default = |
}}
{{#if:
|{{{smalltext}}} |{{{text}}} }} {{#if: |({{{date}}})}} |
{{#if:{{#if:
|{{{smallimageright}}}
|
}}
| {{#ifeq:{{#if:
|{{{smallimageright}}}
|
}}|none
|
| {{#switch:left
| left = {{#if: |{{{smallimageright}}} | }}| #default = {{#if:
}}|{{{smallimageright}}} |}} |
}}
}}
| | speedy | delete | content | style | move | protection | notice =
| #default =}}{{#switch:{{#if:
|{{{smallimage}}} | }}
| blank = [[Category:Wikipedia message box parameter needs fixing|Template:Main otherTemplate:Ambox]] }}
|{{
#switch: | left =| #default = }} {{#if: | | [[File:{{#switch: | speedy = Ambox speedy deletion.png | delete = Ambox deletion.png | content = Ambox content.png | style = Edit-clear.svg | move = Ambox move.png | protection = Ambox protection.png | notice | #default = Ambox notice.png }} | {{#switch: | left = 20x20px | #default = 40x40px }} |link=|alt=]] }}{{#switch: | left =| #default = |
}}
{{{text}}} {{#if:{{#ifeq:Template:Safesubst:|Template:
|{{#ifeq:¬|¬||June 2025}} | }} |({{#ifeq:Template:Safesubst:|Template: |{{#ifeq:¬|¬||June 2025}} | }})}} |
{{#if:
| {{#ifeq:|none
|
| {{#switch:
| left =| #default = |
}}
}}
| | speedy | delete | content | style | move | protection | notice =
| #default =}}{{#switch: | blank = [[Category:Wikipedia message box parameter needs fixing|Template:Main otherTemplate:Ambox]] }} }}{{#if:
{{#ifeq: | true | dontcat }}{{#ifeq: | no | dontcat }}{{#switch: ¬ | yes | ¬ = | #default = dontcat }}{{#switch: | no = Template:Basepage subpage | only = Template:Basepage subpage }}
| |
{{#switch: {{#ifeq: | false | | {{#ifeq: | yes | | {{#ifeq: | yes | | {{#if:x
|
{{#if:{{#titleparts:{{#if:| | Template:Ambox }}|0|2}} | | }}
}}
}} }} }} | hide = | #default = {{#ifeq: h0#384!5nea+w9 | {{#if: |{{#if: |{{#ifexist:Category: from | | }} |[[Category:]] }}
}}{{#if:
|[[Category:]]
}}
| {{#switch: {{#if: | {{{demospace}}} | {{#if: | {{#ifeq:| | talk | }} | {{#ifeq:template|template talk | talk | template }} }} }}
| main | = | talk = | user = | wikipedia = | file | image = | mediawiki = | template = | help = | category = | portal = | book = | other | #default =
}}
| {{#iferror: {{#expr: 1 + {{#switch: {{#if: | {{{demospace}}} | {{#if: | {{#ifeq:| | talk | }} | {{#ifeq:template|template talk | talk | template }} }} }}
| main | = {{#if:
|{{#if: |{{#ifexist:Category: from | | }} |[[Category:]] }}
}}{{#if:
|[[Category:]]
}} | talk = | user = | wikipedia = | file | image = | mediawiki = | template = {{#ifeq:Ambox|Ambox|}} | help = | category = | portal = | book = | other | #default =
}} }} | {{#switch:
{{#if: | {{{demospace}}} | {{#if: | {{#ifeq:| | talk | }} | {{#ifeq:template|template talk | talk | template }} }} }}
| main | = {{#if:
|{{#if: |{{#ifexist:Category: from | | }} |[[Category:]] }}
}}{{#if:
|[[Category:]]
}} | talk = | user = | wikipedia = | file | image = | mediawiki = | template = {{#ifeq:Ambox|Ambox|}} | help = | category = | portal = | book = | other | #default =
}} | }}
}} }}
}}{{#ifeq:Template:Ambox|Template:
|{{#ifeq:{{{doc}}}|no| |{{#ifeq: Ambox | sandbox| {{#ifexpr:0+{{#ifeq:ambox|sandbox
|1 |0 }} |{{#ifeq:|yes|
| |
{{#if:{{#if:| {{{smallimage}}} | File:Sandbox.png }} | {{#if:| {{{smallimage}}} | File:Sandbox.png }} | [[Image:{{#switch: | speedy = Imbox speedy deletion.png | delete = Imbox deletion.png | content = Imbox content.png | style = Edit-clear.svg | move = Imbox move.png | protection = Imbox protection.png | notice | #default = Imbox notice.png }} | {{#ifeq:yes|yes | 30x30px | 40x40px }}|link=|alt=]]}} |
}}
{{#if:| {{{smalltext}}} | This is the template sandbox page for Template:Ambox{{#if:1497
| (diff) | }}.{{#ifexist:{{#rel2abs: ../testcases}} |}} }} |
{{#if:{{#if: | {{{smallimageright}}} | }}
| {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none
|
| {{#if: | {{{smallimageright}}} | }} |
| | speedy | delete | content | style | move | protection | notice =
| #default =}}
|| |
{{#if:File:Sandbox.png | File:Sandbox.png | [[Image:{{#switch: | speedy = Imbox speedy deletion.png | delete = Imbox deletion.png | content = Imbox content.png | style = Edit-clear.svg | move = Imbox move.png | protection = Imbox protection.png | notice | #default = Imbox notice.png }} | {{#ifeq:|yes | 30x30px | 40x40px }}|link=|alt=]]}} |
}}
This is the template sandbox page for Template:Ambox{{#if:1497
| (diff) | }}.{{#ifexist:{{#rel2abs: ../testcases}} |}} |
{{#if:
| {{#ifeq:|none
|
|
| | speedy | delete | content | style | move | protection | notice =
| #default =}} }}{{#ifeq:ambox|testcases
| | }} |
}} }}{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#ifeq: | sysop
| {{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}} |move={{#ifeq: {{#switch:{{#ifeq:ambox/template|ambox/template|undefined|{{#ifeq:ambox|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined= |#default=}} |sysop|yes|no }} |create={{#if: {{#switch:{{#ifeq:ambox/template|ambox/template|undefined|{{#ifeq:ambox|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined= |#default=}} |yes|no }}
|#default={{#if:
{{#switch:{{#ifeq:ambox/template|ambox/template|undefined|{{#ifeq:ambox|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/template|ambox/template|undefined|{{#ifeq:ambox|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]]}}|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]]}}}} | {{#if: | {{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}} |move={{#ifeq: {{#switch:{{#ifeq:ambox/template|ambox/template|undefined|{{#ifeq:ambox|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined= |#default=}} |sysop|yes|no }} |create={{#if: {{#switch:{{#ifeq:ambox/template|ambox/template|undefined|{{#ifeq:ambox|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined= |#default=}} |yes|no }}
|#default={{#if:
{{#switch:{{#ifeq:ambox/template|ambox/template|undefined|{{#ifeq:ambox|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/template|ambox/template|undefined|{{#ifeq:ambox|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]]}}|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]]}}}} | }} }}
| other | #default =
}}|
| #if:
|
|
{{
#if: {{#ifexist:
{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc
}} | yes }} | [[{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc
}}|action=edit}} edit]] [
]
|
[[{{fullurl:{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc
}}| action=edit&preload={{
#if:
|
| {{#ifeq: Template | File
| Template:Documentation/preload-filespace
| Template:Documentation/preload
}} }} }} create]]
}}
}} {{#switch: ¬
| ¬ =
{{#switch: Template
| Template = File:Template-info.svg Template documentation
| File = Summary
| #default = Documentation
}}
| #default =
¬
}}}} {{#switch: {{#if:|1|0}}{{#if:|1|0}}{{#ifexist:|1|0}}{{#ifexist:{{#switch: Template
| | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc|1|0}} | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 = | 0110 | 0111 = {{ {{{1}}} }} | 0001 | 0011 = {{ {{#switch: Template
| | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc }} | 0000 | 0100 | 0010 | 0101 = }}
{{#ifeq: | off | | {{#ifexist: {{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc
}} | yes }}{{ #switch: Template | User | Template = yes }} }}|
{{#if:none | none | [[File:{{#switch: | warning = Cmbox deletion.png | editnotice = Imbox notice.png | system | #default = Imbox notice.png }}|40x40px|link=|alt=]]}} |
}}
{{#if:
| | {{#if: {{#ifexist: {{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc }} | yes }} | The above documentation is transcluded from [[{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc }}]]. ([{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc }}|action=edit}} edit] | [{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc }}|action=history}} history]) }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/sandbox | [[{{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/sandbox|sandbox]] ([{{fullurl: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/sandbox | action=edit }} edit] | diff) | sandbox ([{{fullurl: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/sandbox | action=edit&preload=Template:Documentation/preload-sandbox }} create]) }} and {{ #ifexist: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/testcases | [[{{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/testcases|testcases]] ([{{fullurl: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/testcases | action=edit }} edit]) | testcases ([{{fullurl: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/testcases | action=edit&preload=Template:Documentation/preload-testcases }} create]) }} pages. }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc }}|/doc]] subpage. }}{{#switch: Template | File = | Template = [[Special:PrefixIndex/Template:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/|Subpages of this template]]. | #default = [[Special:PrefixIndex/Template:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/|Subpages of this page]]. }} }}{{#ifexist:Template:Ambox/Print |</br>A print version of this template exists at /Print. If you make a change to this template, please update the print version as well.}} |
{{#if:
| {{{imageright}}} |
| | warning | editnotice | system =
| #default =}} }}{{#if:
{{#switch: Ambox | doc | testcases = strange }}
| [[Category:Wikipedia pages with strange ((documentation)) usage|Template:Main otherTemplate:Ambox]]
}}
}}
}}
{{#ifeq: Ambox | sandbox
| {{#ifexpr:0+{{#ifeq:ambox|sandbox|1 |0 }} |{{#ifeq:|yes|
| |
{{#if:{{#if:| {{{smallimage}}} | File:Sandbox.png }} | {{#if:| {{{smallimage}}} | File:Sandbox.png }} | [[Image:{{#switch: | speedy = Imbox speedy deletion.png | delete = Imbox deletion.png | content = Imbox content.png | style = Edit-clear.svg | move = Imbox move.png | protection = Imbox protection.png | notice | #default = Imbox notice.png }} | {{#ifeq:yes|yes | 30x30px | 40x40px }}|link=|alt=]]}} |
}}
{{#if:| {{{smalltext}}} | This is the template sandbox page for Template:Ambox{{#if:1497
| (diff) | }}.{{#ifexist:{{#rel2abs: ../testcases}} |}} }} |
{{#if:{{#if: | {{{smallimageright}}} | }}
| {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none
|
| {{#if: | {{{smallimageright}}} | }} |
| | speedy | delete | content | style | move | protection | notice =
| #default =}}
|| |
{{#if:File:Sandbox.png | File:Sandbox.png | [[Image:{{#switch: | speedy = Imbox speedy deletion.png | delete = Imbox deletion.png | content = Imbox content.png | style = Edit-clear.svg | move = Imbox move.png | protection = Imbox protection.png | notice | #default = Imbox notice.png }} | {{#ifeq:|yes | 30x30px | 40x40px }}|link=|alt=]]}} |
}}
This is the template sandbox page for Template:Ambox{{#if:1497
| (diff) | }}.{{#ifexist:{{#rel2abs: ../testcases}} |}} |
{{#if:
| {{#ifeq:|none
|
|
| | speedy | delete | content | style | move | protection | notice =
| #default =}} }}{{#ifeq:ambox|testcases
| | }} |
}} }}{{#switch:
{{#if: | {{{demospace}}} | {{#ifeq:Template|Template | template | other }} }}
| template = {{#ifeq: | sysop
| {{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}} |move={{#ifeq: {{#switch:{{#ifeq:ambox/template|ambox/template|undefined|{{#ifeq:ambox|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined= |#default=}} |sysop|yes|no }} |create={{#if: {{#switch:{{#ifeq:ambox/template|ambox/template|undefined|{{#ifeq:ambox|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined= |#default=}} |yes|no }}
|#default={{#if:
{{#switch:{{#ifeq:ambox/template|ambox/template|undefined|{{#ifeq:ambox|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/template|ambox/template|undefined|{{#ifeq:ambox|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]]}}|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]]}}}} | {{#if: | {{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}} |semi |autoconfirmed=semi |administrator |full |sysop=indef |move=move |#default=indef}} |move={{#ifeq: {{#switch:{{#ifeq:ambox/template|ambox/template|undefined|{{#ifeq:ambox|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined= |#default=}} |sysop|yes|no }} |create={{#if: {{#switch:{{#ifeq:ambox/template|ambox/template|undefined|{{#ifeq:ambox|sandbox|sysop|undefined}}}} |semi |autoconfirmed=autoconfirmed |administrator |full |sysop=sysop |undefined= |#default=}} |yes|no }}
|#default={{#if:
{{#switch:{{#ifeq:ambox/template|ambox/template|undefined|{{#ifeq:ambox|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/template|ambox/template|undefined|{{#ifeq:ambox|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]]}}|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]]}}}} | }} }}
| other | #default =
}}|
| #if:
|
|
{{
#if: {{#ifexist:
{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc
}} | yes }} | [[{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc
}}|action=edit}} edit]] [
]
|
[[{{fullurl:{{#if:
|
| {{#switch: Template
|
| File
| MediaWiki
| Category = Template talk
| #default = Template
}}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc
}}| action=edit&preload={{
#if:
|
| {{#ifeq: Template | File
| Template:Documentation/preload-filespace
| Template:Documentation/preload
}} }} }} create]]
}}
}} {{#switch: ¬
| ¬ =
{{#switch: Template
| Template = File:Template-info.svg Template documentation
| File = Summary
| #default = Documentation
}}
| #default =
¬
}}}} {{#switch: {{#if:|1|0}}{{#if:|1|0}}{{#ifexist:|1|0}}{{#ifexist:{{#switch: Template
| | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc|1|0}} | 1000 | 1001 | 1010 | 1011 | 1100 | 1101 | 1110 | 1111 = | 0110 | 0111 = {{ {{{1}}} }} | 0001 | 0011 = {{ {{#switch: Template
| | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc }} | 0000 | 0100 | 0010 | 0101 = }}
{{#ifeq: | off | | {{#ifexist: {{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template
}}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc
}} | yes }}{{ #switch: Template | User | Template = yes }} }}|
{{#if:none | none | [[File:{{#switch: | warning = Cmbox deletion.png | editnotice = Imbox notice.png | system | #default = Imbox notice.png }}|40x40px|link=|alt=]]}} |
}}
{{#if:
| | {{#if: {{#ifexist: {{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc }} | yes }} | The above documentation is transcluded from [[{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc }}]]. ([{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc }}|action=edit}} edit] | [{{fullurl:{{#if: | | {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc }}|action=history}} history]) }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/sandbox | [[{{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/sandbox|sandbox]] ([{{fullurl: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/sandbox | action=edit }} edit] | diff) | sandbox ([{{fullurl: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/sandbox | action=edit&preload=Template:Documentation/preload-sandbox }} create]) }} and {{ #ifexist: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/testcases | [[{{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/testcases|testcases]] ([{{fullurl: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/testcases | action=edit }} edit]) | testcases ([{{fullurl: {{#switch: Template | | File | MediaWiki | Category = Template talk | #default = Template }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/testcases | action=edit&preload=Template:Documentation/preload-testcases }} create]) }} pages. }}:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/doc }}|/doc]] subpage. }}{{#switch: Template | File = | Template = [[Special:PrefixIndex/Template:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/|Subpages of this template]]. | #default = [[Special:PrefixIndex/Template:{{#switch: Ambox | sandbox | testcases = Ambox | #default = Ambox }}/|Subpages of this page]]. }} }}{{#ifexist:Template:Ambox/Print |</br>A print version of this template exists at /Print. If you make a change to this template, please update the print version as well.}} |
{{#if:
| {{{imageright}}} |
| | warning | editnotice | system =
| #default =}} }}{{#if:
{{#switch: Ambox | doc | testcases = strange }}
| [[Category:Wikipedia pages with strange ((documentation)) usage|Template:Main otherTemplate:Ambox]]
}}