Difference between revisions of "Template:Pp-template"

From EVE RP Wiki
Jump to: navigation, search
(Not used anywhere, full of dead links.)
rp>Tomybrz
m (Protected "Template:Pp-template": Test protection to show result ([Edit=Allow only autoconfirmed users] (expires 20:59, 19 April 2019 (UTC)) [Move=Allow only autoconfirmed users] (expires 20:59, 19 April 2019 (UTC))))
Line 1: Line 1:
<noinclude>{{pp-template|small=yes}}
+
<includeonly>{{pp-meta
</noinclude>{{#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
<div style="position:absolute; z-index:100; right:10px; top:10px;" class="metadata" id="administrator"></div>
+
  |administrator
|
+
  |full
<table class="messagebox protected" style="border:2px solid #99B; padding:0px; font-size:0.9em;">
+
  |sysop=indef
<tr>
+
  |move=move
<td>
+
  |templateeditor=template
'''This {{#switch:{{NAMESPACE}}
+
  |#default=template<!--fallback value-->}}
   |{{ns:image}}=image, used in one or more [[Wikipedia:High-risk templates|high-risk templates]] and/or [[Special:Allmessages|system messages]],
+
|small={{{small|yes}}}
   |#default=high-risk template
+
|right={{{right|}}}
}} has been protected from editing to prevent vandalism.''' <span class="plainlinks">([{{fullurl:Special:Log|type=protect&page={{FULLPAGENAMEE}}}} protection log]).</span>
+
|demospace={{{demospace|}}}
{{#switch:{{NAMESPACE}}|{{ns:image}}=<small>'''Do not move this image''' to [[commons:|Wikimedia Commons]].</small>}}
+
|demolevel={{#ifeq:{{PAGENAME}}/{{NAMESPACE}}|{{SUBPAGENAME}}/{{ns:Template}}|{{{demolevel|undefined}}}|{{#ifeq:{{lc:{{SUBPAGENAME}}}}|sandbox|sysop|{{{demolevel|undefined}}}}}}}
</td>
+
|expiry=<!--not applicable-->
</tr>
+
|dispute=no
</table>
+
|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}}}}}}}
}}<includeonly>[[Category:Protected templates|{{PAGENAME}}]]</includeonly><noinclude>
+
  |semi
 
+
  |autoconfirmed=semi-protected from editing
----
+
  |move=move-protected
<!--
+
  |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
-->
+
  |templateeditor
 
+
  |#default=<!--fallback value--> protected from editing}} to prevent vandalism.
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.
+
|reason-text=This {{#switch:{{NAMESPACE}}
 
+
   |{{ns:image}}=image, used in one or more [[Wikipedia:High-risk templates|high-risk templates]]{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
 +
  |semi
 +
  |autoconfirmed=
 +
  |administrator
 +
  |full
 +
  |sysop=<nowiki> </nowiki>and/or [[Special:Allmessages|system messages]],
 +
  |templateeditor=<nowiki> </nowiki>and/or [[Special:Allmessages|system messages]],
 +
  |#default=<!--fallback value-->}}
 +
   |#default=[[Wikipedia:High-risk templates|high-risk {{pp-meta/pagetype}}]]
 +
}} 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>
<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
 

Revision as of 19:59, 19 April 2019

Template:Pp-meta Template:Pp-meta

Template documentation