الگو:Module rating: تفاوت میان نسخهها
جز (مراجعة واحدة) |
(بدون تفاوت)
|
نسخهٔ ۴ اوت ۲۰۲۳، ساعت ۱۴:۰۶
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.
استفاده
Basic usage:
Without categories: الگو:Pre
If {{Module rating}}
is used outside the Module namespace, an error message is shown: Error: {{Module rating}} must be placed in the Module namespace.
Ratings
The rating should be placed in the first positional parameter. There are five different ratings: pre-alpha، alpha، beta، release و protected. There are also short alias codes for each of the ratings.
الگو:(! class="wikitable"
! Rating
! Aliases
! Result
|-
| pre-alpha
| prealpha
pa
پرونده:OOjs UI icon text-style.svg | This module is rated as. It is unfinished, and may or may not be in active development. It should not be used from article namespace pages. Modules remain pre-alpha until the original editor (or someone who takes one over if it is abandoned for some time) is satisfied with the basic structure. |
|-
| alpha
| a
پرونده:OOjs UI icon bold-a.svg | This module is rated as. It is ready for third party input, and may be used on a few pages to see if problems arise, but should be watched. Suggestions for new features or changes in their input and output mechanisms are welcome. |
|-
| beta
| b
پرونده:OOjs UI icon bold-b.svg | This module is rated as, and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected. |
|-
| release
| r
general
g
پرونده:OOjs UI icon check-constructive.svg | This module is rated as. It has reached a mature form and is thought to be bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other resources as an option for new users to learn. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing. |
|-
| protected
| protect
p
This module is. It is a highly visible module in use by a very large number of pages. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
|- | Anything else or if missing |
|پرونده:OOjs UI icon alert-destructive.svg | Module rating is invalid or not specified. |
|- الگو:!)
TemplateData
ردهها
The template will put modules in one of the following categories, according to the rating specified:
These categories are suppressed on pages ending with /doc. To suppress categories on all pages, you can use the code الگو:Para.
جستارهای وابسته
- {{module-rating categories}}
- Lua
- {{Lua}}