Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Protected/sandbox: Difference between revisions

Template page
Add support for Cascading Protection
Line 1: Line 1:
<onlyinclude>{{#switch:{{{demo-edit|{{PROTECTIONLEVEL:edit}}}}}
<onlyinclude><includeonly>{{#switch:{{{demo-edit|{{#if:{{CASCADINGSOURCES}}|cascade-sysop|{{PROTECTIONLEVEL:edit}}}}}}}
 
| cascade-sysop=
  {{#ifeq:{{{icon}}}|no||<indicator name="protected">[[File:Cascade-protection-shackle-double-chain-link.svg|20px|link=Special:MyLanguage/COM:CASCADE|{{ {{tSwitch|protected/text}}|img-text1}}]]</indicator>}}<!--
-->{{Autotranslate
<!-- Autotranslate parameters: -->
| base = Template:Protected/i18n
| lang = {{int:lang}}
<!-- Template parameters: -->
| protlev = {{{demo-edit|cascade-sysop}}}
| reason  = {{{1|}}}
| note    = {{{note|}}}
}}<!--
-->{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|{{#switch:{{NAMESPACE}}|{{ns:6}}=[[Category:Protected files]]|{{ns:2}}|{{ns:3}}|{{ns:10}}=|[[Category:Protected pages]]}} }}} }}


| sysop=
| sysop=
Line 35: Line 48:
   |{{ifsandbox||<div class="error">{{ {{tSwitch|protected/text}}|error-text}}</div>{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|[[Category:Unprotected pages using protection templates]]}}} }}}}
   |{{ifsandbox||<div class="error">{{ {{tSwitch|protected/text}}|error-text}}</div>{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|[[Category:Unprotected pages using protection templates]]}}} }}}}
   }}
   }}
}}</onlyinclude>
}}</includeonly></onlyinclude>
{{Documentation/sandbox}}
{{Documentation/sandbox}}
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->

Revision as of 16:32, 21 August 2021

Cookies help us deliver our services. By using our services, you agree to our use of cookies.