Module:Mainonly/doc
Jump to navigation
Jump to search
This is the documentation page for Module:Mainonly
Module:Mainonly is required by Module:Navbox.
Module:Mainonly is required by Module:References.
Function list |
---|
L 7 — p.main L 12 — p._main L 24 — p.on_main |
This module is a helper module to be used by other modules; it may not designed to be invoked directly. See Tesseract:Lua/Helper modules for a full list and more information.
Function | Type | Use | Example |
---|---|---|---|
_main( arg ) | Any value | If the module is invoked in the content namespace, it will return arg , otherwise, it will return an empty string. | |
on_main() | N/A | Returns true if invoked in the content namespace, otherwise false |