Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.

Responsive image


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!

Previous Page Next Page