This template removes the File: and Image: prefixes from file names.

Examples

{{Remove file prefix|Example.svg}} → Example.svg

{{Remove file prefix|File:Example.svg}} → Example.svg

{{Remove file prefix|FILE:Example.svg}} → Example.svg

{{Remove file prefix|Image:Example.svg}} → Example.svg

{{Remove file prefix|IMAGE:Example.svg}} → Example.svg

{{Remove file prefix|Other:Example.svg}} → Other:Example.svg