Template:Pp-meta

From openwfm
Revision as of 09:58, 31 March 2010 by Jbeezley (talk | contribs) (Created page with '{{#ifeq:{{#switch:{{lc:{{{type}}}}} |move=<!-- -->{{#ifeq: {{#switch:{{lc:{{{demolevel|undefined}}}}} |semi |autoconfirmed=autoconfirmed |adminis…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{#ifeq:{{#switch:{{{type}}}

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

|#default={{#if:

     {{#switch:undefined
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |{{#ifeq:{{#switch:
                |semi
                |autoconfirmed=autoconfirmed
                |administrator
                |full
                |sysop=sysop
                |#default=}}
        |{{#switch:undefined
           |semi
           |autoconfirmed=autoconfirmed
           |administrator
           |full
           |sysop=sysop
           |undefined=
           |#default=}}
        |no|yes
      }}
  |no}}

}}|yes|{{#ifeq:|yes|

| Template:Mbox }}|}}

{{#ifeq: Pp-meta | sandbox

|

{{

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

|#default={{#if:

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

|#default={{#if:

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

| other | #default =

}}

{{#ifeq: ¬ |

|

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

}}

{{#if:

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

|

}}