Module:anui-headword: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 28: Line 28:
function export.show(frame)
function export.show(frame)
local args = frame:getParent().args
local args = frame:getParent().args
local word = mw.title.getCurrentTitle().text or args["w"]
local word = args["w"] or mw.title.getCurrentTitle().text
local data = {lang = lang, pos_category = deabb[args[1]], head = word, categories = {}, inflections = {},}
local data = {lang = lang, pos_category = deabb[args[1]], head = word, categories = {}, inflections = {},}
local pos = args[1]; local f = args[2]
local pos = args[1]; local f = args[2]

Navigation menu