Difference between revisions of "Template:Thumb"

From WikiDelia
Jump to navigationJump to search
Line 6: Line 6:
 
   --        {{Thumb|DD160123|}} gives no title
 
   --        {{Thumb|DD160123|}} gives no title
 
   --[[Image:{{{1}}}.jpg|thumb|right|{{{2|{{{1}}}}}}]]
 
   --[[Image:{{{1}}}.jpg|thumb|right|{{{2|{{{1}}}}}}]]
   -->[[Image:{{{1}}}{{
+
   -->[[Image:{{{1}}}{{#switch: {{#invoke:String|sub|{{{1}}}|-4}}
#switch: {{#invoke:String|sub|{{{1}}}|-4}}
 
 
  | .jpg
 
  | .jpg
 
  | .pdf
 
  | .pdf

Revision as of 20:43, 23 May 2016

[[Image:{{{1}}}default .jpg|thumb|right|{{{1}}}]]