Template:Pp-vandalism
From TechInfoDepot
Jump to navigationJump to searchUses 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|expiry=December 13, 2024}}
for a specific expiration date - Use
{{pp-vandalism|small=yes}}
for just an icon at the top - Use
{{pp-vandalism|expiry={{subst:#time:F j, Y|+7 days}}}}
for a specific expiration time period
Note that (UTC) will be added automatically.
- This template will categorize into Category:TechInfoDepot pages protected against vandalism and Category:TechInfoDepot pages with incorrect protection templates.
See also
The above documentation is transcluded from Template:Pp-vandalism/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |