Template:Ambox/core

From Encyclopedia Ermariana
Jump to navigation Jump to search
{{#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/core]]

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

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

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

}}

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

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

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

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

  }}
}} {{#if:|{{{heading}}}|{{#ifeq:Template|Template|File:Template-info.svg Template documentation|Documentation}}}}
}}

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

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

}} | {{ {{#switch: core

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

}} }} }}}}