Difference between revisions of "Template:FilenameToCaption"

From Disobiki
Jump to: navigation, 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|}}
+
{{#replace:Suspiria-1997-French-Poster-1.jpg|Suspiria-1997-|}}
  
 
{{#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".

French-Poster-1

French-Poster-1.jpg

b

 {{FilenameToCaption|FILENAME|FILM|YEAR}}