Template:Thumb: Difference between revisions

From WikiDelia
Jump to navigationJump to search
No edit summary
 
No edit summary
Line 1: Line 1:
<!-- Template for the image of a paper at the start of every DD000000 page.
<!-- Template for thumbnails of larger images with optional alternative title.
    If the alternative title is omitted, the basename of the Image filename is used.
    If the image filename is given without an extension, ".jpg" is automatically added.
   -- Usage: {{Thumb|DD160123}} displays DD160123.jpg with DD160123 as the image title
   -- Usage: {{Thumb|DD160123}} displays DD160123.jpg with DD160123 as the image title
   --        {{Thumb|DD160123|The Impromptu of Muswell Hill}} gives a different title
   --        {{Thumb|DD160123|The Impromptu of Muswell Hill}} gives a different title
   --        {{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}}}{{
#switch: {{#invoke:String|sub|{{{1}}}|-4}}
| .jpg
| .pdf
| .png =
| default .jpg
}}|thumb|right|{{{2|{{{1}}}}}}]]

Revision as of 20:42, 23 May 2016

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