Module:Inventory slot: Difference between revisions

No edit summary
No edit summary
Line 196: Line 196:
item:addClass( 'invslot-item-image' )
item:addClass( 'invslot-item-image' )
:wikitext( '[[File:', img, '|32x32px|link=', link or '', '|alt=', altText, '|', escapedTitle, ']]' )
:wikitext( '[[File:', img, '|32x32px|link=', link or '', '|alt=', altText, '|', escapedTitle, ']]' )
item:addClass( 'invslot-item-image' )
item:addClass( 'invslot-item-image' )
:text( mod, " ", name )
:wikitext( mod, " ", name )
if num and num > 1 and num < 1000 then
if num and num > 1 and num < 1000 then
if link then
if link then