Template:Ambox

From Spectrum Brands
Jump to: navigation, 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
 |instock = instock
 |delete = delete
 |content = content
 |style = style
 |move = move
 |protection = protection
 |notice|#default = notice
}} 
|style = 
|textstyle  = 
|smalltext  = 
|talk = {{#switch:¬
 |¬        = 
 |         = {{#ifeq:Template:FULLROOTPAGENAME|Template:|#}}
 |#default = {{{talk}}}
}}
|issue = {{#switch:¬
 |¬ = 
 |  = This article
 |This {{{sect}}}
}} {{{issue}}} 
|fix = {{{fix}}}
|date = {{#switch:¬
 |¬        = 
 |         = {{#ifeq:Template:FULLROOTPAGENAME|Template:|December 2025}}
 |#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
       |   
       | Template:Category handler/blacklist   
       }}
     }}
   }}
 | 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:]]

}}

   | 
     {{#switch:
 {{#if: 
   | {{{demospace}}}
   | {{#if: 
     | 
       {{#ifeq:|
       | talk
       |  
       }}
     | 
       {{#ifeq:template|template talk
       | talk
       | template 
       }}
     }}
   }}

| main | = | talk = | user = | project = | file | image = | mediawiki = | template = | help = | category = | book = | extension = | 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:]]

}}{{#if:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:

|[[Category:]]

}}{{#if:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:

|[[Category:]]

}} | talk = | user = | project = | file | image = | mediawiki = | template = {{#switch:Template:

 |Template:Ambox ={{#ifexpr:{{#ifeq:¬|¬|1|0}}+{{#ifeq:¬|¬|1|0}}+{{#ifeq:¬|¬|1|0}}
  |
 }}{{#if:
  |
 }}
 |Template:        = {{#ifeq:Ambox|Ambox|}}
}}

| help = | category = | book = | extension = | other | #default =

}} }} | {{#switch:

 {{#if: 
   | {{{demospace}}}
   | {{#if: 
     | 
       {{#ifeq:|
       | talk
       |  
       }}
     | 
       {{#ifeq:template|template talk
       | talk
       | template 
       }}
     }}
   }}

| main | = {{#if:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:

|[[Category:]]

}}{{#if:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:

|[[Category:]]

}}{{#if:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:

|[[Category:]]

}} | talk = | user = | project = | file | image = | mediawiki = | template = {{#switch:Template:

 |Template:Ambox ={{#ifexpr:{{#ifeq:¬|¬|1|0}}+{{#ifeq:¬|¬|1|0}}+{{#ifeq:¬|¬|1|0}}
  |
 }}{{#if:
  |
 }}
 |Template:        = {{#ifeq:Ambox|Ambox|}}
}}

| help = | category = | book = | extension = | other | #default =

}} | }}

   }}
 }}

}} Template:Documentation