Jump to content
Toggle menu
  • 3 articles
  • 75 files
  • 7 users
  • 37.9K 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
sync
Line 1: Line 1:
<onlyinclude><includeonly>{{#switch:{{{demo-edit|{{#if:{{CASCADINGSOURCES}}|cascade-sysop|{{PROTECTIONLEVEL:edit}}}}}}}
{{#switch:{{{demo-edit|{{PROTECTIONLEVEL:edit}}}}}
 
| cascade-sysop=
  {{#switch:{{lc:{{{icon|}}}}}|no|n|0=|#default=<indicator name="protected">[[File:Cascade-protection-shackle-double-chain-link.svg|20px|link=Special:MyLanguage/COM:CASCADE|{{ {{tSwitch|protected/text}}|img-text1}}]]</indicator>}}<!--
-->{{Protection banner/core
| 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=
   {{#switch:{{lc:{{{icon|}}}}}|no|n|0=|#default=<indicator name="protected">[[File:Full-protection-shackle-block.svg|20px|link=Special:MyLanguage/COM:FULL|{{ {{tSwitch|protected/text}}|img-text1}}]]</indicator>}}<!--
   {{#ifeq:{{{icon}}}|no||<indicator name="protected">[[File:Full-protection-shackle-block.svg|20px|link=Special:MyLanguage/Commons:Protection policy|{{{{tSwitch|protected/text}}|img-text1}}]]</indicator>}}
-->{{Protection banner/core
  <table class="protected" style="direction: {{#dir:{{int:Lang}}}}; background:var(--background-color-base,#fff); border:1px solid var(--border-color-base, #aaa); color: inherit; padding:.2em; margin:.5em auto;">
| protlev = {{{demo-edit|sysop}}}
  <tr>
| reason = {{{1|}}}
  <td style="padding-right:4px; padding-left:4px;">[[File:Full-protection-shackle-block.svg|40px|link=COM:P|Protected]]</td>
| note    = {{{note|}}}
  <td>'''{{{{tSwitch|protected/text}}|text1}} {{#if:{{{1|}}}|{{{{tSwitch|protected/text}}|reason|reason={{{1}}}}}|{{{{tSwitch|protected/text}}|default-reason}}}}'''<br /><span style="font-size:90%;">{{{note|{{{{tSwitch|protected/text}}|text2}} }}}</span></td>
}}<!--
  </tr>
-->{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|{{#switch:{{NAMESPACE}}|{{ns:6}}=[[Category:Protected files]]|{{ns:2}}|{{ns:3}}|{{ns:10}}=|[[Category:Protected pages]]}} }}} }}
  </table>{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|{{#switch:{{NAMESPACE}}|{{ns:6}}=[[Category:Protected files]]|{{ns:2}}|{{ns:3}}|{{ns:10}}=|[[Category:Protected pages]]}} }}} }}


| templateeditor=
| templateeditor=
  {{#ifexpr:{{#if:{{{1|}}}{{{note|}}}{{yesno|{{{box|}}}}}|1|0}}and{{#switch:{{lc:{{{icon|}}}}}|no|n|0=1|#default=0}}||<indicator name="protected">[[File:Template-protection-shackle-brackets 2.svg|20px|link=Special:MyLanguage/COM:TP|{{ {{tSwitch|protected/text}}|img-text1}}]]</indicator>}}<!--
<indicator name="protected">[[File:Template-protection-shackle-brackets 2.svg|20px|link=Special:MyLanguage/Commons:Protection policy||{{{{tSwitch|protected/text}}|img-text1}}]]</indicator>
-->{{#if:{{{1|}}}{{{note|}}}{{yesno|{{{box|}}}}}|<!--
 
-->{{Protection banner/core
| editautopatrolprotected =
| protlev = {{{demo-edit|templateeditor}}}
  <indicator name="protected">[[File:Extended-protection-shackle-account-pro-plus.svg|20px|link=Special:MyLanguage/Commons:Protection policy||{{{{tSwitch|protected/text}}|img-text1}}]]</indicator>
| reason  = {{{1|}}}
| note    = {{{note|}}}
}}<!--
-->}}


| autoconfirmed=
| autoconfirmed=
   {{#ifexpr:{{#if:{{{1|}}}{{{note|}}}{{yesno|{{{box|}}}}}|1|0}}and{{#switch:{{lc:{{{icon|}}}}}|no|n|0=1|#default=0}}||<indicator name="protected">[[File:Semi-protection-shackle.svg|20px|link=Special:MyLanguage/COM:SEMI|{{ {{tSwitch|protected/text}}|img-text2}}]]</indicator>}}<!--
   <indicator name="protected">[[File:Semi-protection-shackle.svg|20px|link=Special:MyLanguage/Commons:Protection policy||{{{{tSwitch|protected/text}}|img-text2}}]]</indicator>
-->{{#if:{{{1|}}}{{{note|}}}{{yesno|{{{box|}}}}}|<!--
-->{{Protection banner/core
| protlev = {{{demo-edit|autoconfirmed}}}
| reason  = {{{1|}}}
| note    = {{{note|}}}
}}<!--
-->}}


| #default=
| #default=
   {{#ifeq:{{NAMESPACE}}|{{{demo-ns|{{ns:6}}}}}||
   {{#ifeq:{{NAMESPACE}}|{{{demo-ns|{{ns:6}}}}}
    {{ifsandbox||{{error|message={{ {{tSwitch|protected/text}}|error-text}}|tag=div}}<!--
  | {{#switch:{{{demo-upload|{{PROTECTIONLEVEL:upload}}}}}
    -->{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|[[Category:Unprotected pages using protection templates]]}}}}}}}
 
  }}
    | sysop=
}}{{#ifeq:{{NAMESPACE}}|{{{demo-ns|{{ns:6}}}}}
      <indicator name="protected">[[File:Upload-protection-shackle.svg|20px|link=Special:MyLanguage/Commons:Protection policy||{{{{tSwitch|protected/text}}|img-text3}}]]</indicator>{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|[[Category:Upload protected files]]}}} }}
| {{#switch:{{{demo-upload|{{PROTECTIONLEVEL:upload}}}}}
  | {{#if:{{{demo-edit|{{PROTECTIONLEVEL:edit}}}}}|{{{demo-edit|{{PROTECTIONLEVEL:edit}}}}}|^}} =
    <!-- don't add the upload protection shackle when {{PROTECTIONLEVEL:upload}} == {{PROTECTIONLEVEL:edit}} -->


  | cascade-sysop | sysop | templateeditor =
     | autoconfirmed=
    {{#switch:{{{demo-edit|{{#if:{{CASCADINGSOURCES}}|cascade-sysop|{{PROTECTIONLEVEL:edit}}}}}}}
       <indicator name="protected">[[File:Semi-protection-shackle.svg|20px|link=Special:MyLanguage/Commons:Protection policy||{{{{tSwitch|protected/text}}|img-text4}}]]</indicator>
     | cascade-sysop | sysop=
      <!-- only add the upload protection shackle when not also fully protected from editing -->
    | #default=
       <indicator name="protected-upload">[[File:Upload-protection-shackle.svg|20px|link=Special:MyLanguage/COM:UPLOAD-P||{{ {{tSwitch|protected/text}}|img-text3}}]]</indicator>{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|[[Category:Upload protected files]]}}} }}
    }}


  | autoconfirmed=
    | #default={{ifsandbox|1=|2=
    {{#switch:{{{demo-edit|{{#if:{{CASCADINGSOURCES}}|cascade-sysop|{{PROTECTIONLEVEL:edit}}}}}}}
      <div class="error">{{{{tSwitch|protected/text}}|error-text}}</div>{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|[[Category:Unprotected pages using protection templates]]}}} }}}}
    | cascade-sysop  | sysop
    | templateeditor | autoconfirmed=
      <!-- only add the upload semi-protection shackle when not also protected from editing -->
    | #default=
      <indicator name="protected-upload">[[File:Semi-protection-shackle.svg|20px|link=Special:MyLanguage/COM:UPLOAD-P||{{ {{tSwitch|protected/text}}|img-text4}}]]</indicator>
     }}
     }}
 
   |{{ifsandbox|1=|2=<div class="error">{{{{tSwitch|protected/text}}|error-text}}</div>{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|[[Category:Unprotected pages using protection templates]]}}} }}}}
   | #default={{ifsandbox||{{error|message={{ {{tSwitch|protected/text}}|error-text}}|tag=div}}<!--
    -->{{#if:{{{demo-edit|}}}{{{demo-upload|}}}||{{{category|[[Category:Unprotected pages using protection templates]]}}}}}}}
   }}
   }}
}}</includeonly></onlyinclude>
}}<noinclude>
{{Documentation/sandbox}}
{{documentation}}
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.