Module:Sandbox/Luis150902/Test/doc
| icon | This is a documentation subpage for Module:Sandbox/Luis150902/Test. It may contain usage information, categories and other content that is not part of the original module page. |
| File:Ambox warning blue construction.svg | This module is rated as pre-alpha. It is incomplete and may or may not be in active development. Do not use it in article namespace pages. A module remains in pre-alpha until its developer, or another editor who adopts it if it is abandoned for some time, considers the basic structure complete. |
Usage
[edit source]This Lua module is a metamodule: it is not designed to be invoked directly from wikitext: it is to be imported by other Lua modules.
First, import the module as follows:
local treeView = require('Module:Sandbox/Luis150902/Test')
Second, invoke the treeView function of the module with the object to render and (optionally) an option table as the second argument. Wikitext of the table will be returned.