Permanently protected template

Template:Remove file prefix

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search


Template documentation[view] [edit] [history] [purge]

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


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

See also