Template:Module rating/doc: Difference between revisions
Template page
More actions
←Created page with '{{TemplateBox |1 =1 |1label =rating |1d-en =One of pre-alpha, alpha, beta or release for quality, or one of protected or semiprotected, or an...' |
Prefix language interwiki links with w: |
||
| (7 intermediate revisions by 5 users not shown) | |||
| Line 1: | Line 1: | ||
{{TemplateBox | {{TemplateBox | ||
| useTemplateData = 1 | |||
|1 =1 | |1 =1 | ||
|1label =rating | |1label =rating | ||
|1d-en =One of pre-alpha, alpha, beta or release for quality, or one of protected or semiprotected, or an approved (see full docs) abbreviation for one of these. | |1d-en =One of pre-alpha, alpha, beta or release for quality, or one of protected or semiprotected, or an approved (see full docs) abbreviation for one of these. | ||
| | |1sv = pre-alpha/alpha/beta/release/protected/semiprotected/sandbox | ||
|1aliases =<!-- List of aliases, separated by / (a slash) --> | |1aliases =<!-- List of aliases, separated by / (a slash) --> | ||
|1type =string | |1type =string | ||
| Line 16: | Line 18: | ||
|2type =boolean | |2type =boolean | ||
|2def = | |2def = | ||
|2av = true | |||
|2stat = optional- | |2stat = optional- | ||
| Line 28: | Line 31: | ||
|name = Module rating | |name = Module rating | ||
|desc = This template is used to rate [[: | |desc = This template is used to rate [[:w:WP:LUA|Lua modules]] by quality. {{Nobold|It is placed at the top of the module's /doc subpage and the layout fits to {{T|Heavily used module}}. It produces a message informing users about the rating system, and it also places the module into a tracking category. There are seven different ratings: '''pre-alpha''', '''sandbox''', '''alpha''', '''beta''', '''release''', '''semiprotected''' and '''protected'''. There are also short alias codes for each of the ratings.}} | ||
|namespace =module | |namespace =module | ||
|usergroup =all | |usergroup =all | ||
|placement = top | |placement = top | ||
| Line 43: | Line 46: | ||
|example-value = | |example-value = | ||
|mustbesubst = | |mustbesubst = | ||
|relieson = | |relieson ={{tl|Protection banner}} | ||
|usage-notes = | |usage-notes = | ||
|shorthand = | |shorthand = | ||
|setscats = | |setscats = | ||
|seealso ={{tl|Lua}} | |seealso ={{tl|Lua}} | ||
{{tl|Copied from Wikipedia}} | |||
|type = | |type = | ||
|i18n-desc = | |i18n-desc = | ||
|i18n-mediawiki-msg = | |i18n-mediawiki-msg = | ||
|i18n-method = | |i18n-method = ext.translate | ||
|example = | |example = | ||
|print = | |print = | ||
}} | }} | ||
== Ratings == | == Ratings == | ||
| Line 65: | Line 65: | ||
! Rating !! Aliases !! Result | ! Rating !! Aliases !! Result | ||
|- | |- | ||
| <code>pre-alpha</code> || <code>prealpha</code><br/><code>pa</code> || {{module rating|pre-alpha|nocat=true|demospace=module}} | | <code>pre-alpha</code> || <code>prealpha</code><br/><code>pa</code> || {{module rating|pre-alpha|nocat=true|demospace=Module}} | ||
|- | |||
| <code>sandbox</code> || <code>s</code> || {{module rating|sandbox|nocat=true|demospace=Module}} | |||
|- | |- | ||
| <code>alpha</code> || <code>a</code> || {{module rating|alpha|nocat=true|demospace= | | <code>alpha</code> || <code>a</code> || {{module rating|alpha|nocat=true|demospace=Module}} | ||
|- | |- | ||
| <code>beta</code> || <code>b</code> || {{module rating|beta|nocat=true|demospace= | | <code>beta</code> || <code>b</code> || {{module rating|beta|nocat=true|demospace=Module}} | ||
|- | |- | ||
| <code>release</code> || <code>r</code><br/><code>general</code><br/><code>g</code> || {{module rating|release|nocat=true|demospace= | | <code>release</code> || <code>r</code><br/><code>general</code><br/><code>g</code> || {{module rating|release|nocat=true|demospace=Module}} | ||
|- | |- | ||
| <code> | | <code>semiprotected</code> || <code>semiprotect</code><br/><code>semi</code> || {{module rating|semi|nocat=true|demospace=Module}} | ||
|- | |- | ||
| <code> | | <code>protected</code> || <code>protect</code><br/><code>p</code> || {{module rating|protected|nocat=true|demospace=Module}} | ||
|- | |- | ||
| ''Anything else or if missing'' || || {{module rating|prdaskidkated|nocat=true|demospace= | | ''Anything else or if missing'' || || {{module rating|prdaskidkated|nocat=true|demospace=Module}} | ||
|- | |- | ||
|} | |} | ||
| Line 85: | Line 87: | ||
The template will put modules in one of the following categories, according to the rating specified: | 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 pre-alpha development]] | ||
* [[:Category:Scribunto module sandboxes]] | |||
* [[:Category:Modules in alpha]] | * [[:Category:Modules in alpha]] | ||
* [[:Category:Modules in beta]] | * [[:Category:Modules in beta]] | ||