Template:Thumb2: Difference between revisions
From WikiDelia
Jump to navigationJump to search
Martinwguy (talk | contribs) No edit summary |
Martinwguy (talk | contribs) Undo revisions 11895 and 11894 |
||
| (2 intermediate revisions by the same user not shown) | |||
| 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}}}{{#switch: {{#invoke:String|sub|{{{1}}}|-4}} | -->[[Image:{{{1}}}{{#switch:{{#invoke:String|sub|{{{1}}}|-4}}|.gif=|.jpg=|.pdf=|.png=|.jpg}}|thumb|right|{{{2|{{{1}}}}}}]] | ||
}}|thumb|right|{{{2|{{{1}}}}}}]] | |||
Latest revision as of 21:22, 23 May 2016
[[Image:{{{1}}}.jpg|thumb|right|{{{1}}}]]