Module:qhv-noun/data: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 372: Line 372:
}
}
setmetatable(alldata["3-s-v"], {__call = function(self, args, data)
setmetatable(alldata["3-s-v"], {__call = function(self, args, data)
local stem = args[1]
local stem = mw.title.getCurrentTitle().text == "Lȳs" and "l" .. args[1] or args[1]
data.decl_type = "v-stem solar third-declension"
data.decl_type = "v-stem solar third-declension"
table.insert(data.categories, "High Valyrian third-declension nouns")
table.insert(data.categories, "High Valyrian third-declension nouns")
table.insert(data.categories, "High Valyrian v-stem nouns")
table.insert(data.categories, "High Valyrian v-stem nouns")


data.forms["nom_sg"] = {stem}
data.forms["nom_sg"] = {stem .. "ȳs"}
data.forms["acc_sg"] = data.forms["nom_sg"]
data.forms["acc_sg"] = data.forms["nom_sg"]
data.forms["gen_sg"] = {stem .. "yvo"}
data.forms["gen_sg"] = {stem .. "yvo"}