Module:Inventory slot: Difference between revisions
No edit summary |
Should've got through cache by now |
||
| Line 138: | Line 138: | ||
end | end | ||
local html = { | local html = { | ||
'<span class="grid | '<span class="grid ' .. class .. '"' .. align .. '>', | ||
table.concat( cell, '' ), | table.concat( cell, '' ), | ||
'</span>' | '</span>' | ||
| Line 148: | Line 148: | ||
defaultClass = ' skip' | defaultClass = ' skip' | ||
end | end | ||
table.insert( html, 2, '<span class="default-item' .. defaultClass .. '">[[File:Grid ' .. args.default .. '.png| | table.insert( html, 2, '<span class="default-item' .. defaultClass .. '">[[File:Grid ' .. args.default .. '.png|32x32px|alt=|link=]]</span>' ) | ||
end | end | ||