Module:siwa-noun/data: Difference between revisions
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[" | data.forms["u"] = {stem} | ||
end | end | ||
}) | }) |
Revision as of 18:53, 19 July 2021
- The following documentation is located at Module:siwa-noun/data/doc.[edit]
- Useful links: root page • root page's subpages • links • transclusions • testcases • sandbox
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