Module:siwa-headword: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 97: Line 97:
if args.cat2 then table.insert(data.categories, "Siwa " .. args["cat2"]) end
if args.cat2 then table.insert(data.categories, "Siwa " .. args["cat2"]) end
data.sort_key = args.pr and pre_sort(data.heads[1]) or nil
data.sort_key = args.pr and pre_sort(data.heads[1][1]) or nil
end
end


Line 128: Line 128:
table.insert(data.inflections, args[3])
table.insert(data.inflections, args[3])
data.sort_key = args.pr and pre_sort(data.heads[1]) or nil
data.sort_key = args.pr and pre_sort(data.heads[1][1]) or nil
end
end


return export
return export