Difference between revisions of "Template:Pp-template"

From Shadow of the Throne Wiki
Jump to: navigation, search
({{in category|Protected templates}})
(more intuitive imagemap code, reword image-space wording)
Line 6: Line 6:
 
<imagemap>
 
<imagemap>
 
  Image:Padlock.svg|20px
 
  Image:Padlock.svg|20px
  rect 0 0 1000 1000 [[Wikipedia:Protection policy|This high-risk template or image included in one has been protected from editing to prevent vandalism]]
+
  default [[Wikipedia:Protection policy|This high-risk template or image included in one has been protected from editing to prevent vandalism]]
 
  desc none
 
  desc none
 
</imagemap>
 
</imagemap>
Line 16: Line 16:
 
<td>
 
<td>
 
'''This {{#switch:{{NAMESPACE}}
 
'''This {{#switch:{{NAMESPACE}}
   |{{ns:image}}=image, used in one or more [[Wikipedia:High-risk templates|high-risk templates]] or the interface,
+
   |{{ns:image}}=image, used in one or more [[Wikipedia:High-risk templates|high-risk templates]] and/or [[Special:Allmessages|system messages]],
 
   |#default=[[Wikipedia:High-risk templates|high-risk template]]
 
   |#default=[[Wikipedia:High-risk templates|high-risk template]]
 
}} has been [[Wikipedia:This page is protected|protected]] from editing to prevent [[Wikipedia:vandalism|vandalism]].''' <span class="plainlinks">([{{fullurl:Special:Log|type=protect&page={{FULLPAGENAMEE}}}} protection log]).</span> {{howtoedit}}
 
}} has been [[Wikipedia:This page is protected|protected]] from editing to prevent [[Wikipedia:vandalism|vandalism]].''' <span class="plainlinks">([{{fullurl:Special:Log|type=protect&page={{FULLPAGENAMEE}}}} protection log]).</span> {{howtoedit}}

Revision as of 01:32, 9 June 2007

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

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

|#default={{#if:

     {{#switch:{{#ifeq:pp-template/template|pp-template/template|undefined|{{#ifeq:pp-template|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-template/template|pp-template/template|undefined|{{#ifeq:pp-template|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-template]]}}|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-template]]}}}}

{{#ifeq:ʁ|yesʁ |

|

File:Padlock.svg

This {{#switch:Template

 |File=image, used in one or more high-risk templates and/or system messages,
 |#default=high-risk template

}} has been protected from editing to prevent vandalism. (protection log). Template:Howtoedit {{#switch:Template|File=:Note: This image should not be moved to commons}}

}}


This template is not to be used as a bluff. Only use it on FULLY PROTECTED pages. Please note that only administrators can protect pages.

Template:Protection templates

Template:In category