Difference between revisions of "Template:Pp-protected"

From blackwiki
Jump to navigation Jump to search
test>Debresser
m (Avoid redirect.)
test>Mr. Stradivarius
(convert this to use Module:Protection banner; see here for details)
Line 1: Line 1:
<includeonly>{{pp-meta
+
<includeonly>{{#invoke:Protection banner|main}}</includeonly><noinclude>
|type={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
+
{{documentation}}
  |semi
+
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
  |autoconfirmed=semi
 
  |administrator
 
  |full
 
  |sysop=full
 
  |#default=full<!--fallback value-->}}
 
|small={{{small|}}}
 
|right={{{right|}}}
 
|demospace={{{demospace|}}}
 
|demolevel={{{demolevel|undefined}}}
 
|expiry={{{expiry|}}}
 
|dispute=no
 
|reason={{#if:{{{reason|}}}|&#32;because {{lcfirst:{{{reason|}}}}}}}
 
|categories={{{categories|
 
{{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
 
|semi
 
|autoconfirmed={{#switch: {{{demospace|{{NAMESPACE}}}}}
 
  | {{ns:2}}
 
  | {{ns:3}} = [[Category:Wikipedia semi-protected user and user talk pages|{{PAGENAME}}]]
 
  | {{ns:6}} = [[Category:Semi-protected images|{{PAGENAME}}]]
 
  | {{ns:4}}
 
  | {{ns:12}} = [[Category:Semi-protected project pages|{{PAGENAME}}]]
 
  | {{ns:100}} = [[Category:Semi-protected portals|{{PAGENAME}}]]
 
  | {{ns:10}} = [[Category:Wikipedia semi-protected templates|{{PAGENAME}}]]
 
  | {{ns:14}} = [[Category:Wikipedia semi-protected categories|{{PAGENAME}}]]
 
  | #default = {{talk other|[[Category:Semi-protected talk pages|{{PAGENAME}}]]|[[Category:Wikipedia semi-protected pages|{{PAGENAME}}]]}}}}
 
|administrator
 
|full
 
|sysop={{#switch: {{{demospace|{{NAMESPACE}}}}}
 
  | {{ns:2}}
 
  | {{ns:3}} = [[Category:Wikipedia protected user and user talk pages|{{PAGENAME}}]]
 
  | {{ns:6}} = [[Category:Protected images|{{PAGENAME}}]]
 
  | {{ns:4}}
 
  | {{ns:12}} = [[Category:Protected project pages|{{PAGENAME}}]]
 
  | {{ns:10}} = [[Category:Wikipedia protected templates|{{PAGENAME}}]]
 
  | {{ns:14}} = [[Category:Wikipedia protected categories|{{PAGENAME}}]]
 
  | #default = {{talk other|[[Category:Protected talk pages]]|[[Category:Wikipedia protected pages|{{PAGENAME}}]]}}}}}}}}}}}</includeonly><noinclude>
 
{{pp-protected|demospace=main|categories=no|reason=[[Lorem ipsum|Lorem ipsum dolor sit amet]]}}
 
{{Documentation}}
 
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
 
 
</noinclude>
 
</noinclude>

Revision as of 17:17, 5 August 2014

Template documentation[create]