Template:Remove file prefix/doc

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

Examples

→ 

→ 

→ 

→ 

→ 

→ 

This technically works for any valid namespace, but is rarely needed there:

→ 

It will also strip interwiki links:

→ 

→ 

→ 

However, it will fail for more complicated situations:

→