Template:Protected/doc: Difference between revisions
m (4 revisions imported: Import from https://sims.wikia.com) |
m (1 revision imported) |
||
(One intermediate revision by one other user not shown) | |||
Line 5: | Line 5: | ||
{{t|Protected}} |
{{t|Protected}} |
||
;Examples |
|||
The template is set up to display an accurate message |
The template is set up to display an accurate message based on the protection status of the page. If a page is semi-protected, this version of the template will display: |
||
{{Metabox |
|||
|type = admin |
|||
|image = Semi-Protection.png |
|||
|headline = Page protected |
|||
|text = Editing of this article by unregistered or newly registered users is [[The Sims Wiki:Protected page|disabled]]. Users affected by this may [[talk:{{PAGENAME}}|propose changes to the article]] or [[The Sims Wiki:Administrators' noticeboard|request that the article be unprotected]]. |
|||
}} |
|||
If a page is fully protected, this version of the template will be displayed instead: |
|||
{{Metabox |
|||
|type = admin |
|||
|image = FullPro.png |
|||
|headline = Page protected |
|||
|text = Editing of this article is currently [[The Sims Wiki:Protected page|fully disabled]]. Users may [[talk:{{PAGENAME}}|propose changes to the article]] or [[The Sims Wiki:Administrators' noticeboard|request that the article be unprotected]]. |
|||
}} |
|||
Finally, if the template is placed on a page that isn't under protection, or if the template is placed on a page that was protected but where the protection has expired, the template will display this message: |
|||
<small>''<nowiki>[This template (</nowiki>[[Template:Protected]]<nowiki>) has been added to a page that is not currently</nowiki> [[The Sims Wiki:Protected page|under protection]],<nowiki> and may be removed from the article.]</nowiki>''</small> |
|||
<noinclude>[[Category:Template documentation]]</noinclude> |
<noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 14:15, 29 June 2021
- Uses
This template is intended for use on protected pages. It informs users that the page is semi- or fully-protected, and advises them to propose changes on the article talk page, or propose unprotection on the admins' noticeboard.
- Syntax
{{Protected}}
- Examples
The template is set up to display an accurate message based on the protection status of the page. If a page is semi-protected, this version of the template will display:
If a page is fully protected, this version of the template will be displayed instead:
Finally, if the template is placed on a page that isn't under protection, or if the template is placed on a page that was protected but where the protection has expired, the template will display this message:
[This template (Template:Protected) has been added to a page that is not currently under protection, and may be removed from the article.]