Module:pollasena-roots: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 21: Line 21:


local function link(term,alt)
local function link(term,alt)
altLink = alt or term
return "[[Contionary:" .. term .. "|" .. (alt or term) .. "]]"
return "[[Contionary:" .. term .. "|" .. altLink .. "]]"
end
end


Line 68: Line 67:
table.insert(links, link(obj.term, obj["alt"]))
table.insert(links, link(obj.term, obj["alt"]))
table.insert(categories, "Soc'ul' terms derived from Wascotl *" .. obj["cat"] or obj.term)
table.insert(categories, "Soc'ul' terms derived from Wascotl *" .. (obj["cat"] or obj.term))
else
else
parse_err("Unrecognized prefix '" .. prefix .. "' in modifier " .. run[j])
parse_err("Unrecognized prefix '" .. prefix .. "' in modifier " .. run[j])

Navigation menu