Template:LookupCardRarity/doc

Returns a card's rarity given its name