Plantilla:Rare/doc
Ir a la navegación
Ir a la búsqueda
This template prints a rarity level string, styled as in-game. It can also categorize the page in the respective rarity category.
Usage
{{ rare | <rarity level> | sort = y (optional) | cat/cate/category = y/n (optional) }}
Parámetro | Descripción | Tipo | Estado | |
---|---|---|---|---|
Rarity level | 1 | Numerical (textual for special) rarity level
| Línea | obligatorio |
Sorting | sort | Add meta-information that ensures correct sorting in tables
| Línea | en desuso Sorting is built-in. |
Categorization | cat cate category | Forces categorization of the page in the "Items of rarity x" category
| Línea | opcional |
Es preferible escribir los parámetros en una sola línea.
Notes
- A page that is in mainspace and is not a subpage, unless it is a translation project subpage, will always be categorized.
List of rarity levels
Rarity level (value of first unnamed parameter) |
Output |
---|---|
/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/
|
|
/
|
Options
This template supports options through {{options}} template. All valid options are listed below, see {{options}} for usage and other infomation.
See Template:rare/initOptions for the initial options setting of this template.
Name | Alias | Initial Value | Value Mapping[1] | Note |
---|---|---|---|---|
cat | cate category | (empty) | yes → y on → y n → (empty) no → (empty) off → (empty) |
- ↑ Values with mapping will be stored and loaded as mapped value. Other values without mapping will be stored and loaded as-is.
Categoría:
- Template documentation