-- based on [[Module:category tree/topic cat/hierarchy]]
local export = {}
local function link(name)
local ucname = mw.language.new("en"):ucfirst(name)
return "[[:Cat:hu:" .. ucname .. "]] [[:Cat:en:" .. ucname .. "|(en)]]"
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,
["provinces"] = true,
["regions"] = true,
["counties"] = true,
}
return require("Module:hierarchy").show(data, name, link, exempt)
end
return export