Difference between revisions of "Template:Pp-template"

From The Broken Dagger Wiki
Jump to: navigation, search
m (1 revision)
(initial copy)
(58 intermediate revisions by 17 users not shown)
Line 1: Line 1:
<includeonly>{{pp-meta
+
<includeonly>{{#ifeq:{{{small|}}}{{{expiry|ʁ}}}|yesʁ
|type={{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}}
+
|
  |semi
+
<div style="position:absolute; z-index:100; right:20px; top:10px; height:10px; width:300px;"></div>
  |autoconfirmed=semi
+
<includeonly><div style="position:absolute; z-index:100; right:10px; top:10px;" class="metadata" id="administrator">
  |administrator
+
<imagemap>
  |full
+
Image:Padlock.svg|20px
  |sysop=indef
+
rect 0 0 1000 1000 [[Wikipedia:Protection policy|This high-risk template or image included in one has been protected from editing to prevent vandalism]]
  |move=move
+
desc none
  |templateeditor=template
+
</imagemap>
  |#default=template<!--fallback value-->}}
+
</div>
|small={{{small|yes}}}
+
|
|right={{{right|}}}
+
<table class="messagebox protected" style="border:2px solid #99B; padding:0px; font-size:0.9em;">
|demospace={{{demospace|}}}
+
<tr>
|demolevel={{#ifeq:{{PAGENAME}}/{{NAMESPACE}}|{{SUBPAGENAME}}/{{ns:Template}}|{{{demolevel|undefined}}}|{{#ifeq:{{lc:{{SUBPAGENAME}}}}|sandbox|sysop|{{{demolevel|undefined}}}}}}}
+
<td valign="top" > [[Image:Padlock.svg|45px| ]]</td>
|expiry=<!--not applicable-->
+
<td>
|dispute=no
+
'''This {{#switch:{{NAMESPACE}}
|icon-text=This {{#ifeq:{{NAMESPACE}}|{{ns:6}}|image, included in a high-risk template or message,|high-risk {{pp-meta/pagetype}} }} is permanently {{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}}
+
   |{{ns:image}}=image, used in one or more [[Wikipedia:High-risk templates|high-risk templates]] or the interface,
  |semi
+
   |#default=[[Wikipedia:High-risk templates|high-risk template]]
  |autoconfirmed=semi-protected from editing
+
}} has been [[Wikipedia:This page is protected|protected]] from editing to prevent [[Wikipedia:vandalism|vandalism]].''' {{howtoedit}}
  |move=move-protected
+
{{#switch:{{NAMESPACE}}|{{ns:image}}=:<small>Note: This image should '''not''' be moved to commons</small>}}
  |administrator
+
</td>
  |full
+
</tr>
  |sysop
+
</table>
  |templateeditor
+
|}
  |#default=<!--fallback value--> protected from editing}} to prevent vandalism.
+
}}[[Category:Protected|{{{PAGENAME}}}]]</includeonly><noinclude>
|reason-text=This {{#switch:{{NAMESPACE}}
+
{{ {{PAGENAME}} }}
   |{{ns:image}}=image, used in one or more [[Wikipedia:High-risk templates|high-risk templates]]{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
+
{{{{PAGENAME}}|small=yes}}
  |semi
+
{{{{PAGENAME}}|expiry=April 23, 2007}}
  |autoconfirmed=
+
----
  |administrator
+
* Use {{tlx|{{lc:{{PAGENAME}}}}}} for the normal template
  |full
+
* Use {{tlx|{{lc:{{PAGENAME}}}}|small&#61;yes}} for just an icon at the top
  |sysop=<nowiki> </nowiki>and/or [[Special:Allmessages|system messages]],
+
 
  |templateeditor=<nowiki> </nowiki>and/or [[Special:Allmessages|system messages]],
+
This template is not to be used as a bluff. '''''Only use it on FULLY PROTECTED pages.''''' Please note that only [[Wikipedia:Administrators|administrators]] can protect pages.
  |#default=<!--fallback value-->}}
+
 
   |#default=[[Wikipedia:High-risk templates|high-risk {{pp-meta/pagetype}}]]
+
[[Category:Protection templates|{{PAGENAME}}]]
}} has been [[Wikipedia:This page is protected|{{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}}
+
  |semi
+
  |autoconfirmed=semi-
+
  |move=move-
+
  |administrator
+
  |full
+
  |sysop
+
  |templateeditor<!--uses default-->
+
  |#default=<!--fallback value-->permanently<nowiki> </nowiki>}}protected]]{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop||<nowiki> </nowiki>from editing}} to prevent [[Wikipedia:Vandalism|vandalism]]. {{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
+
  |semi
+
  |autoconfirmed=
+
  |administrator
+
  |full
+
  |sysop
+
  |templateeditor<!--uses default-->
+
  |#default={{#switch:{{NAMESPACE}}|{{ns:image}}=<br /><small>'''Do not move this image''' to [[commons:|Wikimedia Commons]].</small>}}}}
+
|categories={{{categories|{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}}
+
  |semi
+
  |autoconfirmed=[[Category:Wikipedia semi-protected templates|{{PAGENAME}}]]{{#ifeq:{{PROTECTIONLEVEL:move}}|sysop|[[Category:Wikipedia move-protected templates|{{PAGENAME}}]]}}
+
  |move=[[Category:Wikipedia move-protected templates|{{PAGENAME}}]]
+
  |administrator
+
  |full
+
  |sysop
+
  |templateeditor<!--uses default-->
+
  |#default=[[Category:Wikipedia protected templates|{{PAGENAME}}]]<!--fallback value-->}}}}{{#ifeq:{{NAMESPACE}}|{{ns:6}}|[[Category:{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
+
  |semi
+
  |autoconfirmed=Semi-protected
+
  |administrator
+
  |full
+
  |sysop
+
  |templateeditor<!--uses default-->
+
  |#default=Protected<!--fallback value-->}} images|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude>
+
{{pp-template|categories=no}}  <!-- Show the small version -->
+
{{pp-template|small=no}}      <!-- Show the large version -->
+
{{Documentation}}
+
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
 
</noinclude>
 
</noinclude>

Revision as of 17:41, 23 March 2007


  • Use {{pp-template}} for the normal template
  • Use {{pp-template|small=yes}} for just an icon at the top

This template is not to be used as a bluff. Only use it on FULLY PROTECTED pages. Please note that only administrators can protect pages.