Template:Pp-vandalism: Difference between revisions
convert this to use Module:Protection banner; see here for details |
m 1 revision imported |
(No difference)
|
Latest revision as of 09:00, 26 February 2025
![]() | This template is used on approximately 2,700 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. |
![]() | 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. |
![]() | 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}}
for the normal template - Use
{{pp-vandalism|small=yes}}
for just an icon at the top
TemplateData
TemplateData for Pp-vandalism
<templatedata> { "params": { "small": { "label": { "en": "Small", "gu": "નાનું" }, "description": { "en": "Just show an icon at the top.", "gu": "મથાળે નાનું આઇકોન બતાવો" }, "type": "boolean", "example": { "en": "yes", "gu": "હા" } } }, "description": { "en": "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.", "gu": "આ ઢાંચો આપમેળે પાનાં માટેનું ફેરફાર સંરક્ષણ સ્તર શોધી લેશે અને તે પ્રમાણે તેનું અંકન કરશે. (પુરું, અડધું કે કામચલાઉ કે કાયમી સંરક્ષણ વગેરે) આ ઢાંચો સંરક્ષણ રહિતના પાનાં પર આ ઢાંચો દેખાશે નહીં. " }, "format": "inline" } </templatedata>