سانچہ:Remove file prefix
نظرثانی بتاریخ 10:07، 3 جون 2022ء از ur>Wikivahdat (Changed protection settings for "Template:Remove file prefix": hardly used now ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite)))
فائل:Lua-Logo.svg | 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
See also
String-handling templates (help page) | |||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||
The above documentation is transcluded from سانچہ:Remove file prefix/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.