Module:Inventory slot: Difference between revisions
No edit summary |
No edit summary |
||
Line 144: | Line 144: | ||
if ( args.default or '' ) ~= '' then | if ( args.default or '' ) ~= '' then | ||
table.insert( html, 2, '<span class="default- | local defaultClass = '' | ||
if animated then | |||
defaultClass = ' skip' | |||
end | |||
table.insert( html, 2, '<span class="default-item' .. defaultClass .. '">[[File:Grid ' .. args.default .. '.png|32px|alt=|link=]]</span>' ) | |||
end | end | ||