求真百科歡迎當事人提供第一手真實資料,洗刷冤屈,終結網路霸凌。

變更

前往: 導覽搜尋

Template:Pp-pc1/doc

增加 1,944 位元組, 6 年前
fixing lint errors
{{Documentation subpage}}
{{Twinkle standard installation}}
{{lua|Module:Protection banner}}
<!-- Categories and interwikis go at the bottom of this page. -->

=== Usage ===
*This template is used for pages that are [[Wikipedia:Protection policy#Pending changes protection|pending changes]] protected.

*This template categorizes articles into [[:Category:Wikipedia 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 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.
:<code><nowiki>{{Pp-pc1</nowiki>|'''expiry'''=''date''|'''reason'''=''due to a reason''<nowiki>}}</nowiki></code>
;;Notes
:*If parameter '''small''' is set to "yes", "y", "1", or "true", e.g. <code><nowiki>{{Pp-pc1</nowiki>|'''small'''=''yes''<nowiki>}}</nowiki></code>, a padlock icon is generated in article's upper right hand corner.
:*The <code>'''reason'''</code> parameter will produce:
::*"''All edits by unregistered and new users are subject to review'' <code>reason</code>." if the <code>''expiry''</code> parameter is omitted or if <code>|'''indef'''=''yes''</code> is included.
::*"''All edits by unregistered and new users are subject to review until January 1, 2014'' <code>reason</code>." if the <code>''expiry''</code> parameter is set (in this case to January 1, 2014).
::*Note: The preceding space and full stop are automatically included.

=== See also ===
{{protection templates}}

<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
<!-- Categories and interwikis go here: -->
[[Category:Top icon protection templates|{{PAGENAME}}]]

}}</includeonly>