Difference between revisions of "Fileext"
From Sonic Retro
(Created page with "<includeonly>{{#ifeq:{{#rpos:{{{1|}}}|.}}|-1||{{#sub:{{{1|}}}|{{#expr:{{#rpos:{{{1|}}}|.}}-{{#len:{{{1|}}}}}+1}}}}}}</includeonly><noinclude> This template returns the file ex...") |
BSonirachi (talk | contribs) m (Text replacement - "Category:Sonic Retro templates" to "Category:Templates") |
||
Line 9: | Line 9: | ||
{{fileext|Filename.txt}} | {{fileext|Filename.txt}} | ||
− | [[Category: | + | [[Category:Templates]]</noinclude> |
Latest revision as of 19:20, 1 January 2022
This template returns the file extension of a file link or url.
Example
{{fileext|Filename.txt}}
gives the result:
txt