Template:Protected page text/extendedconfirmed
|
This template is used in MediaWiki:Protectedpagetext. Changes to it can cause immediate changes to the Uncyclopedia user interface. To avoid large-scale disruption, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. Please discuss any changes on the talk page before implementing them. |
This template displays the text that users see when they do not have permission to edit a page. This template was created to encourage removal of pain and to replace those MediaWiki messages.
For convenience, there are six subtemplates already filled out with the settings for semi-protection, extended-confirmed protection, full protection, cascade protection, user JSON page protection, and user script protection: {{Protected page text/semi}}, {{Protected page text/extendedconfirmed}}, {{Protected page text/full}}, {{Protected page text/cascade}}, {{Protected page text/user-json}} and {{Protected page text/interface}}. It is recommended that you use these subtemplates, as this will allow you to benefit from future updates to the templates.
Syntax
Pre-defined settings
Semi-protection {{protected page text/semi}}
Extended-confirmed protection {{protected page text/extendedconfirmed}}
Full-protection {{protected page text/full}}
Pages transcluded in cascade-protected pages {{protected page text/cascade}}
Protection of user JSON pages {{protected page text/user-json}}
Protection of user scripts {{protected page text/interface}}
Manual settings
{{protected page text | image = | protection-message = | suggestions = | protection-reason = }}
Parameters
image
- The shackle image used in the top message box. Defaults toFull-protection-shackle.svg
.protection-message
- The message inside the top message box. This should explain that the page is protected, and who can edit it. This parameter is required.suggestions
- If this parameter is set with any text, the template shows the "Why is the page protected?" and "What can I do?" headings with a list of suggestions on what actions editors can take upon discovering that they can't edit the page. This parameter can be used with the #ifexist parser function to display the suggestions only on existing pages (i.e. to disable them on create-protected pages).protection-reason
- The general reasons why pages of a given protection level might be protected. This is the first bullet point under the "Why is the page protected?" heading. This parameter is required.log-text
- Optional text to use instead of the protection log explanation in the "Why is the page protected?" heading.who-can-edit
- The users that can edit pages protected at this level. This should start with a capital letter and include a grammatical article, e.g.An [[Uncyclopedia:Administrator|administrator]]
. This parameter is required.
Example
The following example uses the code for full protection.
Code
{{protected page text | protection-message = This page is currently [[Uncyclopedia:Protection policy#Full protection|protected]] so that only [[Uncyclopedia:Administrators|administrators]] can edit it. | suggestions = {{#ifexist: {{FULLPAGENAME}} | yes}} | protection-reason = Full protection is usually reserved for highly visited pages, such as [[AAAAAAAAA!]]. Most pages can be edited by everyone. }}
Result
|