Difference between revisions of "Template:Thumb2"
From WikiDelia
Jump to navigationJump to searchMartinwguy (talk | contribs) |
Martinwguy (talk | contribs) |
||
Line 12: | Line 12: | ||
It doesn't work, I think because the {{#switch is processed too early, | It doesn't work, I think because the {{#switch is processed too early, | ||
before the calling page has supplied the parameter value to switch on. | before the calling page has supplied the parameter value to switch on. | ||
− | -->[[Image:{{{1}}} | + | -->[[Image:{{{1}}}{{#switch:{{#invoke:String|sub|{{{1}}}|-4}}|.gif=|.jpg=|.pdf=|.png=|.jpg}}|thumb|right|{{{2|{{{1}}}}}}]] |
− | |||
− | |||
− | |||
− | |||
− | |||
− | }}|thumb|right|{{{2|{{{1}}}}}}]] |
Revision as of 21:16, 23 May 2016
[[Image:{{{1}}}{{#switch:{{#invoke:String|sub|{{{1}}}|-4}}|.gif=|.jpg=|.pdf=|.png=|.jpg}}|thumb|right|{{{1}}}]]