Module:qhv-headword: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 169: Line 169:
table.insert(data.inflections, {label = "not " .. glossary_link("comparable")})
table.insert(data.inflections, {label = "not " .. glossary_link("comparable")})
if not isdet then table.insert(data.categories, "High Valyrian uncomparable adjectives") end
if not isdet then table.insert(data.categories, "High Valyrian uncomparable adjectives") end
elseif args["indecl"] then
table.insert(data.inflections, {label = glossary_link("indeclinable")})
table.insert(data.categories, "High Valyrian indeclinable " .. data.pos_category)
else
else
args[1] = require("Module:qhv-adj/head").fetch("eq")
args[1] = require("Module:qhv-adj/head").fetch("eq")
Line 174: Line 177:
args[3] = require("Module:qhv-adj/head").fetch("sup")
args[3] = require("Module:qhv-adj/head").fetch("sup")
if args["indecl"] then
table.insert(data.inflections, {label = glossary_link("indeclinable")})
table.insert(data.categories, "High Valyrian indeclinable " .. data.pos_category)
end
args[1].label = "[[wikt:Appendix:Glossary#equative|equative]]"
args[1].label = "[[wikt:Appendix:Glossary#equative|equative]]"
args[2].label = "[[wikt:Appendix:Glossary#comparative|comparative]]"
args[2].label = "[[wikt:Appendix:Glossary#comparative|comparative]]"