Feed The Beast Wiki
Advertisement
This page is a translated version of the page Template:Lua and the translation is 50% complete.

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. Template:Doc/End/pt-br

Advertisement