Jump to content

Template:Module rating/protected: Difference between revisions

From Wikigama
PS (talk | contribs)
m 1 revision imported
PS (talk | contribs)
m 1 revision imported
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
| image = [[File:{{#switch:{{#invoke:Effective protection level|edit|1={{{demopage|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}}}}}}|autoconfirmed=Semi|extendedconfirmed=Extended|accountcreator|templateeditor=Template|sysop=Full}}-protection-shackle.svg|40x40px|link=|alt=Protected]]
| image = [[File:{{#switch:{{#invoke:Effective protection level|edit|1={{{demopage|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}}}}}}|autoconfirmed=Semi|extendedconfirmed=Extended|accountcreator|templateeditor=Template|sysop=Full}}-protection-shackle.svg|40x40px|link=|alt=Protected]]
| text = This {{Namespace detect|template=template|module=module|demospace={{{demospace|<noinclude>module</noinclude>}}}}} is [[:Category:Modules subject to page protection|subject to page protection]]{{#if:{{{reason|}}}|{{space}}{{{reason|}}}|. It is a [[Wikipedia:High-risk templates|highly visible {{Namespace detect|template=template|module=module|demospace={{{demospace|<noinclude>module</noinclude>}}}}}]] in use by a very large number of pages, or is [[Wikipedia:Substitution|substituted]] very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is [[Wikipedia:Protection policy|protected]] from editing.}}
| text = This {{Namespace detect|template=template|module=module|demospace={{{demospace|<noinclude>module</noinclude>}}}}} is [[:Category:Modules subject to page protection|subject to page protection]]{{#if:{{{reason|}}}|{{space}}{{{reason|}}}|. It is a [[Wikipedia:High-risk templates|highly visible {{Namespace detect|template=template|module=module|demospace={{{demospace|<noinclude>module</noinclude>}}}}}]] in use by a very large number of pages, or is [[Wikipedia:Substitution|substituted]] very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is [[Wikipedia:Protection policy|protected]] from editing.}}
}}{{#if:{{{demopage|}}}{{{demospace|}}}||
{{#ifeq: {{ROOTPAGENAME}} | Sandbox
    | <!-- No category for user sandboxes -->
    | {{#switch: {{SUBPAGENAME}}
        | doc | sandbox =<!-- No category for /doc or /sandbox subpages -->
        | {{#ifeq: {{{nocat|}}} | true
            | <!-- No category if user sets nocat=true -->
            | {{Module other|module=[[Category:Modules subject to page protection|{{PAGENAME}}]]}}
          }}
      }}
    }}
}}
}}
}}
}}

Latest revision as of 18:18, 27 July 2025