Template:Pp-pc/doc

Revision as of 17:01, 19 November 2021 by Thewolf12 (talk | contribs) (Created page with "{{Documentation subpage}} {{Twinkle standard installation}} {{lua|Module:Protection banner}} <!-- Categories and interwikis go at the bottom of this page. --> === Usage === *...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

  • This template uses a parser function. To give greater detail to the template, you may specify a specific reason for protection.
{{Pp-pc|reason=due to a reason}}

Notes

  • If parameter small is set to "yes", "y", "1", or "true", e.g. {{Pp-pc|small=yes}}, a padlock icon is generated in article's upper right hand corner.
  • The reason parameter will produce:
    "All edits by unregistered and new users are subject to review reason." if the protection is indefinite.
    "All edits by unregistered and new users are subject to review until January 1, 2025 reason." if the protection has been set to expire on a particular date (in this case to January 1, 2025).
    Note: The preceding space and full stop are automatically included.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Pp-pc

This template is used to mark and categorise pending changed protected articles. Adding this template to an article does not protect it.

Template parameters

ParameterDescriptionTypeStatus
Reasonreason

The reason the page was protected.

Stringoptional
Smallsmall

Show an icon in the top right corner.

Example
1
Booleanoptional

See also