Module:qhv-headword: Difference between revisions

No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 94: Line 94:
local data = {
local data = {
lang = lang,
lang = lang,
heads = head,
heads = {head},
inflections = {},
inflections = {},
genders = {},
genders = {},
Line 180: Line 180:
args[1].label = "[[wikt:Appendix:Glossary#equative|equative]]"
args[1].label = glossary_link("equative")
args[2].label = "[[wikt:Appendix:Glossary#comparative|comparative]]"
args[2].label = glossary_link("comparative")
args[3].label = "[[wikt:Appendix:Glossary#suoerlative|superlative]]"
args[3].label = glossary_link("superlative")
table.insert(data.inflections, args[1])
table.insert(data.inflections, args[1])
Line 206: Line 206:
table.insert(data.categories, "High Valyrian " .. data.pos_category)
table.insert(data.categories, "High Valyrian " .. data.pos_category)
args[1] = require("Module:qhv-adj/head").fetch("act_ind_pres_1sg")
args[1] = require("Module:qhv-verb/head").fetch("act_ind_prs_1sg")
args[2] = require("Module:qhv-adj/head").fetch("act_sub_pres_1sg")
args[2] = require("Module:qhv-verb/head").fetch("act_sub_prs_1sg")
args[3] = require("Module:qhv-adj/head").fetch("act_part_prf")
args[3] = require("Module:qhv-verb/head").fetch("act_part_prf")
args[1].label = "first-person singular present indicative"
args[1].label = "first-person singular present indicative"
args[2].label = "first-person singular present subjunctive"
args[2].label = "first-person singular present subjunctive"
args[3].label = "past participle"
args[3].label = "perfect participle"
table.insert(data.inflections, args[1])
table.insert(data.inflections, args[1])