Difference between revisions of "Template:Basename"

From Knotter
Jump to navigation Jump to search
(Created page with "{{#sub:{{#sub:{{{1|dirname/filename}}}|{{#rpos:{{{1|dirname/filename}}}|/}}}}|1}}")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#sub:{{#sub:{{{1|dirname/filename}}}|{{#rpos:{{{1|dirname/filename}}}|/}}}}|1}}
+
{{#sub:{{{1|dirname/filename?foo}}}|{{#expr:1+{{#rpos:{{{1|dirname/filename?foo}}}|/}}}}|{{#expr:{{#pos:{{{1|dirname/filename?foo}}}?|?}}-1-{{#rpos:{{{1|dirname/filename?foo}}}|/}}}}}}

Latest revision as of 12:01, 24 January 2021

filename