Template:Pp-vandalism/doc: Difference between revisions
(Update TemplateData) |
m (1 revision imported from wikipedia:Template:Pp-vandalism/doc) |
Latest revision as of 13:12, 29 March 2020
This is a documentation subpage for Template:Pp-vandalism. It contains usage information, categories and other content that is not part of the original template page. |
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 will automatically detect the edit protection level of a page and adjust its appearance and categorization accordingly (showing full or semi-protection, temporary or indefinite, etc.). This template will not be visible on pages that are not protected. Please note that only administrators can protect pages.
- Use
{{pp-vandalism/doc}}
for the normal template - Use
{{pp-vandalism/doc|small=yes}}
for just an icon at the top
- This template will categorize into Category:Wikipedia pages protected against vandalism and Category:Wikipedia pages with incorrect protection templates.
TemplateData
TemplateData for Pp-vandalism
<templatedata> { "params": { "small": { "label": "Small", "description": "Just show an icon at the top.", "type": "boolean", "example": "yes" } }, "description": "This template will automatically detect the edit protection level of a page and adjust its appearance and categorization accordingly (showing full or semi-protection, temporary or indefinite, etc.). This template will not be visible on pages that are not protected.", "format": "inline" } </templatedata>
See also