Template:Pp-protected: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(Fix insertion of demolevel parameter.)
m (55 revisions imported from wikipedia:Template:Pp-protected)
 
(14 intermediate revisions by 8 users not shown)
Line 1: Line 1:
#REDIRECT [[Template:Pp]]
<includeonly>{{pp-meta
|type={{#switch:{{{demolevel|{{PROTECTIONLEVEL:edit}}}}}
|semi
|autoconfirmed=semi
|administrator
|full
|sysop=full
|#default=full<!--fallback value-->}}
|small={{{small|}}}
|demospace={{{demospace|}}}
|{{#ifeq:{{{demolevel|1}}}{{{demolevel|2}}}|12||demolevel={{{demolevel|}}}}}<!--applies demolevel only if it's defined-->
|expiry={{{expiry|}}}
|dispute=no
|reason={{#if:{{{reason|}}}|&#32;because {{lcfirst:{{{reason|}}}}}}}
|categories={{{category|
{{#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]]|[[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]]
| {{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}}]]}}}}}}{{#ifexpr:{{#if:{{{expiry|}}}|{{#time:U|today}}>{{#time:U|{{{expiry}}}}}|0}}|[[Category:Wikipedia protected pages with expiry expired|{{PAGENAME}}]]}}}}}}}</includeonly><noinclude>
{{pp-protected|demospace=main|categories=no|reason=[[Lorem ipsum|Lorem ipsum dolor sit amet]]}}


{{Rcat shell|
{{pp-template|small=yes}}
{{template doc}}
{{R from move}}
{{R from long name}}
<!-- Add categories and inter-wikis to the /doc subpage, not here! -->
{{R with history}}
</noinclude>
{{R for convenience}}
}}
[[Category:Top icon protection templates]]

Latest revision as of 14:44, January 30, 2022

Redirect to: