Template:Ombox/core

From openwfm
< Template:Ombox
Revision as of 09:58, 31 March 2010 by Jbeezley (talk | contribs) (Created page with '<table class="plainlinks ombox {{#ifeq:{{{small}}}|yes|mbox-small}} {{#switch:{{{type|}}} | speedy = ombox-speedy | delete = ombox-delete | content = ombox-content | …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
{{#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/core/template|core/template|undefined|{{#ifeq:core|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |sysop|yes|no
   }}
 |create={{#if:
     {{#switch:{{#ifeq:ombox/core/template|core/template|undefined|{{#ifeq:core|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |yes|no
   }}

|#default={{#if:

     {{#switch:{{#ifeq:ombox/core/template|core/template|undefined|{{#ifeq:core|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/core/template|core/template|undefined|{{#ifeq:core|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/core]]}}|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/core]]}}}}

{{#ifeq: core | sandbox

|

{{

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

|#default={{#if:

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

|#default={{#if:

     {{#switch:{{#ifeq:ombox/core/template|core/template|undefined|{{#ifeq:core|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/core/template|core/template|undefined|{{#ifeq:core|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/core]]}}|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/core]]}}}}
   | 
   }}
 }}

| other | #default =

}}

{{#ifeq: ¬ |

|

|
{{
 #if: 
 | 
 | 
   {{
   #if: {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: core
 | sandbox
 | testcases = Ombox
 | #default = Ombox/core
 }}/doc
   }}
 | yes
 }}
   | [[{{fullurl:{{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: core
 | sandbox
 | testcases = Ombox
 | #default = Ombox/core
 }}/doc
 }}|action=edit}} edit]] [purge] 
   | 
     [[{{fullurl:{{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: core
 | sandbox
 | testcases = Ombox
 | #default = Ombox/core
 }}/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: core
 | sandbox
 | testcases = Ombox
 | #default = Ombox/core
 }}/doc
   }}
 | yes
 }}
 | {{ {{#if: 
 | 
 | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: core
 | sandbox
 | testcases = Ombox
 | #default = Ombox/core
 }}/doc
 }} }}
 }}

}}

{{#if:

 {{#ifeq:  | off
 |
 | {{#ifexist: 
   {{#if: 
   |    
   | {{#switch: Template
 | 
 | File
 | MediaWiki
 | Category = Template talk
 | #default = Template
 }}:{{#switch: core
 | sandbox
 | testcases = Ombox
 | #default = Ombox/core
 }}/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: core
 | doc
 | testcases = strange
 }}

|

}}