Jump to content

Template:Template rating: Difference between revisions

From Fifth Empire Wiki
CE
Merge with Template:Template rating/sandbox, please see talk for merger discussion.
Line 1: Line 1:
{{Template other|{{ombox
{{#switch:{{Namespace detect|template=t|module=m|demospace={{{demospace|<noinclude>template</noinclude>}}}}}
|m = <!-- ***** IF IN MODULE NAMESPACE ***** -->{{#ifeq:{{SUBPAGENAME}}|doc|<!--do not show protection level of the module on the doc page, use the second and optionally third parameter if the doc page is also protected -->{{#if:{{{2|}}}|{{Pp|{{{2}}}|action={{{3|}}}}}}}|{{ombox
| type      = notice
| image    = {{#switch: {{{1|}}}
  | pre-alpha | prealpha | pa | experimental = [[File:Ambox warning blue construction.svg|40x40px|link=|alt=Pre-alpha]]
  | alpha | a                = [[File:Greek lc alpha icon.svg|26x26px|link=|alt=Alpha|class=skin-invert]]
  | beta | b                  = [[File:Greek lc beta icon.svg|40x40px|link=|alt=Beta|class=skin-invert]]
  | release | r | general | g | stable
  | protected | protect | p
  | semiprotected | semiprotect | semi = [[File:Green check.svg|40x40px|link=|alt=Ready for use]]
  | broken | br | unstable = [[File:Red x.svg|40x40px|link=|alt=Unstable]]
  }}
| style    =
| textstyle =
| text      = {{#switch: {{{1|}}}
  | pre-alpha | prealpha | pa | experimental = This [[Wikipedia:Module|module]] is rated as [[:Category:Modules in pre-alpha development|pre-alpha]]. It is incomplete and may or may not be in active development. Do not use it in [[Wikipedia:Article namespace|article namespace]] pages. A module remains in pre-alpha until its developer, or another editor who adopts it if it is abandoned for some time, considers the basic structure complete.
  | alpha | a                = This [[Wikipedia:Module|module]] is rated as [[:Category:Modules in alpha|alpha]]. It is ready for limited use and third-party feedback. It may be used on a small number of pages, but should be monitored closely. Suggestions for new features or adjustments to input and output are welcome.
  | beta | b                  = This [[Wikipedia:Module|module]] is rated as [[:Category:Modules in beta|beta]]. It is considered ready for widespread use, but as it is still relatively new, it should be applied with some caution to ensure results are as expected.
  | release | r | general | g | stable
  | protected | protect | p
  | semiprotected | semiprotect | semi = This [[Wikipedia:Module|module]] is rated as [[:Category:Modules for general use|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 [[Wikipedia:Template sandbox and test cases|sandbox testing]] rather than repeated trial-and-error editing.
  | broken | br | unstable = This [[Wikipedia:Module|module]] is rated as [[:Category:Unstable modules|unstable]]. It has missing dependencies, compatibility issues, or output errors that make it unusable. Editors are encouraged to [[Special:EditPage/{{FULLPAGENAME}}|improve its compatibility]] or [[Wikipedia:Templates for discussion|nominate it for deletion]] if it cannot be fixed.
  | #default                  = {{error|Please specify a <u>valid</u> module rating in {{param|1}}.}}
  }}
}}<!--
-->{{#if:{{{demopage|}}}{{{demospace|}}}||
{{#ifeq: {{FULLPAGENAME}} | 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 -->
            | {{#switch: {{{1|}}}
                | pre-alpha | prealpha | pa | experimental = [[Category:Modules in pre-alpha development|{{PAGENAME}}]]
                | alpha | a = [[Category:Modules in alpha|{{PAGENAME}}]]
                | beta | b = [[Category:Modules in beta|{{PAGENAME}}]]
                | release | r | general | g | stable = [[Category:Modules for general use|{{PAGENAME}}]]
                | broken | br | unstable = [[Category:Unstable modules|{{PAGENAME}}]]
              }}
          }}
      }}
    }}
}}{{Template rating/protected|nocat={{{nocat|false}}}|demospace={{{demospace|<noinclude>template</noinclude>}}}{{#if:{{{demopage|}}}|{{!}}demopage={{{demopage|}}}}}<!--
-->}}}}<!--
-->
|t= <!-- ***** IF IN TEMPLATE NAMESPACE ***** -->{{ombox
  | type      = notice
  | type      = notice
  | image    = {{#switch: {{{1|<noinclude>g</noinclude>}}}
  | image    = {{#switch: {{{1|<noinclude>g</noinclude>}}}
   | pre-alpha | prealpha | pa = [[File:Ambox warning blue construction.svg|40x40px|link=]]
   | pre-alpha | prealpha | pa | experimental = [[File:Ambox warning blue construction.svg|40x40px|link=]]
   | alpha | a                = [[File:Greek lc alpha icon.svg|26x26px|class=skin-invert|link=]]
   | alpha | a                = [[File:Greek lc alpha icon.svg|26x26px|link=]]
   | beta | b                  = [[File:Greek lc beta  icon.svg|40x40px|class=skin-invert|link=]]
   | beta | b                  = [[File:Greek lc beta  icon.svg|40x40px|link=]]
   | mock-up | mockup | m      = [[File:Greek lc mu.svg|56x56px|class=skin-invert|link=]]
   | mock-up | mockup | m      = [[File:Greek lc mu.svg|56x56px|link=]]
   | release | r | general | g = [[File:Green check.svg|40x40px|link=]]
   | release | r | general | g = [[File:Green check.svg|40x40px|link=]]
   | protected | protect | p  = [[File:{{#switch:{{#invoke:Effective protection level|edit|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}}}|autoconfirmed=Semi-protection-shackle|accountcreator|templateeditor=Template-protection-shackle|Full-protection-shackle}}.svg|40x40px|link=]]
   | protected | protect | p  = [[File:{{#switch:{{#invoke:Effective protection level|edit|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}}}|autoconfirmed=Semi-protection-shackle|accountcreator|templateeditor=Template-protection-shackle|Full-protection-shackle}}.svg|40x40px|link=]]
Line 12: Line 57:
  | textstyle =  
  | textstyle =  
  | text      = {{#switch: {{{1|<noinclude>g</noinclude>}}}
  | text      = {{#switch: {{{1|<noinclude>g</noinclude>}}}
   | pre-alpha | prealpha | pa = This template is rated as [[:Category:Templates in pre-alpha development|pre-alpha]]. It is unfinished and may or may not be in active development. It should not be used in article namespace pages. Templates remain pre-alpha until the original editor (or someone who takes one over if it is abandoned for some time) is satisfied with the basic structure.<!--
   | pre-alpha | prealpha | pa | experimental = This template is rated as [[:Category:Templates in pre-alpha development|pre-alpha]]. It is incomplete and may or may not be in active development. Do not use it in [[Wikipedia:Article namespace|article namespace]] pages. A template remains in pre-alpha until its developer, or another editor who adopts it if it is abandoned for some time, considers the basic structure complete.<!--
   -->{{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
   -->{{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
       | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Templates in pre-alpha development|{{PAGENAME}}]] }}
       | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Templates in pre-alpha development|{{PAGENAME}}]] }}
       }}
       }}
   | alpha | a                = This template is rated as [[:Category:Templates in alpha|alpha]]. It is ready for third-party input and may be used on a few pages to see if problems arise, but should be watched. Suggestions for new features or changes in their input and output mechanisms are welcome.<!--
   | alpha | a                = This template is rated as [[:Category:Templates in alpha|alpha]]. It is ready for limited use and third-party feedback. It may be used on a small number of pages, but should be monitored closely. Suggestions for new features or adjustments to input and output are welcome.<!--
   -->{{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
   -->{{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
       | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Templates in alpha|{{PAGENAME}}]] }}
       | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Templates in alpha|{{PAGENAME}}]] }}
       }}
       }}
   | beta | b                  = This template is rated as [[:Category:Templates in beta|beta]] and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected.<!--
   | beta | b                  = This template is rated as [[:Category:Templates in beta|beta]]. It is considered ready for widespread use, but as it is still relatively new, it should be applied with some caution to ensure results are as expected.<!--
   -->{{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
   -->{{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
       | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Templates in beta|{{PAGENAME}}]] }}
       | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Templates in beta|{{PAGENAME}}]] }}
       }}
       }}
   | mockup | mock-up | m      = This template is rated as [[:Category:Templates in mock-up|mock-up]]. The "mock-up" rating applies to templates that serve as a proof-of-concept demonstration for new functionality or features. These templates are designed to showcase potential new capabilities or design concepts, but they are not intended for long-term use in their current form. A mock-up template is typically a first step in the development process, allowing developers and users to explore the viability and utility of a new idea before it is fully implemented. Mock-ups should be monitored carefully, as they may undergo frequent updates or be retired altogether once the final design is ready for implementation in Lua. It is ready for third-party input and may be used on a few pages to see if problems arise. Users are encouraged to provide feedback on the mock-up's functionality on the Template talk page to aid in its development.<!--
   | mockup | mock-up | m      = This template is rated as [[:Category:Templates in mock-up|mock-up]]. A "mock-up" is a proof-of-concept demonstration for new functionality or features. Such templates are intended to showcase potential capabilities or design concepts, but are not meant for long-term use in their current form. They may undergo frequent updates or be retired once a final implementation (often in Lua) is developed. Mock-ups may be tested on a limited number of pages, and users are encouraged to provide feedback on the template's talk page to support further development.<!--
   -->{{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
   -->{{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
       | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Templates in mockup |{{PAGENAME}}]] }}
       | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Templates in mockup|{{PAGENAME}}]] }}
       }}
       }}
   | release | r | general | g = This template is rated as ready for general use. It has reached a mature form and is thought to be bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia resources as an option for new users to learn. To reduce server load and bad output, it should be improved by [[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]] in use by a very large number of pages, or is [[WP:SUBST|substituted]] very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is [[WP:PROTECT|protected]] from editing.<!--
   | 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.<!--
   -->{{#switch: {{SUBPAGENAME}}|doc|sandbox=<!-- No category for /doc or /sandbox subpages -->
   -->{{#switch: {{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}}]] }}
       | {{#ifeq: {{{nocat|}}} | true | <!-- No category if user sets nocat=true --> | [[Category:Wikipedia template-protected templates|{{PAGENAME}}]] }}
       }}
       }}
   | #default                  = {{error|Template rating is invalid or not specified.}}
   | #default                  = {{error|Please specify a <u>valid</u> template rating in {{param|1}}.}}
   }}
   }}
}}|{{error|Error: {{tl|Template rating}} must be placed in the Template namespace.}}|demospace={{{demospace|<noinclude>template</noinclude>}}}}}<noinclude>
}}
 
| #default = <!-- ***** Error not in Template or Module namespaces ***** -->{{error|Error: {{tl|Template rating}} can only be used on pages in the Template or Module namespaces.}} [[Category:Pages with templates in the wrong namespace]]
}}<noinclude><!--End switch--><noinclude>
{{documentation}}
{{documentation}}
<!-- Categories go on the /doc subpage, and interwikis go in Wikidata. -->
<!-- Categories go on the /doc subpage, and interwikis go in Wikidata. -->
</noinclude>
</noinclude>

Revision as of 02:59, 9 September 2025