Module:pollasena-roots: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 38: Line 38:
-- WIP
-- WIP
for i, item in ipairs(args[a]) do
for i, item in ipairs(args[a]) do
if item:find("<") and not item:find("^[^<]*<[a-z]*[^a-z:]") then
if item == " " or item == "-" then
table.insert(links, item)
elseif item:find("<") and not item:find("^[^<]*<[a-z]*[^a-z:]") then
local run = m_put.parse_balanced_segment_run(item, "<", ">")
local run = m_put.parse_balanced_segment_run(item, "<", ">")
Line 51: Line 53:
table.insert(links, link(term, alt))
table.insert(links, link(term, alt))
table.insert(categories, "Soc'ul' terms inherited from Wascotl *" .. (cat or term))
table.insert(categories, cat)
end
end
end
end