Template:Remove file prefix

From MattWiki
Jump to: navigation, search

{{{1}}}

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

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

See also