Difference between revisions of "Template:Module rating"
Jump to navigation
Jump to search
m (1 revision imported) |
m (1 revision imported) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{Module | + | <includeonly>{{#ifeq:{{{demospace|{{NAMESPACE}} }}}|{{ns:Module}}|{{ombox |
| type = notice | | type = notice | ||
| image = {{#switch: {{{1|}}} | | image = {{#switch: {{{1|}}} | ||
− | | pre-alpha | prealpha | pa = [[File:Ambox warning blue construction.svg|40x40px|link= | + | | pre-alpha | prealpha | pa = [[File:Ambox warning blue construction.svg|40x40px|link=]] |
− | | alpha | a | + | | alpha | a = [[File:Alpha lowercase.svg|26x26px|link=]] |
− | | beta | b | + | | beta | b = [[File:Greek lc beta.svg|40x40px|link=]] |
− | | release | r | general | g = [[File:Green check.svg|40x40px|link= | + | | release | r | general | g = [[File:Green check.svg|40x40px|link=]] |
− | | protected | protect | p | + | | protected | protect | p = [[File:Full-protection-shackle-block.svg|40x40px|link=]] |
− | | semiprotected | semiprotect | semi =[[File:Semi-protection-shackle.svg|40x40px|link= | + | | semiprotected | semiprotect | semi =[[File:Semi-protection-shackle.svg|40x40px|link=]] |
}} | }} | ||
| style = | | style = | ||
| textstyle = | | textstyle = | ||
| text = {{#switch: {{{1|}}} | | text = {{#switch: {{{1|}}} | ||
− | + | | pre-alpha | prealpha | pa = {{Module rating/i18n|pre-alpha}} | |
− | + | | alpha | a = {{Module rating/i18n|alpha }} | |
− | + | | beta | b = {{Module rating/i18n|beta}} | |
− | + | | release | r | general | g = {{Module rating/i18n|release }} | |
− | + | | protected | protect | p = {{Module rating/i18n|protected }} | |
− | + | | semiprotected | semiprotect | semi = {{Module rating/i18n|semiprotected }} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} | ||
− | }}|{{error|Error: {{tl|Module rating}} must be placed in the Module namespace.}} | + | }} <!-- End of ombox --> |
− | {{module rating|release|nocat=true|demospace= | + | {{#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]] | ||
+ | | 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|Error: {{tl|Module rating}} must be placed in the Module namespace.}} |demospace={{{demospace|}}}}}</includeonly><noinclude> | ||
+ | {{module rating|release|nocat=true|demospace=Module}} | ||
{{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> |
Latest revision as of 22:19, 9 February 2019
40x40px |
Lua error in mw.lua at line 307: frame:expandTemplate: a title is required.