Template:Rare/doc
Jump to navigation
Jump to search
This template re-creates the Rarity ( rare =
) field from Template:Item infobox, producing a colored Rarity label, but allows it to be placed independently. This template can also add pages to the rarity categories.
Usage
Enter the rarity number as a parameter. Use the same number as you would for the infobox (see rarity).
When used in a sortable table's "rarity" column, add |sort=yes
to each {{rare}} template. This will automatically add a sort key that will correct the rarity column's sort order.
If you want to add pages to the rarity categories, add |cat/cate/category=y/yes
to each {{rare}} template, or add |cat/cate/category
as unname parameter 2.
- Example 1
{{rare|2}}
Produces:
- Example 2
{{rare|q}}
or{{rare|quest}}
Produces:
- With category
{{rare|8|category}}
or{{rare|cat=y|8}}
Color list
See Rarity for details