Module:qhv-noun/data: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 64: Line 64:
setmetatable(alldata["1-a"], {__call = function(self, args, data)
setmetatable(alldata["1-a"], {__call = function(self, args, data)
local stem = args[1]
local stem = args[1]
local stemr = sub(stem, -1) == "m" and sub(stem, 1, -2) .. "b" or stem
local stemr = sub(stem, -1) == "m" and stem .. "b" or stem
data.decl_type = "aquatic first-declension"
data.decl_type = "aquatic first-declension"
table.insert(data.categories, "High Valyrian first-declension " .. (data.proper and "proper " or "") .. "nouns")
table.insert(data.categories, "High Valyrian first-declension " .. (data.proper and "proper " or "") .. "nouns")