Jump to content

Module:Sandbox/Luis150902/Test/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Renamed user awfwvowjvwrvnwio (talk | contribs) at 19:06, 15 February 2018 (Sandbox edit). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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.