Help:Lua

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search
This page is a help page
It is meant to detail processes or procedures of some aspect or aspects of The Sims Wiki's norms and practices. It is not a policy page.

Lua is a programming language that is designed to be fast, portable, extensible, and easy to learn. Lua can be used on templates on The Sims Wiki thanks to the Scribunto extension.

Lua code is stored in the Module namespace, and is called through the use of the #invoke parser function.

The Scribunto extension provides a few core libraries for Lua use on MediaWiki-based sites. You can find a list of them in the Lua reference manual.

See also[edit source]