Module:SpriteFile: Difference between revisions
No edit summary |
mNo edit summary |
||
| Line 42: | Line 42: | ||
end | end | ||
local | local name = args.name | ||
if name == 'InvSprite' then | |||
name = 'Invicon' | |||
end | |||
local file = name .. ' ' .. id .. '.png' | |||
local altText = file .. ': Sprite image for ' .. id .. ' in Minecraft' | local altText = file .. ': Sprite image for ' .. id .. ' in Minecraft' | ||
if link ~= '' then | if link ~= '' then | ||