45,647
edits
No edit summary |
No edit summary |
||
Line 51: | Line 51: | ||
local prefix, arg = modtext:match("^([a-z]+):(.*)$") | local prefix, arg = modtext:match("^([a-z]+):(.*)$") | ||
if modtext:match("><") then | |||
if prefix == "a" then | |||
table.insert(links, link(term, arg)) | |||
elseif prefix == "c" then | |||
table.insert(categories, "Soc'ul' terms from Wascotl *" .. arg) | |||
end | |||
elseif prefix == "a" then | |||
table.insert(links, link(term, arg)) | |||
table.insert(categories, "Soc'ul' terms from Wascotl *" .. term) | |||
elseif prefix == "c" then | |||
table.insert(links, link(term)) | |||
table.insert(categories, "Soc'ul' terms from Wascotl *" .. arg) | |||
end | |||
end | end | ||
else | else | ||
Line 58: | Line 69: | ||
table.insert(categories, "Soc'ul' terms from Wascotl *" .. args[a][i]) | table.insert(categories, "Soc'ul' terms from Wascotl *" .. args[a][i]) | ||
end | end | ||
end | end | ||