Vorlage:Module rating: Unterschied zwischen den Versionen

This is [[MediaWiki:Tagline]]. Set to <code>display:none</code> by chameleon skin.
Wechseln zu:Navigation, Suche
K (Schützte „Vorlage:Module rating“ ([Bearbeiten=Nur Administratoren erlauben] (unbeschränkt) [Verschieben=Nur Administratoren erlauben] (unbeschränkt)))
imported>Oetterer
Keine Bearbeitungszusammenfassung
 
Zeile 2: Zeile 2:
  | type      = notice
  | type      = notice
  | image    = {{#switch: {{{1|}}}
  | image    = {{#switch: {{{1|}}}
   | pre-alpha | prealpha | pa = [[File:Ambox warning blue construction.png|40x40px|link=]]
   | pre-alpha | prealpha | pa = [[File:{{Image mapper|Ambox warning blue construction}}|40x40px|link=]]
   | alpha | a                = [[File:Alpha lowercase.png|26x26px|link=]]
   | alpha | a                = [[File:{{Image mapper|Alpha lowercase}}|26x26px|link=]]
   | beta | b                  = [[File:Greek lc beta.png|40x40px|link=]]
   | beta | b                  = [[File:{{Image mapper|Greek lc beta}}|40x40px|link=]]
   | release | r | general | g = [[File:Yes check.png|40x40px|link=]]
   | 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}}.png|40x40px|link=]]
   | 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

Documentation icon 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.

Usage

Basic usage:

{{module rating|rating}}

Without categories:

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

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.

Rating Aliases Result
pre-alpha prealpha
pa
alpha a
beta b
release r
general
g
protected protect
p

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 |nocat=true.

See also