Mô đun:category tree/topic/hierarchy
Giao diện
- Trang mô đun này thiếu trang con tài liệu. Xin hãy tạo trang tài liệu này.
- Liên kết hữu ích: trang gốc • trang con của trang gốc • liên kết • nhúng • trường hợp kiểm thử • chỗ thử
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