Jump to navigation
Jump to search
Lua is a programming language that can be embedded into wiki templates by employing the "{{#invoke:}}" functionality of Scribunto.
The Lua source code is stored in pages called modules (e.g., Module:Sandbox). These individual modules are then invoked (by code {{#invoke:}}
) on template pages.
Labeling converted templates[edit source]
Please place the {{lua}} template on the documentation subpage of all templates that use Lua. It will help to better communicate Lua usage and template conversions.
See also[edit source]
- StrategyWiki:Lua/Refactor – pages with lots of parser functions that may need to be rewritten in Lua
- Special:PrefixIndex/Module: – tracking of Lua modules can be done by using Special:PrefixIndex
- Category:Templates using Lua modules – groups of Lua-based templates
- Manual:Coding conventions/Lua – standards to improve the readability of code through consistency
- mw:Extension:Scribunto/Lua reference manual