Module:qualifier/templates
Documentation for this module may be created at Module:qualifier/templates/doc
local export = {}
function export.qualifier_t(frame)
local args = {}
for i, v in ipairs(frame:getParent().args) do
args[i] = v
end
-- local subvarieties = mw.loadData("Module:qualifier/subvarieties")
-- for i, label in ipairs(args) do
-- if subvarieties[label] then
-- require("Module:debug").track("qualifier/subvarieties")
-- --[[
-- currently not working:
-- local lang = subvarieties[label].languages[1]
-- require("Module:debug").track("qualifier/subvarieties/" .. lang)
-- ]]
-- end
-- end
return require("Module:qualifier").format_qualifier(args)
end
return export