Jump to content

Template:Template rating: Difference between revisions

From Fifth Empire Wiki
add protected submodule
deprecate
Line 7: Line 7:
   | beta | b                  = [[File:Greek lc beta icon.svg|class=skin-invert|40x40px|link=|alt=|class=skin-invert]]
   | beta | b                  = [[File:Greek lc beta icon.svg|class=skin-invert|40x40px|link=|alt=|class=skin-invert]]
   | release | r | general | g | stable = [[File:Green check.svg|40x40px|link=|alt=]]
   | release | r | general | g | stable = [[File:Green check.svg|40x40px|link=|alt=]]
   | protected | protect | p = [[File:{{#switch:{{#invoke:Effective protection level|edit|{{#switch:{{lc:{{SUBPAGENAME}}}}|doc|sandbox={{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}}}|autoconfirmed=Semi-protection-shackle|accountcreator|templateeditor=Template-protection-shackle|Full-protection-shackle}}.svg|40x40px|link=|alt=]]
   | protected | protect | p | semiprotected | semiprotect | semi = <!-- This was an old feature, but the template now autodetects if page is protected, and displays a notice, this happens lower down -->
  | semiprotected | semiprotect | semi = [[File:{{#switch:{{#invoke:Effective protection level|edit|{{#switch:{{lc:{{SUBPAGENAME}}}}|doc|sandbox={{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}}}|autoconfirmed=Semi-protection-shackle|accountcreator|templateeditor=Template-protection-shackle|Full-protection-shackle}}.svg|40x40px|link=|alt=]]
  | broken | br | unstable = [[File:Red x.svg|40x40px|link=|alt=]]
   }}
   }}
  | style    =  
  | style    =  
Line 55: Line 53:
   | mock-up | mockup | m      = [[File:Greek lc mu.svg|class=skin-invert|56x56px|link=|alt=]]
   | mock-up | mockup | m      = [[File:Greek lc mu.svg|class=skin-invert|56x56px|link=|alt=]]
   | release | r | general | g = [[File:Green check.svg|40x40px|link=|alt=]]
   | release | r | general | g = [[File:Green check.svg|40x40px|link=|alt=]]
   | protected | protect | p  = [[File:{{#switch:{{#invoke:Effective protection level|edit|{{#switch:{{lc:{{SUBPAGENAME}}}}|doc|sandbox={{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}}}|autoconfirmed=Semi-protection-shackle|accountcreator|templateeditor=Template-protection-shackle|Full-protection-shackle}}.svg|40x40px|link=|alt=]]
   | protected | protect | p  = <!-- This was an old feature, but the template now autodetects if page is protected, and displays a notice, this happens lower down -->
   }}
   }}
  | style    =  
  | style    =  
Line 77: Line 75:
       }}
       }}
   | release | r | general | g = This template is rated as ready for general use. It has reached a mature state, is considered relatively stable and bug-free, and may be used wherever appropriate. It can be mentioned on [[Wikipedia:Help pages|help pages]] and other Wikipedia resources as an option for new users. To minimise server load and avoid disruptive output, improvements should be developed through [[WP:TESTCASES|sandbox testing]] rather than repeated trial-and-error editing.<!-- Category deleted per [[Wikipedia:Categories_for_discussion/Log/2021_October_17#Category%3ATemplates_for_general_use]] -->
   | release | r | general | g = This template is rated as ready for general use. It has reached a mature state, is considered relatively stable and bug-free, and may be used wherever appropriate. It can be mentioned on [[Wikipedia:Help pages|help pages]] and other Wikipedia resources as an option for new users. To minimise server load and avoid disruptive output, improvements should be developed through [[WP:TESTCASES|sandbox testing]] rather than repeated trial-and-error editing.<!-- Category deleted per [[Wikipedia:Categories_for_discussion/Log/2021_October_17#Category%3ATemplates_for_general_use]] -->
   | protected | protect | p  = This template is [[:Category:Wikipedia template-protected templates|subject to page protection]]. It is a [[Wikipedia:High-risk templates|highly visible template]] because it is used on a very large number of pages or is [[WP:SUBST|substituted]] frequently. To prevent widespread disruption or server load, it is [[WP:PROTECT|protected]] from editing.<!--
   | protected | protect | p  = <!-- This was an old feature, but the template now autodetects if page is protected, and displays a notice, this happens lower down -->
  -->{{#switch: {{lc:{{SUBPAGENAME}}}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
      | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Wikipedia template-protected templates|{{PAGENAME}}]] }}
      }}
   | #default                  = {{error|Please specify a <u>valid</u> template rating in {{param|1}}.}}
   | #default                  = {{error|Please specify a <u>valid</u> template rating in {{param|1}}.}}
   }}
   }}

Revision as of 04:49, 9 September 2025

Template:Template rating/protected