Template:Ambox
Jump to navigation
Jump to search
{{#ifeq:{{{subst}}}|SUBST
|{{#if: |Template:Error }}
}}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}
|type = |image = |smallimage = {{#if:|{{{smallimage}}}|}} |imageright = |smallimageright = {{#if:|{{{smallimageright}}}|}} |class = ambox-{{#switch: |speedy = speedy |delete = delete |content = content |style = style |move = move |protection = protection |notice|#default = notice }} |style = |textstyle = |smalltext = |talk = {{#switch:¬ |¬ = | = {{#ifeq:{{ safesubst:#if: {{ safesubst:#switch: | |File |MediaWiki |Category = |yes
}}
| {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Ambox}}|1}} | {{ safesubst:#if:|{{{1}}}|Template:Ambox}}
}}|Template:|#}}
|#default = {{{talk}}} }} |issue = {{#switch:¬ |¬ = | = This article |This {{{sect}}} }} {{{issue}}} |fix = {{{fix}}} |date = {{#switch:¬ |¬ = | = {{#ifeq:{{ safesubst:#if: {{ safesubst:#switch: | |File |MediaWiki |Category = |yes
}}
| {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Ambox}}|1}} | {{ safesubst:#if:|{{{1}}}|Template:Ambox}}
}}|Template:|December 2024}}
|#default = {{{date}}} }} |info =
}}{{#if:
{{#ifeq: true | true | dontcat }}{{#ifeq: | no | dontcat }}{{#switch: ¬ | yes | ¬ = | #default = dontcat }}{{#switch: | no = Template:Basepage subpage | only = Template:Basepage subpage }}
| |
{{#switch: {{#ifeq: true | 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:]]
}}{{#if:
|{{#if: |{{#ifexist:Category: from | | }} |[[Category:]] }}
}}{{#if:
|[[Category:]]
}}{{#if:
|{{#if: |{{#ifexist:Category: from | | }} |[[Category:]] }}
}}{{#if:
|[[Category:]]
}}
| {{#invoke:Namespace detect|main}} | {{#iferror: {{#expr: 1 + {{#invoke:Namespace detect|main}} }}
| {{#invoke:Namespace detect|main}} | }}
}} }}