Forum:Wonky Javascript on an Infobox Template

''Wiki in question is the Gosick Wiki on w:c:gosick. Template in question is Template:Infobox-Album. ''

I'm currently having problems with this newly-created template. First of all, the Javascript which is supposed to update the template's preview whenever a value has been given to a parameter doesn't work — and it only happens when I try to enter a value on a parameter that has an empty value; otherwise, the Javascript just loads properly. It's happening on just that template, and I doubt that I did something wrong since the infobox is just in a way a carbon copy of my other templates... which do not have this problem.

Ah, this is so confusing. heraldofmeridian♣ 12:40, May 3, 2011 (UTC)


 * I don't really see any Javascript hooks in the template. Could you be more specific about what you want the template to do or give a link to the script? If you're talking about preview in the Rich Text Editor - it's a buggy tool and it's easier just not to use it when creating templates. Sovq 13:06, May 3, 2011 (UTC)
 * Only partly true - it's actually easier to not use it at all. It causes far to many problems and hinders your ability to do anything other than fix typos. And even then, the MW editor loads faster, so if you're just fixing typos, the RTE is still a burden.
 * Uselessness of the RTE aside, the only script you have is Splarka's countdown timer, and the infobox doesn't have a timer hook - so what script are you talking about?