Wikipedia:Lua

Lua is a programming language that is available via the Scribunto MediaWiki extension on the English Wikipedia. Lua code can now be embedded into wiki templates by using the "{{#invoke:}}" functionality of Scribunto. This extension supports Lua 5.1 as of July 2015.

The Lua source code is stored in pages called modules (e.g., Module:Example). These individual modules are then invoked (by code {{#invoke:<Module name>|<Function name>|(optional) param1 | param2...}}). Example:

Wikitext Result
{{#invoke:Example|hello}} Hello World!

© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search