![]() | We're back! Sorry, bad combo of sickness, funeral and a month-long trip abroad. The site is back now. ![]() |
View source for Module:utilities/templates
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
local insert = table.insert
local export = {}
-- Used by {{categorize}}
function export.template_categorize(frame)
local args = frame:getParent().args
local format = frame.args["format"]
args = require("Module:parameters").process(args, {
[1] = {required = true, type = "language", default = "und"},
[2] = {required = true, list = true, allow_holes = true},
["sort"] = {list = true, separate_no_index = true, allow_holes = true},
})
local lang = args[1]
if not lang then
return ""
end
local raw_cats = args[2]
000
1:0
Template used on this page:
Return to Module:utilities/templates.