Template:Template rating: Difference between revisions
Appearance
adjust protected to show protected text for modules, and put shackle pictures for it not the general use one |
add protected submodule |
||
| Line 44: | Line 44: | ||
}} | }} | ||
}} | }} | ||
}}{{Template rating/protected|nocat={{{nocat|false}}}|demospace={{{demospace|<noinclude> | }}<!-- This 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>module</noinclude>}}}{{#if:{{{demopage|}}}|{{!}}demopage={{{demopage|}}}}}<!-- | ||
-->}}}}<!-- | -->}}}}<!-- | ||
--> | --> | ||
| Line 83: | Line 83: | ||
| #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}}.}} | ||
}} | }} | ||
}} | }}<!-- 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]] | ||
}}<noinclude><!--End switch--><noinclude> | }}<noinclude><!--End switch--><noinclude> | ||
Revision as of 04:45, 9 September 2025
| File:Green check.svg | 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 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 sandbox testing rather than repeated trial-and-error editing. |
Template:Template rating/protected
File:Test Template Info-Icon - Version (2).svg Template documentation[create] [purge]