Template:Card image name/doc

Usage
Card image name accepts a card's name and returns the card name with characters stripped per the Image Policy, allowing for automatic generation of image names in templates.