Template:Protected/doc: Difference between revisions

m
1 revision imported
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:
{{t|Protected}}
 
;Examples
The template is set up to display an accurate message ifbased aon pagethe isprotection semi-protectedstatus orof fullythe protectedpage. If thea page is not semi-protected, athis smallversion message will inform readers thatof the template canwill be removed from the article.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>