Thread:Jens Ingels/@comment-24416108-20141128155015

Hi, Im an admin on Age of Wonders 3 Wikia, and I was hoping to be able to use a script like the one used here for calculation of the champion stats as function of it's level.

Is there a (preferably simple) way to use it on my Wikia that easier than just copy-pasting it all in the hopes its functional? From what I can see in the code, it's pretty much designed to function with the LoL Wikia alone. All I'd need is a way to have an article reader have a dropdown menu to select his choice, and then link that choice to a value(Can be an integer for all intents and purposes, if it matters.). Calculation is already done by the use of Templates, so that part of your code's functionality isn't really required. I don't mind having to put the code in my own Common.js, but I'll still have to know what code. I also don't mind doing some work myself either. 