Template:R/doc

Usage
This template is used to standardize rarity names/abbreviations for templates, so they don't have to implement such a check locally. It currently supports all official rarities and their abbreviations, and is not case-sensitive. The template doesn't return anything when fed unsupported values, which can be used for error-checking.

Basic usage is, outputting the abbreviation for the given rarity. The full name can be outputted instead by using the  parameter, and the link can be omitted via.