Template:Pending changes–protected/doc
Appearance
| This is a documentation subpage for Template:Pending changes–protected. It may contain usage information, categories and other content that is not part of the original template page. |
| This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
| This template uses Lua: |
| Any breaking changes to this template, including moving it or nominating it for deletion, must be communicated in advance to Twinkle's users and maintainers at Wikipedia talk:Twinkle. The standard installation of Twinkle relies on this template. Thank you. |
| If this template is moved, redirected or deleted, please ask an administrator to update User:MusikBot II/FixPP/config accordingly. Thank you. |
Usage
[edit source]- This template is used for pages that are pending changes protected.
- This template categorizes articles into Category:Wikipedia pending changes protected pages.
- This template will be visible on pages that are not protected. Adding this template to an article does not protect it. Protection can only be applied by administrators, and can be requested at Wikipedia:Requests for page protection.
- This template uses a parser function. To give greater detail to the template, you may specify a specific reason for protection.
{{Pending changes–protected|reason=due to a reason}}
Notes
[edit source]- If parameter small is set to "yes", "y", "1", or "true", e.g.
{{Pending changes–protected|small=yes}}, a padlock icon is generated in article's upper right hand corner. - The
|reason=due to a reasonparameter will produce:- "All edits by unregistered and new users are subject to review
due to a reason." if the protection is indefinite. - "All edits by unregistered and new users are subject to review until January 1, 2027
due to a reason." if the protection has been set to expire on a particular date (in this case to January 1, 2027).
- "All edits by unregistered and new users are subject to review
- Note: The preceding space and full stop are automatically included.
TemplateData
[edit source]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Pending changes–protected in articles based on its TemplateData.
TemplateData for Pending changes–protected
This template is used to mark and categorise pending changed protected articles. Adding this template to an article does not protect it.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Reason | reason | The reason the page was protected. | String | optional |
| Small | small | Show an icon in the top right corner.
| Boolean | optional |