Module:siwa-headword: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 139: Line 139:
local args = require("Module:parameters").process(args, params)
local args = require("Module:parameters").process(args, params)
data.heads = {args["head"]}
data.heads = {args["head"]}
local kinds = {}
--[[if match(args.head, "/") then
kinds =
else
table.insert(kinds, args[1])
end]]
for n, kind in ipairs(mw.text.split(args[1], "/")) do
for n, kind in ipairs(mw.text.split(args[1], "/")) do