Template:Pp-template

From PlanetNepal

Jump to: navigation, search
[edit] [purge] Template-info.png Template documentation

Usage

The template will automatically detect the edit protection level (semi or full) of a page, and modify the appearance or categorization in consequence.

  • Use {{pp-template}} for the normal template (an icon at the top)
  • Use {{pp-template|small=no}} for the large template

This template will not be shown on pages that are not protected. Please note that only administrators can protect pages.

Inclusion control tags

  • When {{pp-template}} is added directly into the protected template, it should be placed inside Template:Tag tags (otherwise, every page which uses the template will see the protection notice, which will result in an error message).
  • When {{pp-template}} is added to a documentation subpage, it should be placed inside Template:Tag tags (otherwise, the doc page itself will also see the protection notice, which again will result in an error message).
Sometimes, several templates use the same documentation page. If not all of those templates are protected, the protection template will have to be placed directly into the protected templates only.

See also

Padlock.png {{pp-meta}} Full Semi Move
Dispute: {{pp-dispute}} NoN {{pp-move-dispute}}
Vandalism: {{pp-vandalism}} {{pp-move-vandalism}}
High visibility templates: {{pp-template}} NoN
User talk of blocked user: {{pp-usertalk}} {{pp-semi-usertalk}} NoN
Sockpuppetry: NoN {{pp-semi-sock}} NoN
WP:BLP: NoN {{pp-semi-blp}} NoN
Long-term: NoN {{pp-semi-indef}} {{pp-move-indef}}
Generic (other protection): {{pp-protected}} {{pp-move}}
Scrutiny of the Office: {{pp-office}} {{reset}} NoN
Talk page info: {{Permprot}} {{Temprot}} NoN
Create protection: {{pp-create}} NoN
Personal tools