Template:Rarity index/doc

This template converts a rarity name to a numeric index. It is used for setting Property:Has rarity/index and by Template:Sortablerarity to provide an index number for property sorting by Semantic MediaWiki queries or by sortable tables.