User blog comment:Grunny/Introducing Lua, for faster and more powerful templates/@comment-3399576-20140714085240/@comment-2093602-20140714101030

Yes, everything you already have will keep working as it does now.

The way Lua works on Wikia (and MediaWiki in general) is through Modules. You basically build your Lua Modules on their own separate pages. You can then use those Modules in your templates (or on pages directly).

I made an example module on the community test wiki, which implements Template:T (also view the code). Note that the module version is faster and supports unlimited parameters (old version supports 20)