Template:Pp-meta

From SFU_Public
Jump to: navigation, search

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

|#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:
 {{#if: 
   | 
   | {{#if: 
     | 
       {{#ifeq:|
       | talk
       |  
       }}
     | 
       {{#ifeq:template|template talk
       | talk
       | template 
       }}
     }}
   }}

| main | = ambox | talk = tmbox | user = ombox | wikipedia = ombox | file | image = imbox | mediawiki = ombox | template = ombox | help = ombox | category = cmbox | portal = ombox | other | #default = ombox

}} | type = protection | image = [[Image:{{#switch:{{{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|This page is {{#switch:{{{type}}}

|semi=semi-
|move=move-
|indef=permanently 
|create=creation-
|office=
|full
|#default=

}}protected.]] | imageright = | style = | textstyle = | text = {{#switch:{{{type}}}

|full=This page is currently protected from editing
|semi=Editing of this Template:Pagetype by new or unregistered users is currently disabled
|move=This Template:Pagetype is currently protected from page moves
|indef=This page is protected from editing indefinitely
|office=This Template:Pagetype is currently protected from editing
|create=Recreation of this Template:Pagetype has been disabled

}}{{#ifeq:{{{type}}}|indef||{{#if:| until {{#time:F j, Y|{{{expiry}}}}}}}}}{{{reason}}}.
{{#ifeq:{{{dispute}}}|yes|This protection is
not an endorsement of the {{#ifeq:{{{type}}}|move|current title|current version}}.}} See the protection policy and protection log for more details. {{#switch:{{{type}}}

|full|indef=Please discuss any changes on the talk page; you may use the Template:Tlx template to ask an administrator to make the edit if it is supported by consensus. {{#ifeq:Template|MediaWiki||You may also request that this page be unprotected.}}
|semi=If you cannot edit this Template:Pagetype and you wish to make a change, you can {{#ifeq:Template|Template talk||request an edit, discuss changes on the talk page,}} request unprotection, log in, or create an account.
|move=The page may still be edited but cannot be moved until unprotected. Please discuss any suggested moves on the talk page or at Wikipedia:Requested moves.  You can also request that the page be unprotected.  
|office=If you are able to edit this page, please discuss all changes and additions on the talk page first. Do not remove protection from this article unless you are authorized by the Wikimedia Foundation to do so.
|create=Please see the {{#if:|[[{{{xfd}}}|deletion discussion]] or the}} deletion log for details of why this page was deleted. If you would like to create a page at this title, you must first request for it to be unprotected, or contact the administrator who deleted the page for the deleted material to be restored. If unsuccessful, you can use deletion review.

}} | small = | smallimage = | smallimageright = | smalltext = }} }}|}}

{{#ifeq:μ|
 |
|
{{#ifeq:μ|μ
  |{{#ifexist: {{#switch: Pp-meta
 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=Template:Pp-meta/doc

}}

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

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

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

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

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

{{#if:|{{{content}}}|{{#ifexist:{{#switch: Pp-meta

 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=Template:Pp-meta/doc

}} | {{ {{#switch: Pp-meta

 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=Template:Pp-meta/doc

}} }} }}}}