Difference between revisions of "Template:Remove file prefix"
From CryptoWiki
wiki_crypto>Primefac m (Changed protection level for "Template:Remove file prefix": high-risk template with 4000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 08:47, 2 January 2022
{{{1}}}
This template uses Lua: |
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