Module:anui-headword: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 56: Line 56:
local args = frame:getParent().args
local args = frame:getParent().args
local word = args["w"] or mw.title.getCurrentTitle().text
local word = args["w"] or mw.title.getCurrentTitle().text
local data = {lang = lang, pos_category = deabb[args[1]], heads = {word}, categories = {}, inflections = {},}
local pos = args[1]; local f = args[2]
local pos = args[1]; local f = args[2]
local data = {lang = lang, pos_category = deabb[pos], heads = {word}, categories = {}, inflections = {},}
if f == '-' then
if f == '-' then