Module:qhv-headword: Difference between revisions
No edit summary |
No edit summary |
||
| Line 149: | Line 149: | ||
pos_functions.adjectives = function(class, args, data) | pos_functions.adjectives = function(class, args, data) | ||
local params = { | local params = { | ||
[1] = {list = "comp"}, | [1] = {list = "eq"}, | ||
[ | [2] = {list = "comp"}, | ||
[3] = {list = "sup"}, | |||
["head"] = {}, | ["head"] = {}, | ||
} | } | ||
local args = require("Module:parameters").process(args, params) | local args = require("Module:parameters").process(args, params) | ||
data.heads = {args["head"]} | data.heads = {args["head"]} | ||
table.insert(data.categories, "High Valyrian " .. data.pos_category) | |||
args[1] = require("Module:qhv-adj/data").fetch("eq") | |||
args[2] = require("Module:qhv-adj/data").fetch("comp") | |||
args[3] = require("Module:qhv-adj/data").fetch("sup") | |||
args[1].label = "[wikt:Appendix:Glossary#equative|equative]" | |||
args[2].label = "[wikt:Appendix:Glossary#comparative|comparative]" | |||
args[3].label = "[wikt:Appendix:Glossary#suoerlative|superlative]" | |||
args[2].label = "[ | |||
end | end | ||