Template:Lua
This template uses Module:Lua, a script written in Lua. Please see wikipedia:wp:Lua and mw:Extension:Scribunto to learn more. |
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
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.
The above documentation is transcluded from Template:Lua/doc. (edit | history)