Template:Protected/doc

From Wikidata
Jump to navigation Jump to search

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/doc}} for the normal template
  • Use {{protected/doc|reason=text}} for applying a specific reason
  • Use {{protected/doc|expiry=June 23, 2024}} for a specific expiration date
  • Use {{protected/doc|small=yes}} for just an icon at the top
  • Use {{protected/doc|expiry={{subst:#time:F j, Y|+7 days}}}} for a specific expiration time period
  • Use {{protected/doc|pagename=Template:Protected/doc}} 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.