Module:siwa-noun/data: Difference between revisions

From Linguifex
Jump to navigation Jump to search
(Replaced content with "local data = {} local sub = mw.ustring.sub data["a"] = { params = { [1] = {}, }, } setmetatable(data["a"], {__call = function(self, args, data) local stem = args[1]...")
Tag: Replaced
No edit summary
Line 13: Line 13:
table.insert(data.categories, "Siwa a-declension nouns")
table.insert(data.categories, "Siwa a-declension nouns")
data.forms["unm"] = {stem}
data.forms["u"] = {stem}
end
end
})
})

Revision as of 18:53, 19 July 2021



local data = {}

local sub = mw.ustring.sub

data["a"] = {
	params = {
		[1] = {},
	},
}
setmetatable(data["a"], {__call = function(self, args, data)
	local stem = args[1]
	table.insert(data.categories, "Siwa inanimate nouns")
	table.insert(data.categories, "Siwa a-declension nouns")
	
	data.forms["u"] = {stem}
end
})





return data