Codex Gamicus
(Neater)
mNo edit summary
(33 intermediate revisions by 5 users not shown)
Line 1: Line 1:
  +
<noinclude>
{{tmbox
 
  +
{{Pp-template|small=yes}}
  +
</noinclude>{{#if: {{{demo<includeonly>|{{PROTECTIONLEVEL:edit}}</includeonly>}}} |
  +
{{Ambox
 
| type = protection
 
| type = protection
| image = [[File:Padlock.svg|45px]]
+
| image = [[File:Padlock{{ #ifeq: {{{demo|{{PROTECTIONLEVEL:edit}}}}} | autoconfirmed | -silver-medium }}.svg|40px]]
  +
| text = '''This high-risk template has been {{#switch: {{{demo|{{PROTECTIONLEVEL:edit}}}}} | sysop = fully&nbsp; | autoconfirmed = semi- }}protected from editing to prevent vandalism.''' <span class="plainlinks">([{{fullurl:Special:Log|type=protect&page={{FULLPAGENAMEE}}}} protection log]).</span><br />If you are unable to edit this page but wish to make a change, please suggest it on the [[{{TALKPAGENAME}}|talk page]].}}}}<includeonly>{{#switch: {{{demo|{{PROTECTIONLEVEL:edit}}}}} | sysop = [[Category:Protected templates|{{PAGENAME}}]] | autoconfirmed = [[Category:Semi-protected templates|{{PAGENAME}}]] | #default = [[Category:Templates that need to be protected]]}}</includeonly><noinclude>
| text = '''This {{#switch:{{NAMESPACE}}
 
  +
{{Documentation}}
|{{ns:image}}=image, used in one or more high-risk templates and/or [[Special:Allmessages|system messages]],
 
|#default=high-risk template
 
}} has been protected from editing to prevent vandalism.''' <span class="plainlinks">([{{fullurl:Special:Log|type=protect&page={{FULLPAGENAMEE}}}} protection log]).</span>
 
}}<includeonly>[[Category:Protected templates|{{PAGENAME}}]]</includeonly><noinclude>
 
 
{{tlx|pp-template}} can be added to images or templates, which have been protected as they are used on a massive amount of pages, where vandalism can cause widescale damage.
 
 
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 17:35, 9 August 2018

Template documentation (for the template shown above, sometimes hidden or invisible)
Template:Pp-template/doc

Visit Template:Pp-template/doc to edit this text! (How does this work?)