Module:qhv-headword: Difference between revisions
No edit summary |
No edit summary |
||
| Line 53: | Line 53: | ||
local function generate_genitive(word, args, pass, decl_type) | local function generate_genitive(word, args, pass, decl_type) | ||
local pass = {forms = {}, categories = {}} | local pass = {forms = {}, categories = {}} | ||
pass.head = | pass.head = args["head"] or nil | ||
if not m_data[word] then | if not m_data[word] then | ||
local decl_args = require("Module:parameters").process(args, m_data[decl_type].params, true) | local decl_args = require("Module:parameters").process(args, m_data[decl_type].params, true) | ||