Jump to content

Template:Template rating: Difference between revisions

From Fifth Empire Wiki
No edit summary
add tracking for unknown parameters, fix lint errorsclass=skin-invert
Line 4: Line 4:
  | image    = {{#switch: {{lc:{{{1|}}}}}
  | image    = {{#switch: {{lc:{{{1|}}}}}
   | pre-alpha | prealpha | pa | experimental = [[File:Ambox warning blue construction.svg|40x40px|link=|alt=]]
   | pre-alpha | prealpha | pa | experimental = [[File:Ambox warning blue construction.svg|40x40px|link=|alt=]]
   | alpha | a                = [[File:Greek lc alpha icon.svg|class=skin-invert|26x26px|link=|alt=|class=skin-invert]]
   | alpha | a                = [[File:Greek lc alpha icon.svg|class=skin-invert|26x26px|link=|alt=]]
   | 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=]]
   | release | r | general | g | stable = [[File:Green check.svg|40x40px|link=|alt=]]
   | release | r | general | g | stable = [[File:Green check.svg|40x40px|link=|alt=]]
   | broken | br | unstable = [[File:Red x.svg|40x40px|link=|alt=]]
   | broken | br | unstable = [[File:Red x.svg|40x40px|link=|alt=]]
Line 17: Line 17:
   | release | r | general | g | stable = 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.
   | release | r | general | g | stable = 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.
   | 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}}.}}
   }}
   }}
}}<!--
}}<!--
Line 69: Line 68:
       }}
       }}
   | 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]] -->
  | #default                  = {{error|Please specify a <u>valid</u> template rating in {{param|1}}.}}
   }}
   }}
}}<!-- This template will autodetect if module or template is protected, if it is it will display another ombox with this notice: -->{{Template rating/protected|nocat={{{nocat|false}}}|demospace={{{demospace|<noinclude>template</noinclude>}}}{{#if:{{{demopage|}}}|{{!}}demopage={{{demopage|}}}}}<!--  
}}<!-- This template will autodetect if module or template is protected, if it is it will display another ombox with this notice: -->{{Template rating/protected|nocat={{{nocat|false}}}|demospace={{{demospace|<noinclude>template</noinclude>}}}{{#if:{{{demopage|}}}|{{!}}demopage={{{demopage|}}}}}<!--  
-->}}
-->}}
| #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]]
| #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]]
}}<!--
  End infobox, start tracking.
-->{{#invoke:Check for unknown parameters| check
| unknown = {{#if:{{{demopage|}}}{{{demospace|}}}||{{#switch:{{Namespace detect|template=t|module=m}}|m|t=[[Category:Pages using template rating template with unknown parameters|_VALUE_{{FULLPAGENAME}}]]}}}}
| preview = Page using [[Template:Template rating]] with unknown parameter "_VALUE_"
| ignoreblank=y | demospace | demopage | 1 | 2 | 3 | reason | nocat
}}</includeonly><noinclude><!--End switch--><noinclude>
}}</includeonly><noinclude><!--End switch--><noinclude>
{{template rating|release|nocat=true|demospace=template|demopage=Module:String}}
{{template rating|release|nocat=true|demospace=template|demopage=Module:String}}

Revision as of 08:16, 9 September 2025

Template:Template rating/protected