Help:Lua is a short introduction to the Lua modules behind some templates.
What Lua does here[edit source]
Some templates need calculations or logic that wikitext alone cannot express: counting, sorting, formatting dates, building tables from parameters. Those templates call a module, a page in the Module: namespace written in the Lua programming language, through {{#invoke:Module name|function}}.
For editors[edit source]
You use a Lua-backed template exactly like any other template; the complexity is hidden. If a page shows a script error, the problem is in the module or in the parameters passed to it: report it on the template's talk page with a link to the broken page, rather than trying to fix the article.