Module:Sprite: Difference between revisions

Should've got through cache by now
No edit summary
Line 102: Line 102:
end
end
local link = ( args[1] or '' ):match( '^(.-)%-' ) or args[1]
local link = args[1]
if not args.id then
link = args[1]:match( '^(.-)%-' ) or args[1]
end
local text = args[2] or link
local text = args[2] or link