Module:qhv-headword: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 57: Line 57:
pos_functions.nouns = function(class, args, data)
pos_functions.nouns = function(class, args, data)
local params = {
local params = {
[1] = {list = "g", default = detect_gender(data.heads)},
[1] = {list = "g"},
[2] = {list = "gen"},
[2] = {list = "gen"},
[3] = {list = "pl"},
[3] = {list = "pl"},
Line 75: Line 75:
if g == "p" then
if g == "p" then
table.insert(data.categories, "German pluralia tantum")
table.insert(data.categories, "High Valyrian pluralia tantum")
else
table.insert(data.categories, "German " .. gender_names[g] .. " nouns")
end
end
else
else
if g == "m-s" or g == "f-s" or g == "n-s" or g == "m-p" or g == "f-p" or g == "n-p" then
require("Module:debug").track("de-headword/genders")
end
table.insert(data.genders, "?")
table.insert(data.genders, detect_gender(data.heads))
end
end
end
end

Navigation menu