Board Thread:Lua Help/@comment-24473195-20140820121701/@comment-4522253-20140822183214

The typical use is to invoke from inside a Template:. As an example, one would invoke InfoboxBuilder as a re-usable module from inside different types of Template:Infobox. w:c:templates should be for wikitext templates only, as Lua is totally elective.

If you're interested in some functioning examples, check out American Horror Story Wiki's Modules and Lua-based templates.