45,647
edits
No edit summary |
No edit summary |
||
Line 158: | Line 158: | ||
["unc"] = {type = "boolean"}, | ["unc"] = {type = "boolean"}, | ||
["head"] = {}, | ["head"] = {}, | ||
} | } | ||
local args = require("Module:parameters").process(args, params) | local args = require("Module:parameters").process(args, params) | ||
local isdet = data.pos_category == "determiners" | |||
data.heads = {args["head"]} | data.heads = {args["head"]} | ||
table.insert(data.categories, "High Valyrian " .. data.pos_category) | table.insert(data.categories, "High Valyrian " .. data.pos_category) | ||
if args["unc"] or | if args["unc"] or isdet then | ||
table.insert(data.inflections, {label = "not " .. glossary_link("comparable")}) | table.insert(data.inflections, {label = "not " .. glossary_link("comparable")}) | ||
if not | if not isdet then table.insert(data.categories, "High Valyrian uncomparable adjectives") end | ||
else | else | ||
args[1] = require("Module:qhv-adj/head").fetch("eq") | args[1] = require("Module:qhv-adj/head").fetch("eq") | ||
Line 185: | Line 184: | ||
pos_functions["proper nouns"] = pos_functions.nouns | pos_functions["proper nouns"] = pos_functions.nouns | ||
pos_functions["determiners"] = pos_functions.adjectives | |||
pos_functions.verbs = function(class, args, data) | pos_functions.verbs = function(class, args, data) |