Template:Ombox

From openwfm
Jump to navigation Jump to search

{{#ifeq:|yes

|

{{#ifeq:{{#if:| {{{smallimage}}} | }}|none | | }}

{{#if:{{#if: | {{{smallimageright}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none

 | 
|
 }}

}}

{{#switch:

| | speedy | delete | content | style | move | protection | notice =

| #default =

This message box is using an invalid "type=" parameter and needs fixing.

}}

|

{{#ifeq:|none | | }}

{{#if: | {{#ifeq:|none

 | 
|
 }}

}}

{{#switch:

| | speedy | delete | content | style | move | protection | notice =

| #default =

This message box is using an invalid "type=" parameter and needs fixing.

}} }}

{{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}

  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=indef
  |move=move
  |#default=indef}}
 |move={{#ifeq:
     {{#switch:{{#ifeq:ombox/template|ombox/template|undefined|{{#ifeq:ombox|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:{{#ifeq:ombox/template|ombox/template|undefined|{{#ifeq:ombox|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |yes|no
   }}

|#default={{#if:

     {{#switch:{{#ifeq:ombox/template|ombox/template|undefined|{{#ifeq:ombox|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |{{#ifeq:{{#switch:
                |semi
                |autoconfirmed=autoconfirmed
                |administrator
                |full
                |sysop=sysop
                |#default=}}
        |{{#switch:{{#ifeq:ombox/template|ombox/template|undefined|{{#ifeq:ombox|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|ombox]]}}|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|Ombox]]}}}}

{{#ifeq: Ombox | sandbox

|

{{

  1. ifeq:ombox|sandbox

| {{#ifeq:|yes

|

{{#ifeq:{{#if:| {{{smallimage}}} | 50px }}|none | | }} {{#if:{{#if: | {{{smallimageright}}} | }} | {{#ifeq:{{#if: | {{{smallimageright}}} | }}|none | |
 }}

}}

{{#switch:

| | speedy | delete | content | style | move | protection | notice =

| #default =

This message box is using an invalid "type=" parameter and needs fixing.

}}

|

{{#ifeq:50px|none | | }} {{#if: | {{#ifeq:|none | |
 }}

}}

{{#switch:

| | speedy | delete | content | style | move | protection | notice =

| #default =

This message box is using an invalid "type=" parameter and needs fixing.

}} }}{{

 #ifeq:ombox | 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:ombox/template|ombox/template|undefined|{{#ifeq:ombox|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:{{#ifeq:ombox/template|ombox/template|undefined|{{#ifeq:ombox|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |yes|no
   }}

|#default={{#if:

     {{#switch:{{#ifeq:ombox/template|ombox/template|undefined|{{#ifeq:ombox|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |{{#ifeq:{{#switch:
                |semi
                |autoconfirmed=autoconfirmed
                |administrator
                |full
                |sysop=sysop
                |#default=}}
        |{{#switch:{{#ifeq:ombox/template|ombox/template|undefined|{{#ifeq:ombox|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|ombox]]}}|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|Ombox]]}}}}
 | {{#if: 
   | {{#ifeq:{{#switch:{{#switch:{{#ifeq:-|-sysop|move|}}
  |semi
  |autoconfirmed=semi
  |administrator
  |full
  |sysop=indef
  |move=move
  |#default=indef}}
 |move={{#ifeq:
     {{#switch:{{#ifeq:ombox/template|ombox/template|undefined|{{#ifeq:ombox|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:{{#ifeq:ombox/template|ombox/template|undefined|{{#ifeq:ombox|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |yes|no
   }}

|#default={{#if:

     {{#switch:{{#ifeq:ombox/template|ombox/template|undefined|{{#ifeq:ombox|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |{{#ifeq:{{#switch:
                |semi
                |autoconfirmed=autoconfirmed
                |administrator
                |full
                |sysop=sysop
                |#default=}}
        |{{#switch:{{#ifeq:ombox/template|ombox/template|undefined|{{#ifeq:ombox|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|ombox]]}}|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|Ombox]]}}}}
   | 
   }}
 }}

| other | #default =

}}

{{#ifeq: ¬ |

|

|
{{
 #if: 
 | 
 | 
   {{
   #if: {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: Ombox
 | sandbox
 | testcases = Ombox
 | #default = Ombox
 }}/doc
   }}
 | yes
 }}
   | [[{{fullurl:{{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: Ombox
 | sandbox
 | testcases = Ombox
 | #default = Ombox
 }}/doc
 }}|action=edit}} edit]] [purge] 
   | 
     [[{{fullurl:{{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: Ombox
 | sandbox
 | testcases = Ombox
 | #default = Ombox
 }}/doc
 }}| action=edit&preload={{
       #ifeq: Template | File
       | Template:Documentation/preload-filespace
       | Template:Documentation/preload
       }} }} create]]
   }}
 }} {{#switch: ¬
 | ¬ =   
   {{#switch: Template 
   | Template = 50px Template documentation
   | File = Summary
   | #default = Documentation
   }}
 | #default = 
   ¬
}}

}} {{#if: | | {{#if: {{#ifexist:

   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: Ombox
 | sandbox
 | testcases = Ombox
 | #default = Ombox
 }}/doc
   }}
 | yes
 }}
 | {{ {{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: Ombox
 | sandbox
 | testcases = Ombox
 | #default = Ombox
 }}/doc
 }} }}
 }}

}}

{{#if:

 {{#ifeq:  | off
 |
 | {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: Ombox
 | sandbox
 | testcases = Ombox
 | #default = Ombox
 }}/doc
   }}
 | yes
 }}{{
   #switch: Template
   | User
   | Template = yes
   }}
 }}

|

{{#ifeq:none|none | | }} {{#if: |

}}

{{#switch:

| | warning | editnotice | system =

| #default =

This message box is using an invalid "type=" parameter and needs fixing.

}} }}{{#if:

 {{#switch: Ombox
 | doc
 | testcases = strange
 }}

|

}}