Module:pollasena-roots: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 52: Line 52:
local prefix, arg = modtext:match("^([a-z]+):(.*)$")
local prefix, arg = modtext:match("^([a-z]+):(.*)$")
alt = prefix == "a" and table.insert(links, link(term, alt)) or nil
alt = prefix == "a" and table.insert(links, link(term, arg)) or nil
cat = prefix == "c" and table.insert(categories, "Soc'ul' terms from Wascotl *" .. (cat or term)) or nil
cat = prefix == "c" and table.insert(categories, "Soc'ul' terms from Wascotl *" .. arg) or nil
end
end
else
else

Navigation menu