Template:Pp-protected/doc
From FORwiki
(Difference between revisions)
(Created page with 'This template will not be visible on pages that are not protected. Only administrators can protect pages. == Usage == * Use {{tlx|{{lc:{{PAGENAME}}}}}} for the normal template ...') |
(→Example) |
||
(One intermediate revision not shown) | |||
Line 4: | Line 4: | ||
* Use {{tlx|{{lc:{{PAGENAME}}}}}} for the normal template | * Use {{tlx|{{lc:{{PAGENAME}}}}}} for the normal template | ||
- | * Use {{tlx|{{lc:{{PAGENAME}}}}|reason | + | * Use {{tlx|{{lc:{{PAGENAME}}}}|reason=text}} for applying a specific reason |
- | * Use {{tlx|{{lc:{{PAGENAME}}}}|expiry | + | * Use {{tlx|{{lc:{{PAGENAME}}}}|expiry={{#time:F j, Y|+1 month}}}} for a specific expiration date |
- | * Use {{tlx|{{lc:{{PAGENAME}}}}|small | + | * Use {{tlx|{{lc:{{PAGENAME}}}}|small=yes}} for just an icon at the top |
- | * Use {{tlx|{{lc:{{PAGENAME}}}}|expiry | + | * Use {{tlx|{{lc:{{PAGENAME}}}}|expiry=<nowiki>{{subst:#time:F j, Y|+7 days}}</nowiki>}} for a specific expiration time period |
Note that ''(UTC)'' will be added automatically. | Note that ''(UTC)'' will be added automatically. | ||
+ | |||
+ | == Example == | ||
+ | |||
+ | <nowiki>{{pp-protected|reason=it contains administrative information}}</nowiki> | ||
+ | |||
+ | produces | ||
+ | |||
+ | {{pp-protected|reason=it contains administrative information}} |
Current revision as of 14:58, 14 January 2010
This template will not be visible on pages that are not protected. Only administrators can protect pages.
Usage
- Use {{pp-protected/doc}} for the normal template
- Use {{pp-protected/doc}} for applying a specific reason
- Use {{pp-protected/doc}} for a specific expiration date
- Use {{pp-protected/doc}} for just an icon at the top
- Use {{pp-protected/doc}} for a specific expiration time period
Note that (UTC) will be added automatically.
Example
{{pp-protected|reason=it contains administrative information}}
produces
This page is currently protected from editing because it contains administrative information. See the protection policy and protection log for more details. Please discuss any changes on the talk page. You may also request that this page be unprotected. |