Template:Card image name/doc

From Yugipedia
Jump to: navigation, search

Usage[edit]

{{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.

Some very old card images may not have been renamed to comply with the image policy yet, meaning card names with certain characters (most commonly the hyphen-minus) may sometimes not be stripped in a way likely to match the cards' actual image names. If you come across such an image, make sure it's tagged with {{OCG-TCG card image}}, which will automatically detect that the image needs renamed, categorize the image, and display a notice with a convenience rename link for movers or administrators to easily rename it.

Examples[edit]

See also[edit]