12,275
edits
TheNightAvl (talk | contribs) No edit summary |
TheNightAvl (talk | contribs) No edit summary |
||
Line 21: | Line 21: | ||
local see_desc = args["see"] | local see_desc = args["see"] | ||
local noname = args["noname"] | local noname = args["noname"] | ||
local nocat = args["nocat"] | |||
local lostcap = args["lost"] or "lost" | local lostcap = args["lost"] or "lost" | ||
if not nocat then out = out .. "[[Category:Terms with " .. lang.name .. " descendants]]" end | |||
if borrowed then out = "<span class=\"desc-arrow\" title=\"borrowed\">→</span>" .. out end | if borrowed then out = "<span class=\"desc-arrow\" title=\"borrowed\">→</span>" .. out end | ||
if not noname then out = out .. lang.name .. ": " end | if not noname then out = out .. lang.name .. ": " end | ||
Line 195: | Line 197: | ||
for lang, lang_args in pairs(terms) do | for lang, lang_args in pairs(terms) do | ||
table.insert(lang_args, 1, lang) | table.insert(lang_args, 1, lang) | ||
lang_args["nocat"] = args["nocat"] | |||
items[lang] = export.descendant(lang_args) | items[lang] = export.descendant(lang_args) | ||
end | end |