Jump to content

Module:ItemToImageMap: Difference between revisions

m
no edit summary
imported>Ttv pedro270707
mNo edit summary
imported>Ttv pedro270707
mNo edit summary
Line 43: Line 43:
if map[key] == nil then
if map[key] == nil then
return "<strong class=\"error\">Item not found: " .. args.key .."</span>"
return "<strong class=\"error\">Item not found: " .. args.key .."</strong>"
else
else
return "<span class=\"pixelated sprite\" style=\"width:" .. width .. "px; height:" .. height .. "px;\">[[" .. map[key] .. "|link=" .. link .. "]]</span>"
return "<span class=\"pixelated sprite\" style=\"width:" .. width .. "px; height:" .. height .. "px;\">[[" .. map[key] .. "|link=" .. link .. "]]</span>"