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)
(Testing with {{pp-meta/sandbox}}, should work well.)
Line 1: Line 1:
 
<noinclude>{{pp-template|small=yes}}
 
<noinclude>{{pp-template|small=yes}}
</noinclude>{{#ifeq:{{{small|}}}{{{expiry|ʁ}}}|yesʁ
+
</noinclude><includeonly>{{pp-meta/sandbox
|
+
|type=full
<div style="position:absolute; z-index:100; right:20px; top:10px; height:10px; width:300px;"></div>
+
|demospace={{{demospace|}}}
<div style="position:absolute; z-index:100; right:55px; top:10px;" class="metadata" id="protected-icon">
+
|expiry=<!--not applicable-->
<imagemap>
+
|dispute=no
Image:Padlock.svg|20px
+
|icon-text=This {{#ifeq:{{NAMESPACE}}|{{ns:6}}|image, included in a high-risk template or message,|high-risk template}} is protected from editing to prevent vandalism.
default [[Wikipedia:Protection policy|This high-risk template or image included in one has been protected from editing to prevent vandalism]]
+
|reason-text=This {{#switch:{{NAMESPACE}}
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]],
 
   |{{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]]
 
   |#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}}
+
}} has been [[Wikipedia:This page is protected|protected]] from editing to prevent [[Wikipedia:Vandalism|vandalism]].
{{#switch:{{NAMESPACE}}|{{ns:image}}=<small>'''Do not move this image''' to [[commons:|Wikimedia Commons]].</small>}}
+
|categories={{{categories|[[Category:Protected templates|{{PAGENAME}}]]}}}}}</includeonly><noinclude>{{pp-template|categories=no}}
</td>
 
</tr>
 
</table>
 
}}<includeonly>[[Category:Protected templates|{{PAGENAME}}]]</includeonly><noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 15:24, 6 April 2008

Template:Pp-meta/sandbox Template:Pp-meta/sandbox

Template documentation[create]