FANDOM


 
if type == 'move' then
 
    if demolevel == 'semi' or demolevel == 'autoconfirmed' then
        -- autoconfirmed
    elseif demolevel == 'administrator' or demolevel == 'full' or demolevel == 'sysop' then
        -- sysop
    else
        -- {{PROTECTIONLEVEL:move}}
    end
 
elseif type == 'create' then
 
    if demolevel == 'semi' or demolevel == 'autoconfirmed' then
        -- yes
    elseif demolevel == 'administrator' or demolevel == 'full' or demolevel == 'sysop' then
        -- yes
    else
        -- {{PROTECTIONLEVEL:move}}
    end
 
else
 
 
 -->{{#if:
      {{#switch:{{lc:{{{demolevel|undefined}}}}}
        |semi
        |autoconfirmed=autoconfirmed
        |administrator
        |full
        |sysop=sysop
        |undefined={{PROTECTIONLEVEL:edit}}
        |#default=<!--fallback value: null
   -->}}
      |{{#ifeq:{{#switch:{{lc:{{{disallowlevel|}}}}}
                 |semi
                 |autoconfirmed=autoconfirmed
                 |administrator
                 |full
                 |sysop=sysop
                 |#default=<!--fallback value: null-->}}
         |{{#switch:{{lc:{{{demolevel|undefined}}}}}
            |semi
            |autoconfirmed=autoconfirmed
            |administrator
            |full
            |sysop=sysop
            |undefined={{PROTECTIONLEVEL:edit}}
            |#default=<!--fallback value: null
       -->}}
         |no|yes
       }}
   |no}}
}}|yes|{{#ifeq:{{lc:{{{small|}}}}}|yes|
 
mw.html.create( 'div' )
    :addClass( 'metadata' )
    :addClass( 'plainlinks' )
    :addClass( 'topicon' )
    :attr( 'id', 'protected-icon' )
    :css( {
        ['position'] = 'absolute',
        ['z-index'] = '100',
        ['right'] = '55px',
        ['top'] = '18px'
    } )
 
<div>
{{#tag:imagemap|
Image:{{{image|{{#switch:{{lc:{{{type}}}}}
 |full=Padlock.svg
 |semi=Padlock-silver-medium.svg
 |move=Padlock-olive.svg
 |indef=Padlock-red.svg
 |office=Padlock-black.svg
 |create=Padlock-skyblue.svg
 |#default=Transparent.gif
}}}}}{{!}}20px{{!}}{{{icon-text|{{#switch:{{lc:{{{type}}}}}
 |full=Fully protected
 |semi=Semi-protected
 |move=Move protected
 |indef=Permanently protected
 |create=Protected from creation
 |office=[[Project:Bureaucrats|Bureaucrat]] protected
 |#default=<!--null-->
}}}}}
default [[{{{icon-link|Project:Protection policy#{{lc:{{{type}}}}}}}}|{{{icon-text|This {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} is {{#switch:{{lc:{{{type}}}}}
 |semi=semi-
 |move=move-
 |indef=permanently<nowiki> </nowiki>
 |create=creation-
 |office=<!--null, but should this have a special tag?-->
 |full
 |#default=<!--null-->
}}protected{{#ifeq:{{lc:{{{type}}}}}|indef||{{#if:{{{expiry|}}}|<nowiki> </nowiki>until {{#time:F j, Y|{{{expiry}}}}}}}}}{{#if:{{{icon-reason|}}}|<nowiki> </nowiki>{{{icon-reason}}}}}.}}}]]
desc none
}}
</div>
|<!-- else, not small -->
{{mbox 
| demospace = {{{demospace|}}}
| type = protection
| image = [[Image:{{{image|{{#switch:{{lc:{{{type}}}}}
 |full=Padlock.svg
 |semi=Padlock-silver-medium.svg
 |move=Padlock-olive.svg
 |indef=Padlock-red.svg
 |office=Padlock-black.svg
 |create=Padlock-skyblue.svg
 |#default=Transparent.gif
}}}}}|40px|{{{icon-text|This page is {{#switch:{{lc:{{{type}}}}}
 |semi=semi-
 |move=move-
 |indef=permanently<nowiki> </nowiki>
 |create=creation-
 |office=<!--null, but should this have a special tag?-->
 |full
 |#default=<!--null-->
}}protected.}}}]]
| text = '''{{{reason-text|{{#switch:{{lc:{{{type}}}}}
 |full=This page is currently [[Help:Page protection|protected]] from editing
 |semi=Editing of this {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} by new or unregistered users is currently [[Project:Protection policy|disabled]]
 |move=This {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} is currently [[Help:Page protection|protected]] from [[Help:Moving pages|page moves]]
 |indef=This page is [[Help:Page protection|protected]] from editing ''indefinitely''
 |office=This {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} is currently [[Help:Page protection|protected]] from editing
 |create=[[Help:New page|Recreation]] of this {{#ifeq:{{NAMESPACE}}|{{ns:0}}|article|page}} [[Help:Page protection|has been disabled]]
}}{{#ifeq:{{lc:{{{type}}}}}|indef||{{#if:{{{expiry|}}}|&#32;until {{#time:[[F j]], [[Y]]|{{{expiry}}}}}}}}}{{{reason<includeonly>|</includeonly>}}}.}}}'''<br /> {{{explanation-text|{{#ifeq:{{lc:{{{dispute}}}}}|yes|This protection is '''not''' an endorsement of the {{#ifeq:{{{type}}}|move|[{{fullurl:Special:Log|type=move&page={{FULLPAGENAMEE}}}} current title]|[{{fullurl:{{FULLPAGENAMEE}}|action=history}} current version]}}.}} See the [[Project:Protection policy|protection policy]] and [{{fullurl:Special:Log|type=protect&page={{FULLPAGENAMEE}}}} protection log] for more details. {{#switch:{{lc:{{{type}}}}}
 |full|indef=Please discuss any changes on the [[{{TALKPAGENAME}}|talk page]]; you may use the {{tlx|edit protected}} template to ask an [[Project:Administrator|Administrator]] to make the edit if it is supported by [[wikipedia:Wikipedia:Consensus|consensus]]. {{#ifeq:{{NAMESPACE}}|{{ns:8}}<!--MediaWiki-->||You may also [[Project:Administrator requests|request]] that this page be unprotected.}}
 |semi=If you cannot edit this {{#switch:{{NAMESPACE}}|{{ns:0}}=article|{{ns:6}}=image|#default=page}} and you wish to make a change, you can {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||[[Template:Editsemiprotected|request an edit]], [[{{TALKPAGENAME}}|discuss changes on the talk page]],}} [[Project:Administrator requests|request unprotection]], [[Special:Userlogin|log in]], or <span class="plainlinks">[http://admintools.wikia.com/wiki/Special:UserLogin/signup <span style="color:#002bb8;" title="Sign in / create account">create an account</span>].
 |move=The page may still be edited but cannot be moved until unprotected. Please discuss any suggested moves on the [[{{TALKPAGENAME}}|talk page]] or at [[Admin Tools Wiki:Administrator requests]].  You can also [[Project:Administrator requests|request]] that the page be unprotected.  
 |office=<br />Users seeking changes to this page may petition for them by placing {{tlx|editprotected}} on the [[{{TALKPAGENAME}}|talkpage]] along with their edit request and related rationale.<br />'''Administrators may not override this policy without approval from a [[Project:Bureaucrats|Bureaucrat]]. No editor may remove this notice.'''
 |create=Please see the {{#if:{{{xfd|}}}|'''[[{{{xfd}}}|deletion discussion]]''' or the}} [{{fullurl:Special:Log|type=delete&page={{FULLPAGENAMEE}}}} deletion log] for details of why this page was deleted. If you would like to create a page at this title, you must first [[Project:Administrator requests|request]] for it to be unprotected, or for the deleted material to be restored via [[Project:Administrator requests|deletion review]].
}}}}}
}}
}}|[[Category:Pages with incorrect protection templates]]}}<!--End if small--><includeonly>{{#ifeq:{{lc:{{{categories|no}}}}}|no||{{{categories|}}}}}</includeonly>
<noinclude>
{{documentation}}
[[Category:Pages not to be tested on]]
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.