Difference between revisions of "Template:Check file on delete/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Davidgothberg
(Adding the {{template sandbox notice}}.)
imported>Davidgothberg
(Making it so this template also shows the protection settings for known high-risk files.)
Line 167: Line 167:
 
   | id = mw-filedelete-intro-high-risk
 
   | id = mw-filedelete-intro-high-risk
 
   | text =  
 
   | text =  
'''Warning!''' This file is used in a system message or is one of the most widely used images. Such high-risk images should be locally uploaded and protected here at the English Wikipedia. Don't delete this image, not even if it has a backup copy on Commons.
+
'''Warning!''' This file is used in a system message or is one of the most widely used images. Such high-risk images should be locally uploaded and protected here at the English Wikipedia. Don't delete this image, not even if it has a backup copy on Commons.  
 +
    {{#if: {{PROTECTIONLEVEL:edit}} {{PROTECTIONLEVEL:move}} {{PROTECTIONLEVEL:upload}}
 +
    | <br />This file has the following protections set:
 +
      {{#if: {{PROTECTIONLEVEL:edit}}
 +
      | * Edit: {{PROTECTIONLEVEL:edit}}
 +
      }}{{#if: {{PROTECTIONLEVEL:move}}
 +
      | * Move: {{PROTECTIONLEVEL:move}}
 +
      }}{{#if: {{PROTECTIONLEVEL:upload}}
 +
      | * Upload: {{PROTECTIONLEVEL:upload}}
 +
      }}
 +
    | <br />Unfortunately this file is currently not protected.
 +
    }}
 
   }}
 
   }}
 
| <!-- Not listed as high-risk, so check if protected -->
 
| <!-- Not listed as high-risk, so check if protected -->

Revision as of 02:54, 2 October 2011