Difference between revisions of "Template:Pp-pc/doc"
Jump to navigation
Jump to search
en>Certes (rvv) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 11:21, 2 February 2022
This is a documentation subpage for Template:Pp-pc. It contains usage information, categories and other content that is not part of the original template page. |
50x40px | If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as this template is used in the standard installation of Twinkle. Thank you! |
This template uses Lua: |
Usage
- 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.
{{Pp-pc|reason=due to a reason}}
Notes
- If parameter small is set to "yes", "y", "1", or "true", e.g.
{{Pp-pc|small=yes}}
, a padlock icon is generated in article's upper right hand corner. - The
reason
parameter will produce:- "All edits by unregistered and new users are subject to review
reason
." if the protection is indefinite. - "All edits by unregistered and new users are subject to review until January 1, 2025
reason
." if the protection has been set to expire on a particular date (in this case to January 1, 2025). - Note: The preceding space and full stop are automatically included.
- "All edits by unregistered and new users are subject to review
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Pp-pc
<templatedata> { "params": { "reason": { "label": "Reason", "description": "The reason the page was protected.", "type": "string" }, "small": { "label": "Small", "description": "Show an icon in the top right corner.", "example": "1", "type": "boolean" } }, "description": "This template is used to mark and categorise pending changed protected articles. Adding this template to an article does not protect it." } </templatedata>
See also