Template:Padlock

From Sarkarverse
Jump to navigation Jump to search
Documentation icon Template documentation

Purpose

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

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