This is the documentation page for Module:Lua
Lua is for calling lua functions, that do not fit specifically in other modules, on articles.
On this Wiki, Lua is used in:
Usage
Direct Invocation
{{#invoke:Lua|function|input1|input2|...}}
Documentation
Package items
lua.getArgs(frame, options)(function)- For getting frame or parent arguments.
- Parameters:
frameThe input arguments (table)optionsOptions for getting the args (table)
- Returns: The arguments (table)
lua.Raw(frame)(function)- Returns raw wikitext.
- Parameter:
frame(table) - Returns: Unrendered wikitext (string)
lua.Tabber(frame)(function)- Makes a tabber out of a list of pages.
- Parameter:
frame(table) - Returns: Rendered wikitext of tabber elements (string)
lua.SubTabber(frame)(function)- Makes a tabber out of all subpages to a page.
- Parameter:
frame(table) - Returns: Rendered wikitext of tabber elements (string)
lua.CALL(frame)(function)- <module>. <function> is called with the frame/args given to Template:X In other words, allows editors to pass arguments directly to a transcluded #invoke function without defining template parameters on source template article.
- Parameter:
frame(table) - Returns: Return type depends on called function
lua.dump(frame)(function)- Returns serialized table of a module's contents
- Parameter:
frameFrame object (table) - Returns: Serialized table (string)
- Created with Docbunto
See Also