Template:Notice/test01

From Embroidery Machine WIKI
Jump to navigation Jump to search

{{#ifeq:Template|Template||}}{{#switch:

 {{#if: 
 |     
 | {{#ifeq:Template|
   | main
   | {{#ifeq:Template|Template talk
     | talk
     | other
     }}
   }}
 }}

| main = {{#ifeq:{{{subst}}}|SUBST

|{{#if:
 |{{#invoke:Error|error|Template {{{{#if: |subst:}}[[Template:{{{name}}}|{{{name}}}]]{{#if:  ||{{{2}}}}}{{#if:  ||{{{3}}}}}{{#if:  ||{{{4}}}}}{{#if:  ||{{{5}}}}}{{#if:  ||{{{6}}}}}{{#if:  ||{{{7}}}}}{{#if:  ||{{{8}}}}}{{#if:  ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} has been incorrectly substituted.|tag=}}
}}

}}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}

|type = notice
|image = Notice
|smallimage = {{#if:|{{{smallimage}}}|Notice}}
|imageright = 
|smallimageright = {{#if:|{{{smallimageright}}}|}}
|class = ambox-{{#switch:notice
 |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:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|#}}

 |#default = {{{talk}}}
}}
|issue = {{#switch:¬
 |¬ = 
 |  = This article
 |This {{{sect}}}
}}  {{#if:| 
Notice: {{{header}}}
   }}{{{1}}}
|fix = 
|date = {{#switch:¬
 |¬        = 
 |         = {{#ifeq:{{ safesubst:#if: {{ safesubst:#switch: 
|
|File
|MediaWiki
|Category = 
|yes

}}

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|December 2024}}

 |#default = {{{date}}}
}}
|info = 

}}{{#if:

 {{#ifeq:  | true
 | dontcat    
 }}{{#ifeq:  | no
 | dontcat
 }}{{#switch: ¬
 | yes
 | ¬   =   
 | #default = dontcat   
 }}{{#switch: 
 | no = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage =

| subpage = dontcat

| subsubpage = dontcat

}}

 | only = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage = dontcat

| subpage = | subsubpage = }}

 }}

| |

 {{#switch:
   {{#ifeq:  | false
   |   
   | {{#ifeq:  | yes
     |   
     | {{#ifeq:  | yes
       |   
       | {{#if:x   

|


     {{#if:{{#titleparts:{{#if:|  | Template:Notice/test01 }}|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}} | }}

   }}
 }}

}}

| talk =

Notice {{#if:|
Notice: {{{header}}}
   }}{{{1}}}

| other

| #default =

Notice {{#if:|
Notice: {{{header}}}
   }}{{{1}}}

}}


The notice box

Feel free to use this page for testing any new code for the {{notice}} template.

The new code is above this section. Below are test calls to that code.

See explanation and discussion at Template talk:Notice#Change the style for article notices for the code version that was deployed 20 March 2008.

Testing the new notice box code

Appearance in articles (main space)

{{notice/test01| demospace=main | Include text here.}}

{{#ifeq:Template|{{subst:NAMESPACE}}||}}{{#switch:

 {{#if:main 
 | main    
 | {{#ifeq:Template|
   | main
   | {{#ifeq:Template|Template talk
     | talk
     | other
     }}
   }}
 }}

| main = {{#ifeq:{{{subst}}}|SUBST

|{{#if:
 |{{#invoke:Error|error|Template {{{{#if: |subst:}}[[Template:{{{name}}}|{{{name}}}]]{{#if:  ||{{{2}}}}}{{#if:  ||{{{3}}}}}{{#if:  ||{{{4}}}}}{{#if:  ||{{{5}}}}}{{#if:  ||{{{6}}}}}{{#if:  ||{{{7}}}}}{{#if:  ||{{{8}}}}}{{#if:  ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} has been incorrectly substituted.|tag=}}
}}

}}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}

|type = notice
|image = Notice
|smallimage = {{#if:|{{{smallimage}}}|Notice}}
|imageright = 
|smallimageright = {{#if:|{{{smallimageright}}}|}}
|class = ambox-{{#switch:notice
 |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:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|#}}

 |#default = {{{talk}}}
}}
|issue = {{#switch:¬
 |¬ = 
 |  = This article
 |This {{{sect}}}
}}  {{#if:| 
Notice: {{{header}}}
   }} Include text here.
|fix = 
|date = {{#switch:¬
 |¬        = 
 |         = {{#ifeq:{{ safesubst:#if: {{ safesubst:#switch: 
|
|File
|MediaWiki
|Category = 
|yes

}}

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|December 2024}}

 |#default = {{{date}}}
}}
|info = 

}}{{#if:

 {{#ifeq:  | true
 | dontcat    
 }}{{#ifeq:  | no
 | dontcat
 }}{{#switch: ¬
 | yes
 | ¬   =   
 | #default = dontcat   
 }}{{#switch: 
 | no = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage =

| subpage = dontcat

| subsubpage = dontcat

}}

 | only = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage = dontcat

| subpage = | subsubpage = }}

 }}

| |

 {{#switch:
   {{#ifeq:  | false
   |   
   | {{#ifeq:  | yes
     |   
     | {{#ifeq:  | yes
       |   
       | {{#if:x   

|


     {{#if:{{#titleparts:{{#if:|  | Template:Notice/test01 }}|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}} | }}

   }}
 }}

}}

| talk =

Notice {{#if:|
Notice: {{{header}}}
   }} Include text here.

| other

| #default =

Notice {{#if:|
Notice: {{{header}}}
   }} Include text here.

}}


{{notice/test01| demospace=main | header=Header text | Include text here. }}

{{#ifeq:Template|{{subst:NAMESPACE}}||}}{{#switch:

 {{#if:main 
 | main    
 | {{#ifeq:Template|
   | main
   | {{#ifeq:Template|Template talk
     | talk
     | other
     }}
   }}
 }}

| main = {{#ifeq:{{{subst}}}|SUBST

|{{#if:
 |{{#invoke:Error|error|Template {{{{#if: |subst:}}[[Template:{{{name}}}|{{{name}}}]]{{#if:  ||{{{2}}}}}{{#if:  ||{{{3}}}}}{{#if:  ||{{{4}}}}}{{#if:  ||{{{5}}}}}{{#if:  ||{{{6}}}}}{{#if:  ||{{{7}}}}}{{#if:  ||{{{8}}}}}{{#if:  ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} has been incorrectly substituted.|tag=}}
}}

}}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}

|type = notice
|image = Notice
|smallimage = {{#if:|{{{smallimage}}}|Notice}}
|imageright = 
|smallimageright = {{#if:|{{{smallimageright}}}|}}
|class = ambox-{{#switch:notice
 |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:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|#}}

 |#default = {{{talk}}}
}}
|issue = {{#switch:¬
 |¬ = 
 |  = This article
 |This {{{sect}}}
}}  {{#if:Header text| 
Notice: Header text
   }} Include text here.
|fix = 
|date = {{#switch:¬
 |¬        = 
 |         = {{#ifeq:{{ safesubst:#if: {{ safesubst:#switch: 
|
|File
|MediaWiki
|Category = 
|yes

}}

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|December 2024}}

 |#default = {{{date}}}
}}
|info = 

}}{{#if:

 {{#ifeq:  | true
 | dontcat    
 }}{{#ifeq:  | no
 | dontcat
 }}{{#switch: ¬
 | yes
 | ¬   =   
 | #default = dontcat   
 }}{{#switch: 
 | no = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage =

| subpage = dontcat

| subsubpage = dontcat

}}

 | only = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage = dontcat

| subpage = | subsubpage = }}

 }}

| |

 {{#switch:
   {{#ifeq:  | false
   |   
   | {{#ifeq:  | yes
     |   
     | {{#ifeq:  | yes
       |   
       | {{#if:x   

|


     {{#if:{{#titleparts:{{#if:|  | Template:Notice/test01 }}|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}} | }}

   }}
 }}

}}

| talk =

Notice {{#if:Header text|
Notice: Header text
   }} Include text here.

| other

| #default =

Notice {{#if:Header text|
Notice: Header text
   }} Include text here.

}}


{{notice/test01| demospace=main | image=Stop hand nuvola.svg | header=Header text | Include text here.}}

{{#ifeq:Template|{{subst:NAMESPACE}}||}}{{#switch:

 {{#if:main 
 | main    
 | {{#ifeq:Template|
   | main
   | {{#ifeq:Template|Template talk
     | talk
     | other
     }}
   }}
 }}

| main = {{#ifeq:{{{subst}}}|SUBST

|{{#if:
 |{{#invoke:Error|error|Template {{{{#if: |subst:}}[[Template:{{{name}}}|{{{name}}}]]{{#if:  ||{{{2}}}}}{{#if:  ||{{{3}}}}}{{#if:  ||{{{4}}}}}{{#if:  ||{{{5}}}}}{{#if:  ||{{{6}}}}}{{#if:  ||{{{7}}}}}{{#if:  ||{{{8}}}}}{{#if:  ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} has been incorrectly substituted.|tag=}}
}}

}}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}

|type = notice
|image = Notice
|smallimage = {{#if:|{{{smallimage}}}|Notice}}
|imageright = 
|smallimageright = {{#if:|{{{smallimageright}}}|}}
|class = ambox-{{#switch:notice
 |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:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|#}}

 |#default = {{{talk}}}
}}
|issue = {{#switch:¬
 |¬ = 
 |  = This article
 |This {{{sect}}}
}}  {{#if:Header text| 
Notice: Header text
   }} Include text here.
|fix = 
|date = {{#switch:¬
 |¬        = 
 |         = {{#ifeq:{{ safesubst:#if: {{ safesubst:#switch: 
|
|File
|MediaWiki
|Category = 
|yes

}}

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|December 2024}}

 |#default = {{{date}}}
}}
|info = 

}}{{#if:

 {{#ifeq:  | true
 | dontcat    
 }}{{#ifeq:  | no
 | dontcat
 }}{{#switch: ¬
 | yes
 | ¬   =   
 | #default = dontcat   
 }}{{#switch: 
 | no = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage =

| subpage = dontcat

| subsubpage = dontcat

}}

 | only = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage = dontcat

| subpage = | subsubpage = }}

 }}

| |

 {{#switch:
   {{#ifeq:  | false
   |   
   | {{#ifeq:  | yes
     |   
     | {{#ifeq:  | yes
       |   
       | {{#if:x   

|


     {{#if:{{#titleparts:{{#if:|  | Template:Notice/test01 }}|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}} | }}

   }}
 }}

}}

| talk =

Notice {{#if:Header text|
Notice: Header text
   }} Include text here.

| other

| #default =

Notice {{#if:Header text|
Notice: Header text
   }} Include text here.

}}

Appearance on talk pages

{{notice/test01| demospace=talk | Include text here.}}

{{#ifeq:Template|{{subst:NAMESPACE}}||}}{{#switch:

 {{#if:talk 
 | talk    
 | {{#ifeq:Template|
   | main
   | {{#ifeq:Template|Template talk
     | talk
     | other
     }}
   }}
 }}

| main = {{#ifeq:{{{subst}}}|SUBST

|{{#if:
 |{{#invoke:Error|error|Template {{{{#if: |subst:}}[[Template:{{{name}}}|{{{name}}}]]{{#if:  ||{{{2}}}}}{{#if:  ||{{{3}}}}}{{#if:  ||{{{4}}}}}{{#if:  ||{{{5}}}}}{{#if:  ||{{{6}}}}}{{#if:  ||{{{7}}}}}{{#if:  ||{{{8}}}}}{{#if:  ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} has been incorrectly substituted.|tag=}}
}}

}}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}

|type = notice
|image = Notice
|smallimage = {{#if:|{{{smallimage}}}|Notice}}
|imageright = 
|smallimageright = {{#if:|{{{smallimageright}}}|}}
|class = ambox-{{#switch:notice
 |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:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|#}}

 |#default = {{{talk}}}
}}
|issue = {{#switch:¬
 |¬ = 
 |  = This article
 |This {{{sect}}}
}}  {{#if:| 
Notice: {{{header}}}
   }} Include text here.
|fix = 
|date = {{#switch:¬
 |¬        = 
 |         = {{#ifeq:{{ safesubst:#if: {{ safesubst:#switch: 
|
|File
|MediaWiki
|Category = 
|yes

}}

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|December 2024}}

 |#default = {{{date}}}
}}
|info = 

}}{{#if:

 {{#ifeq:  | true
 | dontcat    
 }}{{#ifeq:  | no
 | dontcat
 }}{{#switch: ¬
 | yes
 | ¬   =   
 | #default = dontcat   
 }}{{#switch: 
 | no = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage =

| subpage = dontcat

| subsubpage = dontcat

}}

 | only = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage = dontcat

| subpage = | subsubpage = }}

 }}

| |

 {{#switch:
   {{#ifeq:  | false
   |   
   | {{#ifeq:  | yes
     |   
     | {{#ifeq:  | yes
       |   
       | {{#if:x   

|


     {{#if:{{#titleparts:{{#if:|  | Template:Notice/test01 }}|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}} | }}

   }}
 }}

}}

| talk =

Notice {{#if:|
Notice: {{{header}}}
   }} Include text here.

| other

| #default =

Notice {{#if:|
Notice: {{{header}}}
   }} Include text here.

}}


{{notice/test01| demospace=talk | header=Header text | Include text here.}}

{{#ifeq:Template|{{subst:NAMESPACE}}||}}{{#switch:

 {{#if:talk 
 | talk    
 | {{#ifeq:Template|
   | main
   | {{#ifeq:Template|Template talk
     | talk
     | other
     }}
   }}
 }}

| main = {{#ifeq:{{{subst}}}|SUBST

|{{#if:
 |{{#invoke:Error|error|Template {{{{#if: |subst:}}[[Template:{{{name}}}|{{{name}}}]]{{#if:  ||{{{2}}}}}{{#if:  ||{{{3}}}}}{{#if:  ||{{{4}}}}}{{#if:  ||{{{5}}}}}{{#if:  ||{{{6}}}}}{{#if:  ||{{{7}}}}}{{#if:  ||{{{8}}}}}{{#if:  ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} has been incorrectly substituted.|tag=}}
}}

}}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}

|type = notice
|image = Notice
|smallimage = {{#if:|{{{smallimage}}}|Notice}}
|imageright = 
|smallimageright = {{#if:|{{{smallimageright}}}|}}
|class = ambox-{{#switch:notice
 |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:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|#}}

 |#default = {{{talk}}}
}}
|issue = {{#switch:¬
 |¬ = 
 |  = This article
 |This {{{sect}}}
}}  {{#if:Header text| 
Notice: Header text
   }} Include text here.
|fix = 
|date = {{#switch:¬
 |¬        = 
 |         = {{#ifeq:{{ safesubst:#if: {{ safesubst:#switch: 
|
|File
|MediaWiki
|Category = 
|yes

}}

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|December 2024}}

 |#default = {{{date}}}
}}
|info = 

}}{{#if:

 {{#ifeq:  | true
 | dontcat    
 }}{{#ifeq:  | no
 | dontcat
 }}{{#switch: ¬
 | yes
 | ¬   =   
 | #default = dontcat   
 }}{{#switch: 
 | no = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage =

| subpage = dontcat

| subsubpage = dontcat

}}

 | only = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage = dontcat

| subpage = | subsubpage = }}

 }}

| |

 {{#switch:
   {{#ifeq:  | false
   |   
   | {{#ifeq:  | yes
     |   
     | {{#ifeq:  | yes
       |   
       | {{#if:x   

|


     {{#if:{{#titleparts:{{#if:|  | Template:Notice/test01 }}|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}} | }}

   }}
 }}

}}

| talk =

Notice {{#if:Header text|
Notice: Header text
   }} Include text here.

| other

| #default =

Notice {{#if:Header text|
Notice: Header text
   }} Include text here.

}}


{{notice/test01| demospace=talk | image=Stop hand nuvola.svg | header=Header text | Include text here.}}

{{#ifeq:Template|{{subst:NAMESPACE}}||}}{{#switch:

 {{#if:talk 
 | talk    
 | {{#ifeq:Template|
   | main
   | {{#ifeq:Template|Template talk
     | talk
     | other
     }}
   }}
 }}

| main = {{#ifeq:{{{subst}}}|SUBST

|{{#if:
 |{{#invoke:Error|error|Template {{{{#if: |subst:}}[[Template:{{{name}}}|{{{name}}}]]{{#if:  ||{{{2}}}}}{{#if:  ||{{{3}}}}}{{#if:  ||{{{4}}}}}{{#if:  ||{{{5}}}}}{{#if:  ||{{{6}}}}}{{#if:  ||{{{7}}}}}{{#if:  ||{{{8}}}}}{{#if:  ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} has been incorrectly substituted.|tag=}}
}}

}}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}

|type = notice
|image = Notice
|smallimage = {{#if:|{{{smallimage}}}|Notice}}
|imageright = 
|smallimageright = {{#if:|{{{smallimageright}}}|}}
|class = ambox-{{#switch:notice
 |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:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|#}}

 |#default = {{{talk}}}
}}
|issue = {{#switch:¬
 |¬ = 
 |  = This article
 |This {{{sect}}}
}}  {{#if:Header text| 
Notice: Header text
   }} Include text here.
|fix = 
|date = {{#switch:¬
 |¬        = 
 |         = {{#ifeq:{{ safesubst:#if: {{ safesubst:#switch: 
|
|File
|MediaWiki
|Category = 
|yes

}}

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|December 2024}}

 |#default = {{{date}}}
}}
|info = 

}}{{#if:

 {{#ifeq:  | true
 | dontcat    
 }}{{#ifeq:  | no
 | dontcat
 }}{{#switch: ¬
 | yes
 | ¬   =   
 | #default = dontcat   
 }}{{#switch: 
 | no = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage =

| subpage = dontcat

| subsubpage = dontcat

}}

 | only = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage = dontcat

| subpage = | subsubpage = }}

 }}

| |

 {{#switch:
   {{#ifeq:  | false
   |   
   | {{#ifeq:  | yes
     |   
     | {{#ifeq:  | yes
       |   
       | {{#if:x   

|


     {{#if:{{#titleparts:{{#if:|  | Template:Notice/test01 }}|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}} | }}

   }}
 }}

}}

| talk =

Notice {{#if:Header text|
Notice: Header text
   }} Include text here.

| other

| #default =

Notice {{#if:Header text|
Notice: Header text
   }} Include text here.

}}


{{notice/test01| demospace=talk | small=yes | header=Header text | Include text here.}}

{{#ifeq:Template|{{subst:NAMESPACE}}||}}{{#switch:

 {{#if:talk 
 | talk    
 | {{#ifeq:Template|
   | main
   | {{#ifeq:Template|Template talk
     | talk
     | other
     }}
   }}
 }}

| main = {{#ifeq:{{{subst}}}|SUBST

|{{#if:
 |{{#invoke:Error|error|Template {{{{#if: |subst:}}[[Template:{{{name}}}|{{{name}}}]]{{#if:  ||{{{2}}}}}{{#if:  ||{{{3}}}}}{{#if:  ||{{{4}}}}}{{#if:  ||{{{5}}}}}{{#if:  ||{{{6}}}}}{{#if:  ||{{{7}}}}}{{#if:  ||{{{8}}}}}{{#if:  ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} has been incorrectly substituted.|tag=}}
}}

}}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}

|type = notice
|image = Notice
|smallimage = {{#if:|{{{smallimage}}}|Notice}}
|imageright = 
|smallimageright = {{#if:|{{{smallimageright}}}|}}
|class = ambox-{{#switch:notice
 |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:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|#}}

 |#default = {{{talk}}}
}}
|issue = {{#switch:¬
 |¬ = 
 |  = This article
 |This {{{sect}}}
}}  {{#if:Header text| 
Notice: Header text
   }} Include text here.
|fix = 
|date = {{#switch:¬
 |¬        = 
 |         = {{#ifeq:{{ safesubst:#if: {{ safesubst:#switch: 
|
|File
|MediaWiki
|Category = 
|yes

}}

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|December 2024}}

 |#default = {{{date}}}
}}
|info = 

}}{{#if:

 {{#ifeq:  | true
 | dontcat    
 }}{{#ifeq:  | no
 | dontcat
 }}{{#switch: ¬
 | yes
 | ¬   =   
 | #default = dontcat   
 }}{{#switch: 
 | no = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage =

| subpage = dontcat

| subsubpage = dontcat

}}

 | only = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage = dontcat

| subpage = | subsubpage = }}

 }}

| |

 {{#switch:
   {{#ifeq:  | false
   |   
   | {{#ifeq:  | yes
     |   
     | {{#ifeq:  | yes
       |   
       | {{#if:x   

|


     {{#if:{{#titleparts:{{#if:|  | Template:Notice/test01 }}|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}} | }}

   }}
 }}

}}

| talk =

Notice {{#if:Header text|
Notice: Header text
   }} Include text here.

| other

| #default =

Notice {{#if:Header text|
Notice: Header text
   }} Include text here.

}}

Appearance on other pages

Such as "Wikipedia:" and "Image:" pages etc.

{{notice/test01| Include text here.}}

{{#ifeq:Template|{{subst:NAMESPACE}}||}}{{#switch:

 {{#if: 
 |     
 | {{#ifeq:Template|
   | main
   | {{#ifeq:Template|Template talk
     | talk
     | other
     }}
   }}
 }}

| main = {{#ifeq:{{{subst}}}|SUBST

|{{#if:
 |{{#invoke:Error|error|Template {{{{#if: |subst:}}[[Template:{{{name}}}|{{{name}}}]]{{#if:  ||{{{2}}}}}{{#if:  ||{{{3}}}}}{{#if:  ||{{{4}}}}}{{#if:  ||{{{5}}}}}{{#if:  ||{{{6}}}}}{{#if:  ||{{{7}}}}}{{#if:  ||{{{8}}}}}{{#if:  ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} has been incorrectly substituted.|tag=}}
}}

}}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}

|type = notice
|image = Notice
|smallimage = {{#if:|{{{smallimage}}}|Notice}}
|imageright = 
|smallimageright = {{#if:|{{{smallimageright}}}|}}
|class = ambox-{{#switch:notice
 |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:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|#}}

 |#default = {{{talk}}}
}}
|issue = {{#switch:¬
 |¬ = 
 |  = This article
 |This {{{sect}}}
}}  {{#if:| 
Notice: {{{header}}}
   }} Include text here.
|fix = 
|date = {{#switch:¬
 |¬        = 
 |         = {{#ifeq:{{ safesubst:#if: {{ safesubst:#switch: 
|
|File
|MediaWiki
|Category = 
|yes

}}

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|December 2024}}

 |#default = {{{date}}}
}}
|info = 

}}{{#if:

 {{#ifeq:  | true
 | dontcat    
 }}{{#ifeq:  | no
 | dontcat
 }}{{#switch: ¬
 | yes
 | ¬   =   
 | #default = dontcat   
 }}{{#switch: 
 | no = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage =

| subpage = dontcat

| subsubpage = dontcat

}}

 | only = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage = dontcat

| subpage = | subsubpage = }}

 }}

| |

 {{#switch:
   {{#ifeq:  | false
   |   
   | {{#ifeq:  | yes
     |   
     | {{#ifeq:  | yes
       |   
       | {{#if:x   

|


     {{#if:{{#titleparts:{{#if:|  | Template:Notice/test01 }}|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}} | }}

   }}
 }}

}}

| talk =

Notice {{#if:|
Notice: {{{header}}}
   }} Include text here.

| other

| #default =

Notice {{#if:|
Notice: {{{header}}}
   }} Include text here.

}}


{{notice/test01| header=Header text | Include text here.}}

{{#ifeq:Template|{{subst:NAMESPACE}}||}}{{#switch:

 {{#if: 
 |     
 | {{#ifeq:Template|
   | main
   | {{#ifeq:Template|Template talk
     | talk
     | other
     }}
   }}
 }}

| main = {{#ifeq:{{{subst}}}|SUBST

|{{#if:
 |{{#invoke:Error|error|Template {{{{#if: |subst:}}[[Template:{{{name}}}|{{{name}}}]]{{#if:  ||{{{2}}}}}{{#if:  ||{{{3}}}}}{{#if:  ||{{{4}}}}}{{#if:  ||{{{5}}}}}{{#if:  ||{{{6}}}}}{{#if:  ||{{{7}}}}}{{#if:  ||{{{8}}}}}{{#if:  ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} has been incorrectly substituted.|tag=}}
}}

}}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}

|type = notice
|image = Notice
|smallimage = {{#if:|{{{smallimage}}}|Notice}}
|imageright = 
|smallimageright = {{#if:|{{{smallimageright}}}|}}
|class = ambox-{{#switch:notice
 |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:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|#}}

 |#default = {{{talk}}}
}}
|issue = {{#switch:¬
 |¬ = 
 |  = This article
 |This {{{sect}}}
}}  {{#if:Header text| 
Notice: Header text
   }} Include text here.
|fix = 
|date = {{#switch:¬
 |¬        = 
 |         = {{#ifeq:{{ safesubst:#if: {{ safesubst:#switch: 
|
|File
|MediaWiki
|Category = 
|yes

}}

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|December 2024}}

 |#default = {{{date}}}
}}
|info = 

}}{{#if:

 {{#ifeq:  | true
 | dontcat    
 }}{{#ifeq:  | no
 | dontcat
 }}{{#switch: ¬
 | yes
 | ¬   =   
 | #default = dontcat   
 }}{{#switch: 
 | no = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage =

| subpage = dontcat

| subsubpage = dontcat

}}

 | only = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage = dontcat

| subpage = | subsubpage = }}

 }}

| |

 {{#switch:
   {{#ifeq:  | false
   |   
   | {{#ifeq:  | yes
     |   
     | {{#ifeq:  | yes
       |   
       | {{#if:x   

|


     {{#if:{{#titleparts:{{#if:|  | Template:Notice/test01 }}|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}} | }}

   }}
 }}

}}

| talk =

Notice {{#if:Header text|
Notice: Header text
   }} Include text here.

| other

| #default =

Notice {{#if:Header text|
Notice: Header text
   }} Include text here.

}}


{{notice/test01| image=Stop hand nuvola.svg | header=Header text | Include text here.}}

{{#ifeq:Template|{{subst:NAMESPACE}}||}}{{#switch:

 {{#if: 
 |     
 | {{#ifeq:Template|
   | main
   | {{#ifeq:Template|Template talk
     | talk
     | other
     }}
   }}
 }}

| main = {{#ifeq:{{{subst}}}|SUBST

|{{#if:
 |{{#invoke:Error|error|Template {{{{#if: |subst:}}[[Template:{{{name}}}|{{{name}}}]]{{#if:  ||{{{2}}}}}{{#if:  ||{{{3}}}}}{{#if:  ||{{{4}}}}}{{#if:  ||{{{5}}}}}{{#if:  ||{{{6}}}}}{{#if:  ||{{{7}}}}}{{#if:  ||{{{8}}}}}{{#if:  ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} has been incorrectly substituted.|tag=}}
}}

}}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}

|type = notice
|image = Notice
|smallimage = {{#if:|{{{smallimage}}}|Notice}}
|imageright = 
|smallimageright = {{#if:|{{{smallimageright}}}|}}
|class = ambox-{{#switch:notice
 |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:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|#}}

 |#default = {{{talk}}}
}}
|issue = {{#switch:¬
 |¬ = 
 |  = This article
 |This {{{sect}}}
}}  {{#if:Header text| 
Notice: Header text
   }} Include text here.
|fix = 
|date = {{#switch:¬
 |¬        = 
 |         = {{#ifeq:{{ safesubst:#if: {{ safesubst:#switch: 
|
|File
|MediaWiki
|Category = 
|yes

}}

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Notice/test01}}

}}|Template:|December 2024}}

 |#default = {{{date}}}
}}
|info = 

}}{{#if:

 {{#ifeq:  | true
 | dontcat    
 }}{{#ifeq:  | no
 | dontcat
 }}{{#switch: ¬
 | yes
 | ¬   =   
 | #default = dontcat   
 }}{{#switch: 
 | no = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage =

| subpage = dontcat

| subsubpage = dontcat

}}

 | only = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Notice/test01|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Notice/test01|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage = dontcat

| subpage = | subsubpage = }}

 }}

| |

 {{#switch:
   {{#ifeq:  | false
   |   
   | {{#ifeq:  | yes
     |   
     | {{#ifeq:  | yes
       |   
       | {{#if:x   

|


     {{#if:{{#titleparts:{{#if:|  | Template:Notice/test01 }}|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}} | }}

   }}
 }}

}}

| talk =

Notice {{#if:Header text|
Notice: Header text
   }} Include text here.

| other

| #default =

Notice {{#if:Header text|
Notice: Header text
   }} Include text here.

}}

Old box code

The really old code that was used prior to 20 March 2008. Hardcoded:

rowspan="2"}} align="center" style="width:35px;"|[[Image:Info {{#ifeq:Template|Template talk {{#ifeq:|yes|25px|35px}}|Notice]]

{{#if:|

Notice: {{{header}}}

Template:!- }}

{{{1}}}