Module:qhv-headword: Difference between revisions

No edit summary
No edit summary
 
(2 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 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-verb/head").fetch("act_ind_pres_1sg")
args[1] = require("Module:qhv-verb/head").fetch("act_ind_prs_1sg")
args[2] = require("Module:qhv-verb/head").fetch("act_sub_pres_1sg")
args[2] = require("Module:qhv-verb/head").fetch("act_sub_prs_1sg")
args[3] = require("Module:qhv-verb/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])