Template:Remove file prefix/doc

From BibleStrength

Template:Documentation subpage Template:Lua

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

Examples

{{remove file prefix|Example.svg}} → Script error: No such module "String".

{{remove file prefix|File:Example.svg}} → Script error: No such module "String".

{{remove file prefix|FILE:Example.svg}} → Script error: No such module "String".

{{remove file prefix|Image:Example.svg}} → Script error: No such module "String".

{{remove file prefix|IMAGE:Example.svg}} → Script error: No such module "String".

{{remove file prefix|Other:Example.svg}} → Script error: No such module "String".

See also

Template:Navbox with collapsible groups