Module:category tree/topic cat/hierarchy
Jump to navigation
Jump to search
- The following documentation is located at Module:category tree/topic cat/hierarchy/documentation. [edit]
- Useful links: root page • root page’s subpages • links • transclusions • testcases • sandbox
The tree is in Module:category tree/topic cat/hierarchy/documentation.
local export = {}
local function link(name)
return "[[:Category:" .. mw.language.new("en"):ucfirst(name) .. "|" .. name .. "]]"
end
function export.show(frame)
local data = require("Module:category tree/topic cat/data")["LABELS"]
local name = "parents"
local exempt = {
["list of sets"] = true,
["list of topics"] = true,
["political subdivisions"] = true,
["cities"] = true,
}
return require("Module:hierarchy").show(data, name, link, exempt)
end
return export