Module:qhv-adj: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 36: Line 36:
local decl = {}
local decl = {}
local word = frame.args[1] == "det" and "tolvie" or NAMESPACE == "Template" and "rōva" or parent_args.word or PAGENAME
local word = NAMESPACE == "Template" and "rōva" or parent_args.word or PAGENAME
local args = {}
local args = {}


Line 67: Line 67:
data.head = parent_args["head"] or nil
data.head = parent_args["head"] or nil
data.no_cat = parent_args["nocat"] or frame.args[1] == "det" and true or nil
data.no_cat = parent_args["nocat"] or parent_args["det"] or nil
-- Generate the forms
-- Generate the forms