Module:Sandbox/Luis150902/Test/doc explained

Usage

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.