Template talk:Thumbnail

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search

Well, I'm dashed. Apparently, the problem is with the brackets { }, but there's no way to exclude them from the template's body. A rather elegant solution would be to install the EmbedVideo++ extension, this would do the trick. Anyone else have other ideas? Jean Valjean (talk) 17:36, 30 March 2014 (UTC)

The problem is that the <youtube> tag is parsed before the {{{1}}} argument is expanded by the parser (I think). You could just make a {{Thumbnail}} template with the same function as this, and just use it like this: {{Thumbnail|<youtube>iut54uyt86</youtube>}}. That might be useful for other stuff besides videos, as well. ~ BB ~ (T) Icons-flag-us.pngSun, Mar 30 '14 18:52 (UTC)
I'll have a poke at this; I can think of a couple of ways I might be able to fix it. But we probably won't be using EmbedVideo++, as it's out-of-date (and apparently broken for MW > 1.16). ~ BB ~ (T) Icons-flag-us.pngSun, Mar 30 '14 23:42 (UTC)