Module:names: Difference between revisions
No edit summary |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 60: | Line 60: | ||
female = {type = "human"}, | female = {type = "human"}, | ||
unisex = {type = "human", cat = {"male given names", "female given names", "unisex given names"}, article = "a"}, | unisex = {type = "human", cat = {"male given names", "female given names", "unisex given names"}, article = "a"}, | ||
["third-gender"] = {type = "human"}, | |||
["unknown-gender"] = {type = "human", cat = {}, track = true}, | ["unknown-gender"] = {type = "human", cat = {}, track = true}, | ||
animal = {type = "animal", track = true}, | animal = {type = "animal", track = true}, | ||
| Line 67: | Line 68: | ||
horse = {type = "animal"}, | horse = {type = "animal"}, | ||
pig = {type = "animal"}, | pig = {type = "animal"}, | ||
parrot = {type = "animal"} | |||
} | } | ||
| Line 486: | Line 488: | ||
else | else | ||
if spec.props.type == "animal" then | if spec.props.type == "animal" then | ||
text = "[[wikt:" .. spec.type .. "]]" | text = "[[wikt:" .. spec.type .. "|" .. spec.type .. "]]" | ||
else | else | ||
text = spec.type | text = spec.type | ||
| Line 920: | Line 922: | ||
ins(adj .. " ") | ins(adj .. " ") | ||
end | end | ||
ins("[[wikt:" .. iargs.type .. "]]") | ins("[[wikt:" .. iargs.type .. "|" .. iargs.type .. "]]") | ||
local need_comma = false | local need_comma = false | ||
if xlittext ~= "" then | if xlittext ~= "" then | ||