45,647
edits
No edit summary |
No edit summary |
||
Line 158: | Line 158: | ||
["unc"] = {type = "boolean"}, | ["unc"] = {type = "boolean"}, | ||
["head"] = {}, | ["head"] = {}, | ||
["det"] = {type = "boolean"} | |||
} | } | ||
local args = require("Module:parameters").process(args, params) | local args = require("Module:parameters").process(args, params) | ||
data.heads = {args["head"]} | data.heads = {args["head"]} | ||
data.pos_category = args["det"] and "determiners" or data.pos_category | |||
table.insert(data.categories, "High Valyrian " .. data.pos_category) | table.insert(data.categories, "High Valyrian " .. data.pos_category) | ||
if args["unc"] then | if args["unc"] then | ||
table.insert(data.inflections, {label = "not " .. glossary_link("comparable")}) | table.insert(data.inflections, {label = "not " .. glossary_link("comparable")}) | ||
table.insert(data.categories, "High Valyrian uncomparable adjectives") | if not args["det"] 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") |