45,646
edits
No edit summary |
No edit summary |
||
Line 36: | Line 36: | ||
[1] = {}, | [1] = {}, | ||
["pl"] = {list = true}, | ["pl"] = {list = true}, | ||
["w"] = {default = | ["w"] = {default = mw.title.getCurrentTitle().text}, | ||
} | } | ||
local args = require("Module:parameters").process(frame:getParent().args, params) | local args = require("Module:parameters").process(frame:getParent().args, params) | ||
local word = args["w"] | local word = args["w"] | ||
local pos = args[1]; local pl = args["pl"] | local pos = args[1]; local pl = args["pl"] | ||
local data = {lang = lang, pos_category = deabb[pos], heads = {word}, categories = {}, inflections = {},} | local data = {lang = lang, pos_category = deabb[pos], heads = {word}, categories = {}, inflections = {},} |