This page shows how to use Lua from the Wikia. It uses Template:Example which calls Module:Example. The Template is written in wikicode whereas the Module is written in Lua. See the source code for this page. Also see the documentation for the template.
Hello World!
These were your arguments:
This is replacement text.
Hello World!
These were your arguments: 1=one, 2=Positional arg number two, namedArg=This argument is named instead of positional.,