Difference between revisions of "Template:Pp-pc/doc"

From The TTSCpedia
Jump to navigationJump to search
FairPlay137
FairPlay137 (talk | contribs) (1 revision imported)
m
m
 
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
{{Twinkle standard installation}}
 
 
{{lua|Module:Protection banner}}
 
{{lua|Module:Protection banner}}
 
<!-- Categories and interwikis go at the bottom of this page. -->
 
<!-- Categories and interwikis go at the bottom of this page. -->
  
 
=== Usage ===
 
=== Usage ===
*This template is used for pages that are [[Wikipedia:Protection policy#Pending changes protection|pending changes]] protected.
+
*This template is used for pages that are pending changes protected.
*This template categorizes articles into [[:Category:Wikipedia pending changes protected pages]].
+
*This template categorizes articles into [[:Category:Pending changes protected pages]].
*This template ''will be'' visible on pages that are not protected. '''Adding this template to an article does not protect it.''' Protection can only be applied by [[Wikipedia:Administrators|administrators]], and can be requested at [[Wikipedia:Requests for page protection]].
+
*This template ''will be'' visible on pages that are not protected. '''Adding this template to an article does not protect it.''' Protection can only be applied by [[The TTSCpedia:Administrators|administrators]].
  
*This template uses a [[Help:Magic words#Parser functions|parser function]]. To give greater detail to the template, you may specify: the protection expiry, and a specific reason for protection.  
+
*This template uses a parser function. To give greater detail to the template, you may specify: the protection expiry, and a specific reason for protection.  
 
:<code><nowiki>{{Pp-pc</nowiki>|'''expiry'''=''date''|'''reason'''=''due to a reason''<nowiki>}}</nowiki></code>
 
:<code><nowiki>{{Pp-pc</nowiki>|'''expiry'''=''date''|'''reason'''=''due to a reason''<nowiki>}}</nowiki></code>
 
====Notes====
 
====Notes====

Latest revision as of 07:18, 3 March 2019

Usage

  • This template is used for pages that are pending changes protected.
  • This template categorizes articles into Category:Pending changes protected pages.
  • This template will be visible on pages that are not protected. Adding this template to an article does not protect it. Protection can only be applied by administrators.
  • This template uses a parser function. To give greater detail to the template, you may specify: the protection expiry, and a specific reason for protection.
{{Pp-pc|expiry=date|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 expiry parameter is omitted or if |indef=yes is included.
    "All edits by unregistered and new users are subject to review until January 1, 2025 reason." if the expiry parameter is set (in this case to January 1, 2025).
    Note: The preceding space and full stop are automatically included.

See also