Template:Lua

From Feed The Beast Wiki
Jump to: navigation, search

Lua logo.svg This template uses Module:Lua, a script written in Lua.
Please see wikipedia:wp:Lua and mw:Extension:Scribunto to learn more.
Template-info.png Documentation

This template is used on the documentation pages of templates which invoke Lua modules.

Parameters

  • 1: (Default: {{BASEPAGENAME}}) The main module name without the namespace.
  • data: (Optional) The module that stores data used by the module or template itself, e.g. Mods/list.
  • data2: (Optional) The second module that stores data used by the module or template itself.
  • nocat: (Optional) If set, the main template page is not added to Category:Lua-based templates.


Examples

{{Lua|Mods|data=Mods/list}}

produces

Lua logo.svg This template uses Module:Mods, with data stored in Module:Mods/list.
These scripts are written in Lua. Please see wikipedia:wp:Lua and mw:Extension:Scribunto to learn more.


Technical details

This template automatically adds the template page to Category:Lua-based templates. Set nocat to prevent this.

Other languages:
British English • ‎Deutsch • ‎English • ‎Tagalog • ‎español • ‎français • ‎la .lojban. • ‎latviešu • ‎português do Brasil • ‎čeština • ‎русский • ‎中文(中国大陆)‎ • ‎日本語