4,599
edits
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
local orgiArgs = frame.args | local orgiArgs = frame.args | ||
local args = {} | local args = {} | ||
local categories = "{{hlist" | local categories = "[[{{hlist" | ||
for k, v in pairs(orgiArgs) do | for k, v in pairs(orgiArgs) do | ||
v = v:match('^%s*(.-)%s*$') | v = v:match('^%s*(.-)%s*$') | ||
Line 11: | Line 11: | ||
end | end | ||
end | end | ||
categories = categories.."}}" | categories = categories.."}}]]" | ||
for k, v in pairs(orgiArgs) do | for k, v in pairs(orgiArgs) do | ||
v = v:match('^%s*(.-)%s*$') | v = v:match('^%s*(.-)%s*$') | ||
if v ~= '' then | if v ~= '' then | ||
categories = categories.."[[Category:"..orgiArgs[k].." Deities]] | categories = categories.."[[Category:"..orgiArgs[k].." Deities]]" | ||
end | end | ||
end | end |