• Home
  • Random
  • Nearby
  • Log in
  • Settings
Donate Now If Wikipedia is useful to you, please give today.
  • About Wikipedia
  • Disclaimers
Wikipedia

Template:Module rating/sandbox

  • Template
  • Talk
  • Language
  • Watch
  • Edit
< Template:Module rating
This template is currently being merged with Template:Template rating.
This template is being merged with another template, after which it will be redirected or deleted. Please check Wikipedia:Templates for discussion/Holding cell for any additional instructions. The decision to merge this template was made following this discussion initiated on 1 March 2025 at Templates for discussion.
Note: Please review this template's instructions at Wikipedia:Templates for discussion/Holding cell before proceeding with any type of merging.

%5B%5BWP%3ACSD%23G6%7CG6%5D%5D%3A+%5B%5BWikipedia%3ATemplates+for+discussion%2FLog%2F2025+March+1%23Template%3ATemplate+rating%5D%5D{{{CRITERION}}}

Ready for useThis module is rated as ready for general use. It has reached a mature form and is thought to be relatively bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia 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.
This is the template sandbox page for Template:Module rating (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]

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.

Contents

  • 1 Usage
  • 2 Ratings
  • 3 TemplateData
  • 4 Categories
  • 5 See also

Usage

edit

Basic usage:

{{module rating|rating}}

Without categories:

{{module rating|rating|nocat=true}}

If {{Module rating}} is used outside the Module namespace, an error message is displayed instead and will be categorized under Category:Pages with templates in the wrong namespace.

If the documentation subpage is also protected:

{{module rating|rating|reason for documentation protection|action for documentation protection}}

The second and third unnamed arguments correspond to reason and action of {{Pp}} which gets included on the documentation subpage if at least the second unnamed argument is present.

Ratings

edit

The rating should be placed in the first positional parameter. There are six different ratings: pre-alpha, alpha, beta, release, protected, and broken. There are also short alias codes for each of the ratings.

Rating Aliases Result
pre-alpha prealpha
pa
Pre-alphaThis module is rated as pre-alpha. 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
AlphaThis module is rated as alpha. 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
BetaThis module is rated as beta, 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
stable
Ready for useThis module is rated as ready for general use. It has reached a mature form and is thought to be relatively bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia 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.
broken br
unstable
UnstableThis module is rated as unstable. It contains either missing dependencies, compatibility errors, or output errors that make it unusable. Please help improve compatibility of this module, or nominate this module for deletion if it is unfixable.
Anything else or if missing
Module rating is invalid or not specified.

TemplateData

edit
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Module rating in articles based on its TemplateData.

TemplateData for 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.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Rating1

One of 'pre-alpha', 'alpha', 'beta', 'release', 'protected' or 'semiprotected', or an approved (see full docs) abbreviation for one of these. As quality ratings, 'protected' and 'semiprotected' can be considered equivalent to 'release', with editing restrictions.

Suggested values
pre-alpha alpha beta release protected semiprotected
Stringrequired
Do not categorizenocat

Set to true to disable categorization by rating. Normally leave blank.

Auto value
true
Booleanoptional
Fake namespacedemospace

Set to module to force template to display outside that namespace. Demonstration purposes only.

Example
module
Stringoptional

Categories

edit

The template will put modules in one of the following categories, according to the rating specified:

  • Category:Modules in pre-alpha development (44)
  • Category:Modules in alpha (55)
  • Category:Modules in beta (196)
  • Category:Modules for general use (125)
  • Category:Modules subject to page protection (0)

These categories are suppressed on pages ending with /doc. To suppress categories on all pages, you can use the code |nocat=true.

See also

edit
  • {{module-rating categories}}
  • Wikipedia:Lua
  • Wikipedia:Lua requests
  • {{Lua}}
  • {{Template rating}}
The above documentation is transcluded from Template:Module rating/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Module_rating/sandbox&oldid=1290348595"
Last edited on 14 May 2025, at 07:20

Languages

      This page is not available in other languages.

      Wikipedia
      • Wikimedia Foundation
      • Powered by MediaWiki
      • This page was last edited on 14 May 2025, at 07:20 (UTC).
      • Content is available under CC BY-SA 4.0 unless otherwise noted.
      • Privacy policy
      • About Wikipedia
      • Disclaimers
      • Contact Wikipedia
      • Code of Conduct
      • Developers
      • Statistics
      • Cookie statement
      • Terms of Use
      • Desktop