Module:xchc-noun: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 46: Line 46:
local word = NAMESPACE == "Template" and "өра̄" or parent_args["word"] or PAGENAME
local word = NAMESPACE == "Template" and "өра̄" or parent_args["word"] or PAGENAME
local unc = parent_args["unc"] or false
local unc = parent_args["unc"] or false
local args = {}
local args = {}
Line 52: Line 53:
data = {}
data = {}
data.word = word
data.word = word
data.nocat = parent_args["nocat"] or false
data.g = g
data.g = g
data.sg = ""
data.sg = ""
Line 152: Line 154:
after_title="[[:Category:Chiingimec " .. genders[data.g] .. " nouns|" .. genders[data.g] .. "]]",
after_title="[[:Category:Chiingimec " .. genders[data.g] .. " nouns|" .. genders[data.g] .. "]]",
all_cases=make_cases(data)
all_cases=make_cases(data)
}) .. "[[Category:Chiingimec " .. genders[data.g] .. " nouns|" .. genders[data.g] .. "]]"
}) .. (data.nocat and "[[Category:Chiingimec " .. genders[data.g] .. " nouns|" .. genders[data.g] .. "]]" or "")
end
end


return export
return export