Difference between revisions of "Template:Module rating"
Jump to navigation
Jump to search
en>ExE Boss |
Mediawiki>ExE Boss (Add error message when module rating is invalid or not specified (match mw:Template:Module rating)) |
||
Line 1: | Line 1: | ||
− | + | <includeonly>{{#ifeq:{{{demospace|{{NAMESPACE}} }}}|{{ns:Module}}|{{ombox | |
− | + | | lang = {{Fallback|Module rating/i18n}} | |
− | + | | type = {{#switch: {{{1|}}} | |
− | | type = notice | + | | pre-alpha | prealpha | pa |
+ | | sandbox | s | ||
+ | | alpha | a | ||
+ | | beta | b | ||
+ | | release | r | general | g | ||
+ | | semiprotected | semiprotect | semi | ||
+ | | protected | protect | p = notice | ||
+ | | #default = serious | ||
+ | }} | ||
| image = {{#switch: {{{1|}}} | | image = {{#switch: {{{1|}}} | ||
− | | pre-alpha | prealpha | pa = [[File: | + | | pre-alpha | prealpha | pa = [[File:Ambox warning blue construction.svg|40x40px|link=]] |
− | | alpha | a | + | | sandbox | s = [[File:Sandbox.svg|40x40px|link=]] |
− | | beta | b | + | | alpha | a = [[File:Alpha lowercase.svg|26x26px|link=]] |
− | | release | r | general | g = [[File: | + | | beta | b = [[File:Greek lc beta.svg|40x40px|link=]] |
− | | protected | protect | p | + | | 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-brackets 2|sysop|#default=Full-protection-shackle-block}}.svg|40x40px|link=|alt=Protected]] | ||
| semiprotected | semiprotect | semi = [[File:Semi-protection-shackle.svg|40x40px|link=]] | | semiprotected | semiprotect | semi = [[File:Semi-protection-shackle.svg|40x40px|link=]] | ||
− | | #default = [[File: | + | | #default = [[File:Ambox warning.svg|40x40px|link=]] |
}} | }} | ||
− | |||
| textstyle = | | textstyle = | ||
| text = {{#switch: {{{1|}}} | | text = {{#switch: {{{1|}}} | ||
− | + | | pre-alpha | prealpha | pa = {{autotranslate|base=Module rating/i18n|pre-alpha}} | |
− | + | | sandbox | s = Sandbox: {{autotranslate|base=Module rating/i18n|pre-alpha}} | |
− | + | | alpha | a = {{autotranslate|base=Module rating/i18n|alpha }} | |
− | + | | beta | b = {{autotranslate|base=Module rating/i18n|beta}} | |
− | + | | release | r | general | g = {{autotranslate|base=Module rating/i18n|release }} | |
− | + | | semiprotected | semiprotect | semi = {{autotranslate|base=Module rating/i18n|semiprotected }} | |
− | + | | protected | protect | p = {{autotranslate|base=Module rating/i18n|protected }} | |
− | + | | #default = {{error|message={{autotranslate|base=Module rating/i18n|invalid-rating}}}} | |
− | + | }} | |
− | + | | style = {{#switch: {{{1|}}} | |
− | + | | release | r | general | g | |
− | + | | semiprotected | semiprotect | semi | |
− | + | | protected | protect | p = background:#f9fff3;<!-- ;border:2px solid #8F8 --> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | }} | + | }} <!-- End of ombox --> |
− | + | {{#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 = [[Category:Modules in pre-alpha development]] | |
− | + | | sandbox | s = [[Category:Scribunto module sandboxes]] | |
− | + | | alpha | a = [[Category:Modules in alpha]] | |
− | + | | beta | b = [[Category:Modules in beta]] | |
− | + | | release | r | general | g = [[Category:Modules for general use]] | |
− | + | | semiprotected | semiprotect | semi | |
− | + | | protected | protect | p = [[Category:Modules subject to page protection]] | |
− | + | }} }} | |
− | + | }}|{{error|message={{autotranslate|base=Module rating/i18n|error}} }} |demospace={{{demospace|}}}}}</includeonly><noinclude> | |
− | + | {{module rating|release|nocat=true|demospace=Module}} | |
− | {{ | + | {{documentation}} |
− | + | <!-- Categories go on the /doc subpage, and interwikis go in Wikidata. --> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | = | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</noinclude> | </noinclude> |
Revision as of 05:13, 6 August 2021
40x40px | This module 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. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing. |
This documentation is transcluded from Template:Module rating/doc.