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