Difference between revisions of "Template:FilenameToCaption"

From Disobiki
Jump to: navigation, search
 
Line 3: Line 3:
  
 
Given "Suspiria-1997-French-Poster-1.jpg", return "French-Poster-1".
 
Given "Suspiria-1997-French-Poster-1.jpg", return "French-Poster-1".
 
{{FilenameToCaption|Suspiria-1997-French-Poster-1.jpg|Suspiria|1997}}
 
 
{{#replace:{{#replace:{{#replace:Suspiria-1997-French-Poster-1.jpg|Suspiria-1997-|}}|.jpg|}}|.png|}}
 
 
 
<pre>
 
<pre>
 
  {{FilenameToCaption|FILENAME|FILM|YEAR}}
 
  {{FilenameToCaption|FILENAME|FILM|YEAR}}

Latest revision as of 20:31, 15 October 2013

Usage

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

 {{FilenameToCaption|FILENAME|FILM|YEAR}}