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 `box` parameter to always show the edit protection message box
Always show the edit protection message box when `reason` or `note` is provided
Line 28: Line 28:


| templateeditor=
| templateeditor=
   {{#ifexpr:{{yesno|{{{box|}}}|yes=1|no=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>}}<!--
   {{#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>}}<!--
-->{{#if:{{yesno|{{{box|}}}}}|<!--
-->{{#if:{{{1|}}}{{{note|}}}{{yesno|{{{box|}}}}}|<!--
-->{{Autotranslate
-->{{Autotranslate
<!-- Autotranslate parameters: -->
<!-- Autotranslate parameters: -->
Line 42: Line 42:


| autoconfirmed=
| autoconfirmed=
   {{#ifexpr:{{yesno|{{{box|}}}|yes=1|no=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>}}<!--
   {{#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>}}<!--
-->{{#if:{{yesno|{{{box|}}}}}|<!--
-->{{#if:{{{1|}}}{{{note|}}}{{yesno|{{{box|}}}}}|<!--
-->{{Autotranslate
-->{{Autotranslate
<!-- Autotranslate parameters: -->
<!-- Autotranslate parameters: -->

Revision as of 17:17, 21 August 2021

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