K (Schützte „Vorlage:Module rating“ ([Bearbeiten=Nur Administratoren erlauben] (unbeschränkt) [Verschieben=Nur Administratoren erlauben] (unbeschränkt))) |
|||
Zeile 2: | Zeile 2: | ||
| type = notice | | type = notice | ||
| image = {{#switch: {{{1|}}} | | image = {{#switch: {{{1|}}} | ||
− | | pre-alpha | prealpha | pa = [[File:Ambox warning blue construction | + | | pre-alpha | prealpha | pa = [[File:{{Image mapper|Ambox warning blue construction}}|40x40px|link=]] |
− | | alpha | a = [[File:Alpha lowercase | + | | alpha | a = [[File:{{Image mapper|Alpha lowercase}}|26x26px|link=]] |
− | | beta | b = [[File:Greek lc beta | + | | beta | b = [[File:{{Image mapper|Greek lc beta}}|40x40px|link=]] |
− | | release | r | general | g = [[File:Yes check | + | | release | r | general | g = [[File:{{Image mapper|Yes check}}|40x40px|link=]] |
− | | protected | protect | p = [[File:Padlock-{{#switch:{{#invoke:Effective protection level|edit|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}}}|autoconfirmed=silver|accountcreator|templateeditor=pink|red}} | + | | protected | protect | p = [[File:{{Image mapper|Padlock-{{#switch:{{#invoke:Effective protection level|edit|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{FULLBASEPAGENAME}}|{{FULLPAGENAME}}}}}}|autoconfirmed=silver|accountcreator|templateeditor=pink|red}}}}|40x40px|link=]] |
}} | }} | ||
| style = | | style = |
Aktuelle Version vom 21. Februar 2018, 09:42 Uhr
Lua-Fehler in Modul:Error, Zeile 36: attempt to call global '_error' (a nil value) |
This template is used to rate Lua modules by quality. It is placed at the top of the module's /doc subpage. It produces a message informing users about the rating system, and it also places the module into a tracking category.
Usage[Quelltext bearbeiten]
Basic usage:
{{module rating|rating}}
Without categories:
{{module rating|rating|nocat=true}}
Ratings[Quelltext bearbeiten]
The rating should be placed in the first positional parameter. There are five different ratings: pre-alpha, alpha, beta, release, and protected. There are also short alias codes for each of the ratings.
Rating | Aliases | Result | ||
---|---|---|---|---|
pre-alpha |
prealpha pa |
| ||
alpha |
a |
| ||
beta |
b |
| ||
release |
r general g |
| ||
protected |
protect p |
|
Categories[Quelltext bearbeiten]
The template will put modules in one of the following categories, according to the rating specified:
- Category:Modules in pre-alpha development
- Category:Modules in alpha
- Category:Modules in beta
- Category:Modules for general use
- Category:Modules subject to page protection
These categories are suppressed on pages ending with /doc. To suppress categories on all pages, you can use the code |nocat=true
.
See also[Quelltext bearbeiten]