Codex Gamicus
(That's t for talk, not template)
mNo edit summary
(30 intermediate revisions by 5 users not shown)
Line 1: Line 1:
  +
<noinclude>
{{#ifeq:{{{small|}}}{{{expiry|ʁ}}}|yesʁ
 
  +
{{Pp-template|small=yes}}
|
 
  +
</noinclude>{{#if: {{{demo<includeonly>|{{PROTECTIONLEVEL:edit}}</includeonly>}}} |
<div style="position:absolute; z-index:100; right:20px; top:10px; height:10px; width:300px;"></div>
 
  +
{{Ambox
<div style="position:absolute; z-index:100; right:10px; top:10px;" class="metadata" id="administrator">
 
<imagemap>
 
File:Padlock.svg|20px
 
default This high-risk template or image included in one has been protected from editing to prevent vandalism
 
desc none
 
</imagemap>
 
</div>
 
|
 
<table class="messagebox protected" style="border:2px solid #99B; padding:0px; font-size:0.9em;">
 
<tr>
 
<td valign="middle" > [[File:Padlock.svg|45px| ]]</td>
 
<td>
 
'''This {{#switch:{{NAMESPACE}}
 
|{{ns:image}}=image, used in one or more igh-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> {{howtoedit}}
 
{{#switch:{{NAMESPACE}}|{{ns:image}}=<small>'''Do not move this image''' to Wikimedia Commons.</small>}}
 
</td>
 
</tr>
 
</table>
 
}}<!--
 
 
{{ombox
 
 
| 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?)