Template:Ambox

From Encyclopedia Ermariana
Jump to: navigation, search

{{#switch: | left =

{{#switch:{{#if: | {{{smallimage}}} | }} | blank | none =

| #default =

}} {{#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.

[[Category:Wikipedia message box parameter needs fixing|Template:Main otherTemplate:Ambox]]

}}{{#switch:{{#if:

                | {{{smallimage}}}
                | 
                }}

| blank = [[Category:Wikipedia message box parameter needs fixing|Template:Main otherTemplate:Ambox]] }} | #default =

{{#switch: | blank | none =

| #default =

}}

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

 | 
| }} }}

{{#switch:

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

| #default =

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

[[Category:Wikipedia message box parameter needs fixing|Template:Main otherTemplate:Ambox]]

}}{{#switch: | blank = [[Category:Wikipedia message box parameter needs fixing|Template:Main otherTemplate:Ambox]] }} }}

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

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

|#default={{#if:

     {{#switch:{{#ifeq:ambox/template|ambox/template|undefined|{{#ifeq:ambox|sandbox|sysop|undefined}}}}
       |semi
       |autoconfirmed=autoconfirmed
       |administrator
       |full
       |sysop=sysop
       |undefined=
       |#default=}}
     |{{#ifeq:{{#switch:
                |semi
                |autoconfirmed=autoconfirmed
                |administrator
                |full
                |sysop=sysop
                |#default=}}
        |{{#switch:{{#ifeq:ambox/template|ambox/template|undefined|{{#ifeq:ambox|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|ambox]]}}|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|Ambox]]}}}}
{{#ifeq:μ|
 |
|
{{#ifeq:μ|μ
  |{{#ifexist: {{#switch: Ambox
 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=Template:Ambox/doc

}}

   |[[{{fullurl:{{#switch: Ambox
 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=Template:Ambox/doc

}}|action=edit}} edit]] [[[:Template:Purge]]]

   |[[{{fullurl:{{#switch: Ambox
 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=Template:Ambox/doc

}}|action=edit&preload=Template:Documentation/preload}} create]]

  }}
}} {{#if:|{{{heading}}}|{{#ifeq:Template|Template|50px Template documentation|Documentation}}}}
}}

{{#if:|{{{content}}}|{{#ifexist:{{#switch: Ambox

 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=Template:Ambox/doc

}} | {{ {{#switch: Ambox

 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=Template:Ambox/doc

}} }} }}}}