Module:headword/templates: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 141: Line 141:
if form.sc then
if form.sc then
form.sc = require("Module:scripts").getByCode(form.sc) or error("The script code \"" .. form.sc .. "\" is not valid.")
form.sc = require("Module:scripts").getByCode(form.sc) or error("The script code \"" .. form.sc .. "\" is not valid.")
end
if form.term == "?" or form.term == "-" then
table.insert(data.categories, "Contionary stubs")
end
end