Difference between revisions of "Template:Pp-meta"

From Deep Blue Robotics Wiki
Jump to: navigation, search
m (Reverted edits by Tariqabjotu (talk) to last version by Mr. Stradivarius)
(+ commas after dates in mm dd, yyyy format [grammatical error])
Line 87: Line 87:
 
   |#default=<!--null-->
 
   |#default=<!--null-->
 
   }}protected
 
   }}protected
}}{{#ifeq:{{lc:{{{type}}}}}|indef||{{#if:{{{expiry|}}}|<nowiki> </nowiki>until {{#time:F j, Y|{{{expiry}}}}}}}}}{{#if:{{{icon-reason|}}}|<nowiki> </nowiki>{{{icon-reason}}}}}.}}}|alt=Page {{#switch:{{lc:{{{type}}}}}
+
}}{{#ifeq:{{lc:{{{type}}}}}|indef||{{#if:{{{expiry|}}}|<nowiki> </nowiki>until {{#time:F j, Y|{{{expiry}}}}}{{#if:{{{icon-reason|}}}|,}}}}}}{{#if:{{{icon-reason|}}}|<nowiki> </nowiki>{{{icon-reason}}}}}.}}}|alt=Page {{#switch:{{lc:{{{type}}}}}
 
  |pc1=protected with pending changes level 1
 
  |pc1=protected with pending changes level 1
 
  |pc2=protected with pending changes level 2
 
  |pc2=protected with pending changes level 2
Line 134: Line 134:
 
  |office=This {{pp-meta/pagetype}} is currently [[Wikipedia:This page is protected|protected]] from editing
 
  |office=This {{pp-meta/pagetype}} is currently [[Wikipedia:This page is protected|protected]] from editing
 
  |create=[[Help:Starting a new page|Recreation]] of this {{pp-meta/pagetype}} [[Wikipedia:This page is protected|has been disabled]]
 
  |create=[[Help:Starting a new page|Recreation]] of this {{pp-meta/pagetype}} [[Wikipedia:This page is protected|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 [[Wikipedia:Protection policy|protection policy]] and [{{fullurl:Special:Log|type={{#switch:{{lc:{{{type}}}}} | pc1 | pc2 = stable | #default = protect }}&page={{FULLPAGENAMEE}}}} {{#switch:{{lc:{{{type}}}}} | pc1 | pc2 = pending changes | #default = protection }} log] for more details. {{#switch:{{lc:{{{type}}}}}
+
}}{{#ifeq:{{lc:{{{type}}}}}|indef||{{#if:{{{expiry|}}}|&#32;until {{#time:F j, Y|{{{expiry}}}}}{{#if:{{{reason|}}}|,}}}}}}{{{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 [[Wikipedia:Protection policy|protection policy]] and [{{fullurl:Special:Log|type={{#switch:{{lc:{{{type}}}}} | pc1 | pc2 = stable | #default = protect }}&page={{FULLPAGENAMEE}}}} {{#switch:{{lc:{{{type}}}}} | pc1 | pc2 = pending changes | #default = protection }} log] for more details. {{#switch:{{lc:{{{type}}}}}
 
  |full|indef=Please discuss any changes on the [[{{TALKPAGENAME}}#{{#if:{{{section|}}}|{{{section}}}|top}}|talk page]]; you may use the {{tlx|editprotected}} template to ask an [[Wikipedia:Administrator|administrator]] to make an edit if it is supported by [[Wikipedia:Consensus|consensus]]. {{#ifeq:{{NAMESPACE}}|{{ns:8}}<!--MediaWiki-->||You may also [[Wikipedia:Requests for page protection|request]] that this page be unprotected.}}
 
  |full|indef=Please discuss any changes on the [[{{TALKPAGENAME}}#{{#if:{{{section|}}}|{{{section}}}|top}}|talk page]]; you may use the {{tlx|editprotected}} template to ask an [[Wikipedia:Administrator|administrator]] to make an edit if it is supported by [[Wikipedia:Consensus|consensus]]. {{#ifeq:{{NAMESPACE}}|{{ns:8}}<!--MediaWiki-->||You may also [[Wikipedia:Requests for page protection|request]] that this page be unprotected.}}
 
  |semi=If you cannot edit this {{pp-meta/pagetype}} and you wish to make a change, you can {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||[[Template:Editsemiprotected|request an edit]], [[{{TALKPAGENAME}}|discuss changes on the talk page]],}} [[Wikipedia:Requests for page protection#Current requests for unprotection|request unprotection]], [[Special:Userlogin|log in]], or [[Special:UserLogin/signup|create an account]].
 
  |semi=If you cannot edit this {{pp-meta/pagetype}} and you wish to make a change, you can {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||[[Template:Editsemiprotected|request an edit]], [[{{TALKPAGENAME}}|discuss changes on the talk page]],}} [[Wikipedia:Requests for page protection#Current requests for unprotection|request unprotection]], [[Special:Userlogin|log in]], or [[Special:UserLogin/signup|create an account]].

Revision as of 04:59, 2 August 2013

{{#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
   }}
 |pc1 ={{#ifeq:
     {{#switch:undefined
       |pc1                           = autoconfirmed 
       |undefined                     = Template:PENDINGCHANGELEVEL
       |#default                      = }}
     |autoconfirmed
     |yes|no
   }}
 |pc2 ={{#ifeq:
     {{#switch:undefined
       |pc2                           = review 
       |undefined                     = Template:PENDINGCHANGELEVEL
       |#default                      = }}
     |review
     |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| {{#switch:{{{type}}}

| pc1 | pc2 =