Template:Rare/doc
Jump to navigation
Jump to search
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) }}
Parameter | Description | Type | Status | |
---|---|---|---|---|
Rarity level | 1 | Numerical (textual for special) rarity level
| Line | required |
Sorting | sort | Add meta-information that ensures correct sorting in tables
| Line | deprecated Sorting is built-in. |
Categorization | cat cate category | Forces categorization of the page in the "Items of rarity x" category
| Line | optional |
This template prefers inline formatting of parameters.
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.