Documentation for this module may be created at Module:StorageGrids/doc
local p = {}
function p.main(frame)
local result = '<div style="display: flex; flex-flow: row wrap; gap: 2px;">'
local grid_args = frame.args.storage_grids .. ','
for grid_size in grid_args:gmatch("([%w_]+),") do
result = string.format(
'%s<span style="border: 2px solid #eaecc3; padding: 2px 8px 2px 8px; font-size: 18px; color: #eaecc3;">%s</span>',
result, grid_size)
end
result = result .. '</div>'
return result
end
return p