close
Sayahna Sayahna
Search

Difference between revisions of "Template:Pp-template"


(links to wp)
 
(Created page with "<includeonly>{{pp-meta |type={{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}} |semi |autoconfirmed...")
Line 22: Line 22:
 
   |#default=<!--fallback value-->protected from editing}} to prevent vandalism.
 
   |#default=<!--fallback value-->protected from editing}} to prevent vandalism.
 
|reason-text=This {{#switch:{{NAMESPACE}}
 
|reason-text=This {{#switch:{{NAMESPACE}}
   |{{ns:image}}=image, used in one or more [[w:Wikipedia:High-risk templates|high-risk templates]]{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
+
   |{{ns:image}}=image, used in one or more [[Wikipedia:High-risk templates|high-risk templates]]{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
 
   |semi
 
   |semi
 
   |autoconfirmed=
 
   |autoconfirmed=
Line 29: Line 29:
 
   |sysop=<nowiki> </nowiki>and/or [[Special:Allmessages|system messages]],
 
   |sysop=<nowiki> </nowiki>and/or [[Special:Allmessages|system messages]],
 
   |#default=<!--fallback value-->}}
 
   |#default=<!--fallback value-->}}
   |#default=[[w:Wikipedia:High-risk templates|high-risk template]]
+
   |#default=[[Wikipedia:High-risk templates|high-risk template]]
}} has been [[w:Wikipedia:This page is protected|{{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}}
+
}} has been [[Wikipedia:This page is protected|{{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}}
 
   |semi
 
   |semi
 
   |autoconfirmed=semi-
 
   |autoconfirmed=semi-
Line 37: Line 37:
 
   |full
 
   |full
 
   |sysop<!--uses default-->
 
   |sysop<!--uses default-->
   |#default=<!--fallback value-->}}protected]]{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop||<nowiki> </nowiki>from editing}} to prevent [[w:Wikipedia:Vandalism|vandalism]]. {{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
+
   |#default=<!--fallback value-->}}protected]]{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop||<nowiki> </nowiki>from editing}} to prevent [[Wikipedia:Vandalism|vandalism]]. {{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
 
   |semi
 
   |semi
 
   |autoconfirmed=
 
   |autoconfirmed=
Line 46: Line 46:
 
|categories={{{categories|{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}}
 
|categories={{{categories|{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#switch:{{{demolevel|{{#ifeq:{{PROTECTIONLEVEL:edit}}-{{PROTECTIONLEVEL:move}}|-sysop|move|{{PROTECTIONLEVEL:edit}}}}}}}
 
   |semi
 
   |semi
   |autoconfirmed=[[Category:Wikisource semi-protected templates|{{PAGENAME}}]]{{#ifeq:{{PROTECTIONLEVEL:move}}|sysop|[[Category:Wikisource move-protected templates|{{PAGENAME}}]]}}
+
   |autoconfirmed=[[Category:Wikipedia semi-protected templates|{{PAGENAME}}]]{{#ifeq:{{PROTECTIONLEVEL:move}}|sysop|[[Category:Wikipedia move-protected templates|{{PAGENAME}}]]}}
   |move=[[Category:Wikisource move-protected templates|{{PAGENAME}}]]
+
   |move=[[Category:Wikipedia move-protected templates|{{PAGENAME}}]]
 
   |administrator
 
   |administrator
 
   |full
 
   |full
 
   |sysop<!--uses default-->
 
   |sysop<!--uses default-->
   |#default=[[Category:Wikisource protected templates|{{PAGENAME}}]]<!--fallback value-->}}}}{{#ifeq:{{NAMESPACE}}|{{ns:6}}|[[Category:{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
+
   |#default=[[Category:Wikipedia protected templates|{{PAGENAME}}]]<!--fallback value-->}}}}{{#ifeq:{{NAMESPACE}}|{{ns:6}}|[[Category:{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
 
   |semi
 
   |semi
 
   |autoconfirmed=Semi-protected
 
   |autoconfirmed=Semi-protected

Revision as of 19:42, 8 November 2012

Documentation icon Template documentation[create]