Difference between revisions of "Template:FilenameToCaption"

From Disobiki
Jump to navigation Jump to search
Line 6: Line 6:
 
{{FilenameToCaption|Suspiria-1997-French-Poster-1.jpg|Suspiria|1997}}
 
{{FilenameToCaption|Suspiria-1997-French-Poster-1.jpg|Suspiria|1997}}
  
{{#replace:Suspiria-1997-French-Poster-1.jpg|Suspiria-1997-|}}
+
{{#replace:{{#replace:Suspiria-1997-French-Poster-1.jpg|Suspiria-1997-|}}|.jpg|}}
  
 
{{#replace:a|a|b}}
 
{{#replace:a|a|b}}

Revision as of 20:28, 15 October 2013

Usage

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

Suspiria-1997-French-Poster-1

French-Poster-1

b

 {{FilenameToCaption|FILENAME|FILM|YEAR}}