Template:Protected/sandbox
Jump to navigation
Jump to search
Error: This page is not currently protected. Please request protection or remove the protection template.
This is the template sandbox page for Template:Protected (diff). |
This template will not be visible on pages that are not protected. Only administrators can protect pages. Adding this template to a page does not protect it.
Usage[edit]
- Use
{{protected/sandbox}}
for the normal template - Use
{{protected/sandbox|reason=text}}
for applying a specific reason - Use
{{protected/sandbox|expiry=July 5, 2024}}
for a specific expiration date - Use
{{protected/sandbox|small=yes}}
for just an icon at the top - Use
{{protected/sandbox|expiry={{subst:#time:F j, Y|+7 days}}}}
for a specific expiration time period
- Use
{{protected/sandbox|pagename=Template:Protected/sandbox}}
to prevent the template to do anything if the full page name including namespace of the page using the template isn't equal to the value of the parameter. This can be used to avoid wrong categorization of translated pages.
Note that (UTC) will be added automatically.
Depending on the namespace, this template will categorize pages into Category:Wikidata protected pages, Category:Protected project pages, Category:Protected images, Category:Wikidata protected templates, Category:Protected talk pages and Category:Wikidata protected user and user talk pages. When the protection is expired, it will additionally categorize into Category:Wikidata pages with incorrect protection templates.
The above documentation is transcluded from Template:Protected/doc (edit | history). Editors can experiment in this template's sandbox (edit | diff) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |