Vorlage:Module rating/en

Aus Antiklopedia
Zur Navigation springen Zur Suche springen

<languages /> {{#switch: | = {{#switch:

 {{#if:module
 | module    
 | {{#ifeq:Vorlage|Modul
   | module
   | other
   }}
 }}

| module =

| other | #default = Vorlage:Error }} | #default=

 {{#switch:

| = {{#switch:

 {{#if:
 |     
 | {{#ifeq:Vorlage|Modul
   | module
   | other
   }}
 }}

| module =

| other | #default = Vorlage:Error }} | #default=

 Lua-Fehler: expandTemplate: template loop detected

}} }} Lua-Fehler in Modul:TNT, Zeile 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab{{#if: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

Basic usage: Vorlage:Pre

Without categories: Vorlage:Pre

If {{[[{{#if:|{{{SISTER}}}Template|Vorlage}}:Module rating|Module rating]]{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||{{{5}}}}}{{#if:||{{{6}}}}}{{#if:||{{{7}}}}}{{#if:||...}}}} is used outside the Module namespace, an error message is shown: {{#switch:<translate></translate> | = {{#switch:

 {{#if:
 |     
 | {{#ifeq:Vorlage|Modul
   | module
   | other
   }}
 }}

| module =

| other | #default = Vorlage:Error }} | #default=

 {{#switch:

| = {{#switch:

 {{#if:
 |     
 | {{#ifeq:Vorlage|Modul
   | module
   | other
   }}
 }}

| module =

| other | #default = Vorlage:Error }} | #default=

 Lua-Fehler: expandTemplate: template loop detected

}} }}

Ratings

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.

Vorlage:(| class="wikitable" ! Rating !! Aliases !! Result |- | pre-alpha || prealpha
pa || {{#switch:<translate></translate> | = {{#switch:

 {{#if:Module
 | module    
 | {{#ifeq:Vorlage|Modul
   | module
   | other
   }}
 }}

| module =

| other | #default = Vorlage:Error }} | #default=

 {{#switch:

| = {{#switch:

 {{#if:Module
 | module    
 | {{#ifeq:Vorlage|Modul
   | module
   | other
   }}
 }}

| module =

| other | #default = Vorlage:Error }} | #default=

 Lua-Fehler: expandTemplate: template loop detected

}} }} |- | alpha || a || {{#switch:<translate></translate> | = {{#switch:

 {{#if:module
 | module    
 | {{#ifeq:Vorlage|Modul
   | module
   | other
   }}
 }}

| module =

| other | #default = Vorlage:Error }} | #default=

 {{#switch:

| = {{#switch:

 {{#if:module
 | module    
 | {{#ifeq:Vorlage|Modul
   | module
   | other
   }}
 }}

| module =

| other | #default = Vorlage:Error }} | #default=

 Lua-Fehler: expandTemplate: template loop detected

}} }} |- | beta || b || {{#switch:<translate></translate> | = {{#switch:

 {{#if:module
 | module    
 | {{#ifeq:Vorlage|Modul
   | module
   | other
   }}
 }}

| module =

| other | #default = Vorlage:Error }} | #default=

 {{#switch:

| = {{#switch:

 {{#if:module
 | module    
 | {{#ifeq:Vorlage|Modul
   | module
   | other
   }}
 }}

| module =

| other | #default = Vorlage:Error }} | #default=

 Lua-Fehler: expandTemplate: template loop detected

}} }} |- | release || r
general
g || {{#switch:<translate></translate> | = {{#switch:

 {{#if:module
 | module    
 | {{#ifeq:Vorlage|Modul
   | module
   | other
   }}
 }}

| module =

| other | #default = Vorlage:Error }} | #default=

 {{#switch:

| = {{#switch:

 {{#if:module
 | module    
 | {{#ifeq:Vorlage|Modul
   | module
   | other
   }}
 }}

| module =

| other | #default = Vorlage:Error }} | #default=

 Lua-Fehler: expandTemplate: template loop detected

}} }} |- | protected || protect
p || {{#switch:<translate></translate> | = {{#switch:

 {{#if:module
 | module    
 | {{#ifeq:Vorlage|Modul
   | module
   | other
   }}
 }}

| module =

| other | #default = Vorlage:Error }} | #default=

 {{#switch:

| = {{#switch:

 {{#if:module
 | module    
 | {{#ifeq:Vorlage|Modul
   | module
   | other
   }}
 }}

| module =

| other | #default = Vorlage:Error }} | #default=

 Lua-Fehler: expandTemplate: template loop detected

}} }} |- | Anything else or if missing || || {{#switch:<translate></translate> | = {{#switch:

 {{#if:module
 | module    
 | {{#ifeq:Vorlage|Modul
   | module
   | other
   }}
 }}

| module =

| other | #default = Vorlage:Error }} | #default=

 {{#switch:

| = {{#switch:

 {{#if:module
 | module    
 | {{#ifeq:Vorlage|Modul
   | module
   | other
   }}
 }}

| module =

| other | #default = Vorlage:Error }} | #default=

 Lua-Fehler: expandTemplate: template loop detected

}} }} |- |Vorlage:)

Categories

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 |{{SAFESUBST:#if:nocat|nocat=}}true.

See also

[[Category:Template documentation pages{{#translation:}}]] }}