45,647
edits
No edit summary |
No edit summary |
||
Line 40: | Line 40: | ||
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"] or PAGENAME | ||
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 = {},} |