Module:Room features: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 44:
end
end
for cat,vresults in pairs(results_by_type) do
if #vresults > 0 then
ret = ret .. '===' .. cat .. '===\n'
local gallery = '<gallery>\n'
for i,v in ipairs(query or {}results) do
gallery = gallery .. (v.Image or 'File:Section anchor light.svg') .. '|' .. '[[' .. v[1] .. '|' .. v.Name .. ']]\n'
end