Difference between revisions of "Template:Pp-template"

From Amanita Research
Jump to navigation Jump to search
(change smalltext id to better "protected-icon", should convert this template to use {{pp-meta}} sometime during the current update of pp-meta)
m (59 revisions imported: citations)
 
(37 intermediate revisions by 11 users not shown)
Line 1: Line 1:
<noinclude>{{pp-template|small=yes}}
+
<includeonly>{{#invoke:Protection banner|main}}</includeonly><noinclude>
</noinclude>{{#ifeq:{{{small|}}}{{{expiry|ʁ}}}|yesʁ
+
{{documentation}}
|
+
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
<div style="position:absolute; z-index:100; right:20px; top:10px; height:10px; width:300px;"></div>
 
<div style="position:absolute; z-index:100; right:55px; top:10px;" class="metadata" id="protected-icon">
 
<imagemap>
 
Image:Padlock.svg|20px
 
default [[Wikipedia:Protection policy|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" > [[Image:Padlock.svg|45px| ]]</td>
 
<td>
 
'''This {{#switch:{{NAMESPACE}}
 
  |{{ns:image}}=image, used in one or more [[Wikipedia:High-risk templates|high-risk templates]] and/or [[Special:Allmessages|system messages]],
 
  |#default=[[Wikipedia:High-risk templates|high-risk template]]
 
}} has been [[Wikipedia:This page is protected|protected]] from editing to prevent [[Wikipedia:vandalism|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 [[commons:|Wikimedia Commons]].</small>}}
 
</td>
 
</tr>
 
</table>
 
}}<includeonly>[[Category:Protected templates|{{PAGENAME}}]]</includeonly><noinclude>
 
{{Documentation}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 18:47, 2 November 2019

Template documentation[create]