Difference between revisions of "Template:FilenameToCaption"

From Disobiki
Jump to navigation Jump to search
Line 1: Line 1:
<includeonly>{{{2}}}-{{{3}}}-<small>{{#replace:{{#replace:{{{1}}}|{{{2}}}-{{{3}}}-||}}|.jpg|}}</small></includeonly><noinclude>
+
<includeonly><small>{{#replace:{{#replace:{{{1}}}|{{{2}}}-{{{3}}}-||}}|.jpg|}}</small></includeonly><noinclude>
 
==Usage==
 
==Usage==
  

Revision as of 13:43, 15 August 2010

Usage

Given "Suspiria-1997-French-Poster-1.jpg", return "French-Poster-1".

 {{FilenameToCaption|FILENAME|FILM|YEAR}}