Module:Tree

-- This module implements Template:Tree. -- To do: move the rest of the functionality of Template:Tree to this module.

local class_icon = require('Module:Class icon') local utils = require('Module:Utils')

local p = {}

-- This is only for the icon in trees. -- For other uses look at Module:Class icon. function p._class_icon(args) return class_icon.get_class_icon(args.class, false) end p.class_icon = utils.make_wrapper_function(p._class_icon)

return p