local getArgs = require('Module:Arguments').getArgs
local p = {}
function p.main(frame)
local args = getArgs(frame)
local out = {}
for i, v in ipairs(args) do
if i == 1 then
if args.name then
table.insert(out, '<div class="category-column"><span style="background:rgb(255,166,198); border-bottom:#ee4f87 solid 2px; color:white; padding:0px 7px 0px 7px;"><b>' .. args.name .. '</b></span></div>')
end
table.insert(out, '<div class="separate-a-element">' .. v .. '</div>')
else
if v then
table.insert(out, frame:expandTemplate{ title = 'Kizuna_AI株式会社/separate_dot' } .. '<div class="separate-a-element">' .. v .. '</div>')
end
end
end
if args.hr then
table.insert(out, '<hr class="hr1" />')
end
return table.concat(out)
end
return p