Madamblaa:Lua

Lua is a programming language that is integrated into Madam Blå Wiki with Scribunto. Lua source code is run from Modules in their own namespace, and invoked with ; this should done with a wrapper template. For example, if we have a module named "foo", then we should have a template called "Template:Foo" consisting of  to call the module, and use   to use the module on pages.

For certain complex templates, Lua runs many times more efficiently than standard wikitext. It can also perform operations not available otherwise in wikitext. Unlike JavaScript, it is available to all readers, and does not need to be enabled. It is also run during parsing, rather than after.

All templates that directly invoke modules should be marked with the Invokes template.