• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Padlock

  • Template
  • Talk
  • Language
  • Watch
  • Edit
Template documentation

Purpose

edit

This is a shortcut template that automatically detects the current protection level and adds a small padlock icon to the top right corner with the following priority (using only one):

  1. Review protected (pending changes level 2)
  2. Fully protected or semi-protected
  3. Pending changes protected (level 1)
  4. Move protected
  5. No protection or autoconfirmed move protection (in this case, the template adds absolutely nothing)

Please note that this does not automatically add expiry dates (use "expiry=InsertDateHere" like normal to add them). This template only adds the padlock icon and does not differentiate between protection reasons, so this template is not to be used in place of templates like {{pp-dispute}}.

Usage

edit

{{padlock}}
{{padlock|expiry=InsertDateHere}}

Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Padlock&oldid=667971900"