FANDOM


Lua-logo-nolabel

Lua is lightweight programming language[1] implemented on FANDOM with a version of the Scribunto extension. Lua code can be written or found in the Module: namespace, and can be used in templates with the {{#invoke:...}} parser function.

Global modules are stored on the Developers Wiki, and can be loaded elsewhere with ease.

Lua templating vs Wikitext templating

Lua has considerable advantages over wikitext because it is a full programming language. This is unlike wikitext that relies on parser functions to give it some programming functions. Lua benefits include:

  • Better performance for templates
  • Separate re-usable modules
  • Reduced complexity (in some cases)

Lua improves portability by allowing modules that wouldn't work otherwise due to limits[2] placed in templates and pages.

See also

On the FANDOM Developers Wiki

External links

References

  1. Wikipedia:Lua
  2. Wikipedia:Template_limits

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.